blob: 0f4c8cda22d77fe9c0274f332440f5d8308df2b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
-- This file holds various things that govern monster behaviour with respect to the player
add_hooks{
[HOOK_GAME_START] = function()
if ((get_race_name() == "Maia") and
(player_has_corruption(CORRUPT_BALROG_AURA) ~= TRUE) and
(player_has_corruption(CORRUPT_BALROG_WINGS) ~= TRUE) and
(player_has_corruption(CORRUPT_BALROG_STRENGTH) ~= TRUE) and
(player_has_corruption(CORRUPT_BALROG_FORM) ~= TRUE)) then
-- "Proper" Maiar aggravate evil beings
timer_aggravate_evil_enable()
end
end,
}
|