Gluttonous
Active Member
- Reaction score
- 1
It's a seemingly pathetically simple trigger. However, the very -moment- a unit with this Pillage ability attacks something, the game freezes, and I am positive that this simple, innocent looking trigger is somehow to blame. It'd be one thing if this somehow leaked, but freeze the game on the very first attack. . .?
As far as the actual ability ignoring the trigger, it's a 20 level Hero version of Pillage that does nothing.
Edit: And said ability was apparently the problem, not the trigger. If you want Pillage to do nothing, do NOT set the various amounts of pillage in the data fields to 0, as your unit will make the game freeze when they attack for whatever reason. Instead, just set the allowed targets of the ability to none.
Trigger:
- Pillage
- Events
- Unit - A unit Is attacked
- Conditions
- (Level of Pillage for (Attacking unit)) Not equal to 0
- ((Attacked unit) belongs to an enemy of (Owner of (Attacking unit))) Equal to True
- Actions
- Player - Add (10 + (2 x (Level of Pillage for (Attacking unit)))) to (Owner of (Attacking unit)) Current gold
As far as the actual ability ignoring the trigger, it's a 20 level Hero version of Pillage that does nothing.
Edit: And said ability was apparently the problem, not the trigger. If you want Pillage to do nothing, do NOT set the various amounts of pillage in the data fields to 0, as your unit will make the game freeze when they attack for whatever reason. Instead, just set the allowed targets of the ability to none.