Skip to content
Snippets Groups Projects
Commit 46516d26 authored by DarkGod's avatar DarkGod
Browse files

hunted debuff is not applied on argoniel & elendar in t he charred scar

parent 964ac4c9
No related branches found
No related tags found
No related merge requests found
......@@ -238,7 +238,7 @@ newTalent{
local rad = math.ceil(10 + self.level / 5)
for i = self.x - rad, self.x + rad do for j = self.y - rad, self.y + rad do if game.level.map:isBound(i, j) then
local actor = game.level.map(i, j, game.level.map.ACTOR)
if actor and self:reactionToward(actor) < 0 then
if actor and self:reactionToward(actor) < 0 and not actor:attr("hunted_difficulty_immune") then
actor:setEffect(actor.EFF_HUNTER_PLAYER, 6, {src=self})
end
end end end
......
......@@ -207,6 +207,7 @@ newEntity{
autolevel = "caster",
ai = "dumb_talented_simple", ai_state = { talent_in=1, ai_move="move_astar" },
hunted_difficulty_immune = 1,
on_acquire_target = function(self, who)
self:doEmote("Damn you, you only postpone your death! Fyrk!", 60)
game.player:hasQuest("charred-scar"):setStatus(engine.Quest.COMPLETED, "stopped")
......@@ -265,6 +266,7 @@ newEntity{
autolevel = "caster",
ai = "dumb_talented_simple", ai_state = { talent_in=1, ai_move="move_astar" },
hunted_difficulty_immune = 1,
}
newEntity{ base = "BASE_NPC_FAEROS", define_as = "FYRK",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment