Arsenal Arsenal
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Arsenal's Arsenal
Actions
Set ArsenalUltimate[1] = (Custom value of (Item carried by (Casting unit) in slot 1))
Set ArsenalUltimate[2] = (Custom value of (Item carried by (Casting unit) in slot 2))
Set ArsenalUltimate[3] = (Custom value of (Item carried by (Casting unit) in slot 3))
Set ArsenalUltimate[4] = (Custom value of (Item carried by (Casting unit) in slot 4))
Set ArsenalUltimate[5] = (Custom value of (Item carried by (Casting unit) in slot 5))
Set ArsenalUltimate[6] = (Custom value of (Item carried by (Casting unit) in slot 6))
Set ArsenalUltimateReal = ((Real(ArsenalUltimate[1])) + ((Real(ArsenalUltimate[2])) + ((Real(ArsenalUltimate[3])) + ((Real(ArsenalUltimate[4])) + ((Real(ArsenalUltimate[5])) + (Real(ArsenalUltimate[6])))))))
Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) - ArsenalUltimateReal)
If ((Level of Arsenal's Arsenal for (Casting unit)) Equal to 1) then do (Unit - Set life of (Casting unit) to ((Life of (Casting unit)) - ArsenalUltimateReal)) else do (If ((Level of Arsenal's Arsenal for (Casting unit)) Equal to 2) then do (Unit - Set life of (Casting unit) to ((Life of (Casting unit)) - (ArsenalUltimateReal x 0.75))) else do (If ((Level of Arsenal's Arsenal for (Casting unit)) Equal to 3) then do (Unit - Set life of (Casting unit) to ((Life of (Casting unit)) - (ArsenalUltimateReal x 0.50))) else do (If ((Level of Arsenal's Arsenal for (Casting unit)) Equal to 4) then do (Unit - Set life of (Casting unit) to ((Life of (Casting unit)) - (ArsenalUltimateReal x 0.25)))