guys i rly need help here, iam trying to create an item to increase spell damage by level of hero X hero intelligence /25 i tried to use Damage Engine but i cant detect hero casting an ability... because i want to increase spell damage for basic abilities only but not Ultimates , so i tried to use Set Ability Real Level Field But the problem here is i want to set the damage of the ability And hero level x intelligence /25 for example if ability damage is 100 at lvl 3 and the hero intelligence is 50 so its gonna be, 3level x 50intelligence /25=6 +100 dmg =106 dmg, i dont know how to trigger it to be like that without using arithmetic arithmetic making it 100+3x50/25= 206 not 106, also i idk how to set the dmg like default damage(100) when hero drop the item, do i need to use variables? if someone knows how to detect a ability being cast in Damage Engine this fix everything
-
Events
-
Unit - A unit Acquires an item
-
-
Conditions
-
(Item-type of (Item being manipulated)) Equal to Empty Vial
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Triggering unit)) Equal to Sea Witch
-
-
Then - Actions
-
Ability - Set Ability: (Unit: (Triggering unit)'s Ability with Ability Code: Frost Arrows)'s Real Level Field: Extra Damage ('Hca1') of Level: ((Level of Frost Arrows for (Triggering unit)) - 1) to ((Ability: (Unit: (Triggering unit)'s Ability with Ability Code: Frost Arrows)'s Real Level Field Extra Damage ('Hca1'), of Level: ((Level of Frost Arrows for (Triggering unit)) - 1)) + ((Real((Hero level of (Triggering unit)))) x ((Real((Intelligence of (Tri
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Triggering unit)) Equal to Sea Witch
-
-
Then - Actions
-
Ability - Set Ability: (Unit: (Triggering unit)'s Ability with Ability Code: Forked Lightning)'s Real Level Field: Damage per Target ('Ocl1') of Level: ((Level of Forked Lightning for (Triggering unit)) - 1) to ((Ability: (Unit: (Triggering unit)'s Ability with Ability Code: Forked Lightning)'s Real Level Field Damage per Target ('Ocl1'), of Level: ((Level of Forked Lightning for (Triggering unit)) - 1)) + ((Real((Hero level of (Triggering unit)))) x ((Real((Intelli
-
-
Else - Actions
-
-
-
Events
-
Game - DamageEvent becomes Equal to 1.00
-
-
Conditions
-
IsDamageSpell Equal to True
-
(DamageEventSource has an item of type Empty Vial) Equal to True
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of DamageEventSource) Equal to Archmage
-
-
Then - Actions
-
Unit - Cause DamageEventSource to damage DamageEventTarget, dealing ((Real((Level of Blizzard for DamageEventSource))) x ((Real((Intelligence of DamageEventSource (Include bonuses)))) / 35.00)) damage of attack type Spells and damage type Magic
-
-
Else - Actions
-
-
Last edited: