- Joined
- Apr 4, 2020
- Messages
- 31
Hello,
im working on a summon spell, where the units that are spawned have stats based on the hero that summons then.
im working on a summon spell, where the units that are spawned have stats based on the hero that summons then.
-
Unit Group - Pick every unit in CallToArms and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Real((Level of Captain Bonus for (Picked unit)))) Greater than or equal to 1.00
-
(CTA_Caster is alive) Equal to Wahr
-
-
Then - Actions
-
Unit - Set Base Damage of (Picked unit) to ((Base Damage of (Triggering unit) for weapon index 0) + (Integer(((Real((Strength of CTA_Caster (Include bonuses)))) x 0.50)))) for weapon index: 0
-
Unit - Set Max HP of (Triggering unit) to (Integer(((Life of (Triggering unit)) + ((Real((Intelligence of CTA_Caster (Include bonuses)))) x 2.00))))
-
Unit - Set Armor of (Triggering unit) to ((Real((Integer(((Real((Agility of CTA_Caster (Exclude bonuses)))) x 0.01))))) + 3.00)
-
-
Else - Actions
-
-
-