Skip to content
Snippets Groups Projects
Commit 32c3ce23 authored by dg's avatar dg
Browse files

Angolwen NPCs hate antimagic people

git-svn-id: http://svn.net-core.org/repos/t-engine4@6041 51575b47-30f0-44d4-a5cc-537603b46e54
parent aa007707
No related branches found
No related tags found
No related merge requests found
......@@ -1202,6 +1202,7 @@ function _M:reactionToward(target, no_reflection)
-- Neverending hatred
if self:attr("hates_arcane") and target:attr("has_arcane_knowledge") and not target:attr("forbid_arcane") then return -100 end
if self:attr("hates_antimagic") and target:attr("forbid_arcane") then return -100 end
-- If self or target is a summon bound to a master's will, use the master instead
if self.summoner then return self.summoner:reactionToward(target, no_reflection) end
......
......@@ -40,6 +40,7 @@ newEntity{ define_as = "SUPREME_ARCHMAGE_LINANIIL",
move_others=true,
combat_spellpower = 30,
anger_emote = "Remove @himher@!",
hates_antimagic = 1,
open_door = true,
......@@ -118,6 +119,7 @@ newEntity{ define_as = "TARELION",
move_others=true,
combat_spellpower = 30,
anger_emote = "Remove @himher@!",
hates_antimagic = 1,
open_door = true,
......@@ -161,6 +163,7 @@ newEntity{
display = "p", color=colors.WHITE,
faction = "angolwen",
anger_emote = "Catch @himher@!",
hates_antimagic = 1,
resolvers.racial(),
......
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