Name | Type | is_array | initial_value |
Abathur | unit | No | |
AbathurSpell | abilcode | Yes | |
AbathurWChargesReplenish_Timer | timer | No | |
Cho | unit | No | |
ChoERuneBombDuration_Timer | timer | No | |
ChoQDashRange_Timer | timer | No | |
ChoQDashRangeBooster | real | No | |
ChoSpell | abilcode | Yes | |
Gall | unit | No | |
GallOrderSpell | abilcode | Yes | |
GallSpell | abilcode | Yes | |
Host | unit | No | |
isChoDead | boolean | No | |
isSymbioteActive | boolean | No | |
SFXGallHand | effect | No | |
Symbiote | unit | No | |
Symbiote_Aba_Hat | effect | No | |
SymbioteSpell | abilcode | Yes | |
ToxicNestCharges | integer | No | 3 |
function Trig_D_Ogre_Rage_Copy_Actions takes nothing returns nothing
if udg_Cho == GetTriggerUnit() then
call BlzSetEventDamage( ( GetEventDamage() * 0.75 ) )
//call BlzSetEventDamage( ( GetEventDamage() * 0 ) )
call DisplayTextToForce( GetPlayersAll(), "Cho's takes -25% reduced dmg" )
endif
endfunction
//===========================================================================
function InitTrig_D_Ogre_Hide_25p_dmg_loss takes nothing returns nothing
set gg_trg_D_Ogre_Hide_25p_dmg_loss = CreateTrigger( )
call DisableTrigger(gg_trg_D_Ogre_Hide_25p_dmg_loss)
call TriggerRegisterAnyUnitEventBJ (gg_trg_D_Ogre_Hide_25p_dmg_loss,EVENT_PLAYER_UNIT_DAMAGING)
call TriggerAddAction( gg_trg_D_Ogre_Hide_25p_dmg_loss, function Trig_D_Ogre_Rage_Copy_Actions )
endfunction
function Trig_D_Ogre_Rage_25p_dmg_boost_Actions takes nothing returns nothing
if udg_Gall == GetEventDamageSource() then
call BlzSetEventDamage( ( GetEventDamage() * 1.25 ) )
// call BlzSetEventDamage( ( GetEventDamage() * 0.80 ) )
call DisplayTextToForce( GetPlayersAll(), "Gall's hits with +25% increased dmg" )
endif
endfunction
//===========================================================================
function InitTrig_D_Ogre_Rage_25p_dmg_boost takes nothing returns nothing
set gg_trg_D_Ogre_Rage_25p_dmg_boost = CreateTrigger( )
call DisableTrigger(gg_trg_D_Ogre_Rage_25p_dmg_boost)
call TriggerRegisterAnyUnitEventBJ (gg_trg_D_Ogre_Rage_25p_dmg_boost,EVENT_PLAYER_UNIT_DAMAGING)
call TriggerAddAction( gg_trg_D_Ogre_Rage_25p_dmg_boost, function Trig_D_Ogre_Rage_25p_dmg_boost_Actions )
endfunction