I made this trigger using Bribe's Damage Engine. The first time Holy Light (based on Finger of Death) heals 200 (base from spell) + 12 from 0,75 intelligence ratio. The second time I cast it and onwards it only heals 200 (and skips the intelligence ratio). What am I doing wrong?
Damage Engine trigger:
Damage Engine trigger:
-
Holy Light Damage and Heal
-
Events
-
Game - PreDamageEvent becomes Greater than -1.00
-
-
Conditions
-
Actions
-
Custom script: //! runtextmacro DAMAGE_TRIGGER_CONFIG()
-
Set VariableSet DamageFilterSourceA = Holy Light
-
Set VariableSet StatUnit = DamageEventSource
-
Trigger - Run Stat Calculator <gen> (checking conditions)
-
Set VariableSet DamageEventAmount = (DamageEventAmount + (0.75 x (Real(StatINT))))
-
Custom script: //! runtextmacro DAMAGE_TRIGGER_CONFIG_END()
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Owner of DamageEventTarget) is an ally of (Owner of DamageEventSource).) Equal to True
-
-
Then - Actions
-
Set VariableSet DamageEventAmount = (0.00 - DamageEventAmount)
-
Set VariableSet DamageEventOverride = True
-
-
Else - Actions
-
-
-
-
Stat Calculator
-
Events
-
Conditions
-
Actions
-
Set VariableSet StatHP = (Life of StatUnit)
-
Set VariableSet StatHPMax = (Max life of StatUnit)
-
Set VariableSet StatMP = (Mana of StatUnit)
-
Set VariableSet StatMPMax = (Max mana of StatUnit)
-
Set VariableSet StatAR = (Armor of StatUnit)
-
Set VariableSet StatAD = (Base Damage of StatUnit for weapon index 0)
-
Set VariableSet StatCritChance = StatCritChanceArray[(Player number of (Owner of StatUnit))]
-
Set VariableSet StatCritMultiplier = StatCritMultiplierArray[(Player number of (Owner of StatUnit))]
-
Set VariableSet StatThornsChance = StatThornsChanceArray[(Player number of (Owner of StatUnit))]
-
Set VariableSet StatThornsValue = StatThornsValueArray[(Player number of (Owner of StatUnit))]
-
Set VariableSet StatRecastChance = StatRecastChanceArray[(Player number of (Owner of StatUnit))]
-
Set VariableSet StatAGI = (Agility of Hero_Array[(Player number of (Owner of StatUnit))] (Include bonuses))
-
Set VariableSet StatSTR = (Strength of Hero_Array[(Player number of (Owner of StatUnit))] (Include bonuses))
-
Set VariableSet StatINT = (Intelligence of Hero_Array[(Player number of (Owner of StatUnit))] (Include bonuses))
-
Set VariableSet StatLevelHero = (Hero level of Hero_Array[(Player number of (Owner of StatUnit))])
-
Set VariableSet StatLevelUnit = (Level of StatUnit)
-
-