Sirroelivan
Gunnerkrigg Court
- Reaction score
- 95
Is there any condition that can detect the target of the item from the event "specific unit uses an item"?
Condition
(Ability being cast) Equal to Item
(Unit-type of (Target unit of ability being cast)) Equal to Footman]
Creature Card Played
Events
Unit - Deck Master 0001 <gen> Uses an item
Unit - Deck Master 0002 <gen> Uses an item
Conditions
Or - Any (Conditions) are true
Conditions
(Item-type of (Item being manipulated)) Equal to Chillspawn Dragon
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Targeted unit)) Equal to Defender
Then - Actions
Set Point = (Random point in Reg_Defender[(Player number of (Owner of (Hero manipulating item)))])
Unit - Create 1 Unt_Type_Creature[(Integer((Current life of (Item being manipulated))))] for (Owner of (Hero manipulating item)) at Point facing Default building facing degrees
Custom script: call RemoveLocation(udg_Point)
Else - Actions
Do nothing