- Joined
- May 2, 2011
- Messages
- 1,351
Hello guys
i just had an idea,
say I want some unit to do bonus damage to undead. ofcourse i can use damage detect. but also, i wonder, can I make a trigger of this sort?
Event
Unit is attack
Condintion
attacker is paladin (unit type check)
Actions
If attacked unit is undead && paladin is not in bonus to undead group
then add paladin to Bonus to undead group
give him abilty bonus damage
If attacked is not undead && paladin is in the group
then, remove paladin from the group
remove the ability from him
well maybe not exactly as this, but this sort of thing. does it work? again, ofcourse i can use damage system, but the damage system adds pure damage i think, unliss ofcourse we will detect armor first. so maybe in another case where i want physical and not pure damage added maybe i can use this? (say vengeful paladin hate orc, its physical not pure)
i just had an idea,
say I want some unit to do bonus damage to undead. ofcourse i can use damage detect. but also, i wonder, can I make a trigger of this sort?
Event
Unit is attack
Condintion
attacker is paladin (unit type check)
Actions
If attacked unit is undead && paladin is not in bonus to undead group
then add paladin to Bonus to undead group
give him abilty bonus damage
If attacked is not undead && paladin is in the group
then, remove paladin from the group
remove the ability from him
well maybe not exactly as this, but this sort of thing. does it work? again, ofcourse i can use damage system, but the damage system adds pure damage i think, unliss ofcourse we will detect armor first. so maybe in another case where i want physical and not pure damage added maybe i can use this? (say vengeful paladin hate orc, its physical not pure)