Knocksious
Sweet, I got 2 little green bars!
- Reaction score
- 46
Code:
ThunderCaller
Events
Unit - A unit Is attacked
Conditions
((Attacking unit) has an item of type ThunderCaller) Equal to True
Actions
Custom script: local location AttackPos
Set AttackItem = (Item carried by (Attacked unit) of type ThunderCaller)
Set AttackPos = (Position of (Attacked unit))
Item - Set charges remaining in AttackItem to ((Charges remaining in AttackItem) + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Charges remaining in AttackItem) Greater than or equal to 10
Then - Actions
Unit - Create 1 Dummy Caster for (Owner of (Attacked unit)) at AttackPos facing Default building facing degrees
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning (Attacked unit)
Item - Set charges remaining in AttackItem to 0
Else - Actions
Do nothing
the charges don't stack so it seems like it doesn't even fire at all
any ideas?