Name | Type | is_array | initial_value |
BlinkOB | unit | No | |
BlinkST | unit | No | |
ColdWeather | unit | Yes | |
Combine_Charged_Items | boolean | No | |
Combine_Charges_Max | integer | No | |
CrazyVompEffect | effect | No | |
Creep_Positions | location | Yes | |
Creep_Types | unitcode | Yes | |
DeathMatch | integer | Yes | |
DiabolicEdictPoint | location | No | |
EasyMode_On | boolean | No | |
EFang | unit | Yes | |
ElapsedTime15Sec | boolean | No | |
End_Game_If_All_Gone | boolean | No | |
Facing_Var_Succubus | real | No | |
Game_Minutes | integer | No | |
Game_Seconds | integer | No | |
Game_Time | timer | No | |
Hero_Revive_Time_Factor | real | No | |
HeroFlags | boolean | Yes | |
Hostile_Revive_Time | real | No | |
KillinPlayer | integer | No | |
Killsinarow | integer | Yes | |
LastHeroStanding | force | No | |
LeaderboardScourge | leaderboard | No | |
LeaderboardSentinel | leaderboard | No | |
LoopCreep | integer | No | |
MagicIce | integer | No | |
ManaBurnMolnia | lightning | No | |
ManaBurnTarget1 | unit | No | |
ManaBurnTarget2 | unit | No | |
Multiboard_Clock | integer | No | |
Multiboard_ShowDeaths | boolean | No | |
Multiboard_Spots | integer | Yes | |
Oblosti_ottalkivaniya | rect | Yes | RectNull |
PerstDeada | effect | No | |
PerstDeadaBOLT | lightning | No | |
PerstDeadaTARGET | effect | No | |
player10timer | timer | No | |
player10timerw | timerdialog | No | |
player1timer | timer | No | |
player1timerw | timerdialog | No | |
player2timer | timer | No | |
player2timerw | timerdialog | No | |
player3timer | timer | No | |
player3timerw | timerdialog | No | |
player4timer | timer | No | |
player4timerw | timerdialog | No | |
player5timer | timer | No | |
player5timerw | timerdialog | No | |
player6timer | timer | No | |
player6timerw | timerdialog | No | |
player7timer | timer | No | |
player7timerw | timerdialog | No | |
player8timer | timer | No | |
player8timerw | timerdialog | No | |
player9timer | timer | No | |
player9timerw | timerdialog | No | |
Player_Colors | string | Yes | |
PlayerBablo | force | No | |
PlayerColors | string | Yes | |
playercountscourge | integer | No | 5 |
playercountsentinel | integer | No | 5 |
PlayerNames | string | Yes | |
Players | force | No | |
PlayersCount | integer | No | |
PlayersScourge | force | No | |
PlayersScourgeCount | integer | No | |
PlayersScourgePlaying | force | No | |
PlayersScourgeReverse | force | No | |
PlayersSentinel | force | No | |
PlayersSentinelCount | integer | No | |
PlayersSentinelPlaying | force | No | |
PlayersSentinelReverse | force | No | |
ProVolPoint | location | No | |
ProVolTARGET | rect | No | |
quickkill | integer | Yes | |
QuickKillTimer | timer | Yes | |
Random | integer | No | 1 |
RandomNumberCreep | integer | No | |
RevivableHeroes | group | No | |
RevivableTimersWindows | timerdialog | Yes | |
ReviveTimers | timer | Yes | |
RiverItems | itemcode | Yes | |
RiverItemsCount | integer | No | |
RiverItemsRegions | location | Yes | |
RiverItemsRegionsCount | integer | No | |
RiverItemsTaken | boolean | Yes | |
SandStrike | unit | No | |
SandStrikeGroup | group | No | |
Score_Deaths | integer | Yes | |
Score_Kills | integer | Yes | |
slash | unit | No | |
slash_Succubus | unit | No | |
Sort_Board_By_Kills | boolean | No | |
SpellWallPoint | location | No | |
Succubus | unit | No | |
TeamOwnage | integer | Yes | |
Temp_Location_Succubus | location | Yes | |
TempInteger | integer | No | |
TempReal | real | No | |
Toss_angel | real | Yes | |
Toss_Dist | real | No | |
Toss_group | group | No | |
Toss_targer | unit | Yes | |
Toss_tochka | location | Yes | |
UnitGroup | group | No | |
Virtual_host | integer | No | |
Voo_Stun | unit | No | |
Zakantrolil | texttag | No |
function Trig_Tree_Recreation_Func002002 takes nothing returns nothing
call DestructableRestoreLife( GetEnumDestructable(), GetDestructableMaxLife(GetEnumDestructable()), false )
endfunction
function Trig_Tree_Recreation_Actions takes nothing returns nothing
call TriggerSleepAction( 30.00 )
call EnumDestructablesInRectAll( GetEntireMapRect(), function Trig_Tree_Recreation_Func002002 )
endfunction
function InitTrig_Tree_Recreation takes nothing returns nothing
set gg_trg_Tree_Recreation = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Tree_Recreation, 300.00 )
call TriggerAddAction( gg_trg_Tree_Recreation, function Trig_Tree_Recreation_Actions )
endfunction
function Trig_Combine_Items_Conditions takes nothing returns boolean
if ( not ( GetItemCharges(GetManipulatedItem()) > 0 ) ) then
return false
endif
if ( not ( udg_Combine_Charged_Items == true ) ) then
return false
endif
return true
endfunction
function Trig_Combine_Items_Actions takes nothing returns nothing
local integer ITEMCOUNT
local integer ITEMLOOP
local integer CHARGES
local integer MAXIMUM
local item NEWITEM
local unit OURUNIT
set MAXIMUM = udg_Combine_Charges_Max
set ITEMCOUNT = 0
set ITEMLOOP = 0
set CHARGES = 0
set NEWITEM = GetManipulatedItem()
set OURUNIT = GetManipulatingUnit()
loop
exitwhen ITEMLOOP > 6
if ((GetItemTypeId(NEWITEM)) == (GetItemTypeId(UnitItemInSlotBJ(OURUNIT, ITEMLOOP)))) then
if ((GetItemCharges(UnitItemInSlotBJ(OURUNIT, ITEMLOOP)) + GetItemCharges(NEWITEM)) <= MAXIMUM) then
if not ( (UnitItemInSlotBJ(OURUNIT, ITEMLOOP)) == (NEWITEM)) then
set CHARGES = (GetItemCharges(UnitItemInSlotBJ(OURUNIT, ITEMLOOP))) + GetItemCharges(NEWITEM)
call SetItemCharges( UnitItemInSlotBJ(OURUNIT, ITEMLOOP), CHARGES )
call RemoveItem( NEWITEM )
set ITEMLOOP=7
endif
endif
endif
if ( ITEMLOOP < 7 ) then
set ITEMLOOP = ITEMLOOP + 1
endif
endloop
endfunction
//===========================================================================
function InitTrig_Combinacii_Predmetov takes nothing returns nothing
set gg_trg_Combinacii_Predmetov = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Combinacii_Predmetov, EVENT_PLAYER_UNIT_PICKUP_ITEM )
call TriggerAddCondition( gg_trg_Combinacii_Predmetov, Condition( function Trig_Combine_Items_Conditions ) )
call TriggerAddAction( gg_trg_Combinacii_Predmetov, function Trig_Combine_Items_Actions )
endfunction
function Trig_Revive_Creeps_Actions takes nothing returns nothing
local integer CUSTOM
set CUSTOM = GetUnitUserData(GetDyingUnit())
call TriggerSleepAction( udg_Hostile_Revive_Time )
call CreateNUnitsAtLoc( 1, udg_Creep_Types[CUSTOM], Player(PLAYER_NEUTRAL_AGGRESSIVE), udg_Creep_Positions[CUSTOM], bj_UNIT_FACING )
call SetUnitUserData( GetLastCreatedUnit(), CUSTOM )
endfunction
//===========================================================================
function InitTrig_Revive_Creeps takes nothing returns nothing
set gg_trg_Revive_Creeps = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Revive_Creeps, Player(PLAYER_NEUTRAL_AGGRESSIVE), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddAction( gg_trg_Revive_Creeps, function Trig_Revive_Creeps_Actions )
endfunction
function Trig_ColdWeather_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A04A' ) ) then
return false
endif
return true
endfunction
function Trig_ColdWeather_Actions takes nothing returns nothing
set udg_ColdWeather[1] = GetSpellAbilityUnit()
call CreateNUnitsAtLoc( 1, 'e015', GetTriggerPlayer(), GetUnitLoc(udg_ColdWeather[1]), bj_UNIT_FACING )
set udg_ColdWeather[2] = GetLastCreatedUnit()
call UnitAddAbilityBJ( 'A0FY', udg_ColdWeather[2] )
call EnableTrigger( gg_trg_BuranEffect )
endfunction
//===========================================================================
function InitTrig_Buran takes nothing returns nothing
set gg_trg_Buran = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Buran, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( gg_trg_Buran, Condition( function Trig_ColdWeather_Conditions ) )
call TriggerAddAction( gg_trg_Buran, function Trig_ColdWeather_Actions )
endfunction
function Trig_ColdWeatherStop_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A04A' ) ) then
return false
endif
return true
endfunction
function Trig_ColdWeatherStop_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ( GetUnitLoc(udg_ColdWeather[1]), "StarExplosion.mdx" )
call RemoveUnit( udg_ColdWeather[2] )
call DisableTrigger( gg_trg_BuranEffect )
endfunction
//===========================================================================
function InitTrig_BuranStop takes nothing returns nothing
set gg_trg_BuranStop = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_BuranStop, EVENT_PLAYER_UNIT_SPELL_ENDCAST )
call TriggerRegisterAnyUnitEventBJ( gg_trg_BuranStop, EVENT_PLAYER_UNIT_SPELL_FINISH )
call TriggerAddCondition( gg_trg_BuranStop, Condition( function Trig_ColdWeatherStop_Conditions ) )
call TriggerAddAction( gg_trg_BuranStop, function Trig_ColdWeatherStop_Actions )
endfunction
function Trig_ColdWeatherEffect_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_ColdWeather[1]), GetRandomReal(100.00, 800.00), GetRandomDirectionDeg()), "Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl" )
call DestroyEffectBJ( GetLastCreatedEffectBJ() )
endfunction
//===========================================================================
function InitTrig_BuranEffect takes nothing returns nothing
set gg_trg_BuranEffect = CreateTrigger( )
call DisableTrigger( gg_trg_BuranEffect )
call TriggerRegisterTimerEventPeriodic( gg_trg_BuranEffect, 0.15 )
call TriggerAddAction( gg_trg_BuranEffect, function Trig_ColdWeatherEffect_Actions )
endfunction
function Trig_SandStrike_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A03V' ) ) then
return false
endif
return true
endfunction
function Trig_SandStrike_Func002002003001001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_SandStrike_Func002002003001002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_SandStrike_Func002002003001 takes nothing returns boolean
return GetBooleanAnd( Trig_SandStrike_Func002002003001001(), Trig_SandStrike_Func002002003001002() )
endfunction
function Trig_SandStrike_Func002002003002 takes nothing returns boolean
return ( IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(udg_SandStrike)) == true )
endfunction
function Trig_SandStrike_Func002002003 takes nothing returns boolean
return GetBooleanAnd( Trig_SandStrike_Func002002003001(), Trig_SandStrike_Func002002003002() )
endfunction
function Trig_SandStrike_Actions takes nothing returns nothing
set udg_SandStrike = GetSpellAbilityUnit()
set udg_SandStrikeGroup = GetUnitsInRangeOfLocMatching(350.00, GetUnitLoc(udg_SandStrike), Condition(function Trig_SandStrike_Func002002003))
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_SandStrike), 200.00, 0), "Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_SandStrike), 200.00, 45.00), "Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_SandStrike), 200.00, 90.00), "Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_SandStrike), 200.00, 135.00), "Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_SandStrike), 200.00, 180.00), "Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_SandStrike), 200.00, 225.00), "Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_SandStrike), 200.00, 270.00), "Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_SandStrike), 125.00, 0), "Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_SandStrike), 125.00, 45.00), "Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_SandStrike), 125.00, 90.00), "Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_SandStrike), 125.00, 135.00), "Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_SandStrike), 125.00, 180.00), "Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_SandStrike), 125.00, 225.00), "Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_SandStrike), 125.00, 270.00), "Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl" )
call EnableTrigger( gg_trg_SandStrikeMOVE )
call TriggerSleepAction( 1.00 )
call DisableTrigger( gg_trg_SandStrikeMOVE )
endfunction
//===========================================================================
function InitTrig_SandStrike takes nothing returns nothing
set gg_trg_SandStrike = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_SandStrike, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( gg_trg_SandStrike, Condition( function Trig_SandStrike_Conditions ) )
call TriggerAddAction( gg_trg_SandStrike, function Trig_SandStrike_Actions )
endfunction
function Trig_SandStrikeMove_Func001A takes nothing returns nothing
call SetUnitPositionLoc( GetEnumUnit(), PolarProjectionBJ(GetUnitLoc(GetEnumUnit()), 15.00, ( AngleBetweenPoints(GetUnitLoc(GetEnumUnit()), GetUnitLoc(udg_SandStrike)) + 180.00 )) )
call AddSpecialEffectLocBJ( GetUnitLoc(GetEnumUnit()), "Abilities\\Weapons\\AncientProtectorMissile\\AncientProtectorMissile.mdl" )
call DestroyEffectBJ( GetLastCreatedEffectBJ() )
endfunction
function Trig_SandStrikeMove_Actions takes nothing returns nothing
call ForGroupBJ( udg_SandStrikeGroup, function Trig_SandStrikeMove_Func001A )
endfunction
//===========================================================================
function InitTrig_SandStrikeMOVE takes nothing returns nothing
set gg_trg_SandStrikeMOVE = CreateTrigger( )
call DisableTrigger( gg_trg_SandStrikeMOVE )
call TriggerRegisterTimerEventPeriodic( gg_trg_SandStrikeMOVE, 0.05 )
call TriggerAddAction( gg_trg_SandStrikeMOVE, function Trig_SandStrikeMove_Actions )
endfunction
function Trig_EathFang_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A03U' ) ) then
return false
endif
return true
endfunction
function Trig_EathFang_Func010Func008001003001001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_EathFang_Func010Func008001003001002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_EathFang_Func010Func008001003001 takes nothing returns boolean
return GetBooleanAnd( Trig_EathFang_Func010Func008001003001001(), Trig_EathFang_Func010Func008001003001002() )
endfunction
function Trig_EathFang_Func010Func008001003002 takes nothing returns boolean
return ( IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(udg_EFang[1])) == true )
endfunction
function Trig_EathFang_Func010Func008001003 takes nothing returns boolean
return GetBooleanAnd( Trig_EathFang_Func010Func008001003001(), Trig_EathFang_Func010Func008001003002() )
endfunction
function Trig_EathFang_Func010Func008002 takes nothing returns nothing
call UnitDamageTargetBJ( udg_EFang[1], GetEnumUnit(), ( I2R(GetUnitAbilityLevelSwapped('A0A4', udg_EFang[1])) * 50.00 ), ATTACK_TYPE_CHAOS, DAMAGE_TYPE_NORMAL )
endfunction
function Trig_EathFang_Func010Func009001003001001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_EathFang_Func010Func009001003001002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_EathFang_Func010Func009001003001 takes nothing returns boolean
return GetBooleanAnd( Trig_EathFang_Func010Func009001003001001(), Trig_EathFang_Func010Func009001003001002() )
endfunction
function Trig_EathFang_Func010Func009001003002 takes nothing returns boolean
return ( IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(udg_EFang[1])) == true )
endfunction
function Trig_EathFang_Func010Func009001003 takes nothing returns boolean
return GetBooleanAnd( Trig_EathFang_Func010Func009001003001(), Trig_EathFang_Func010Func009001003002() )
endfunction
function Trig_EathFang_Func010Func009002 takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ( "origin", GetEnumUnit(), "Abilities\\Spells\\Other\\Volcano\\VolcanoDeath.mdl" )
endfunction
function Trig_EathFang_Func010C takes nothing returns boolean
if ( not ( R2I(GetUnitStateSwap(UNIT_STATE_LIFE, udg_EFang[1])) <= 300 ) ) then
return false
endif
return true
endfunction
function Trig_EathFang_Actions takes nothing returns nothing
set udg_EFang[1] = GetSpellAbilityUnit()
set udg_EFang[2] = GetSpellTargetUnit()
call CreateNUnitsAtLoc( 1, 'e01D', GetTriggerPlayer(), GetUnitLoc(udg_EFang[2]), bj_UNIT_FACING )
call KillUnit( GetLastCreatedUnit() )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_EFang[2]), 75.00, 0), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_EFang[2]), 75.00, 90.00), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_EFang[2]), 75.00, 180.00), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_EFang[2]), 75.00, 270.00), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call SetUnitManaBJ( udg_EFang[2], ( GetUnitStateSwap(UNIT_STATE_MANA, udg_EFang[2]) - ( I2R(GetUnitAbilityLevelSwapped('A0A4', udg_EFang[1])) * 70.00 ) ) )
if ( Trig_EathFang_Func010C() ) then
call CameraSetEQNoiseForPlayer( GetOwningPlayer(udg_EFang[1]), 10.00 )
call CameraSetEQNoiseForPlayer( GetOwningPlayer(udg_EFang[2]), 10.00 )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_EFang[2]), 150.00, 0), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_EFang[2]), 150.00, 90.00), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_EFang[2]), 150.00, 180.00), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_EFang[2]), 150.00, 270.00), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call ForGroupBJ( GetUnitsInRangeOfLocMatching(300.00, GetUnitLoc(udg_EFang[2]), Condition(function Trig_EathFang_Func010Func008001003)), function Trig_EathFang_Func010Func008002 )
call ForGroupBJ( GetUnitsInRangeOfLocMatching(300.00, GetUnitLoc(udg_EFang[2]), Condition(function Trig_EathFang_Func010Func009001003)), function Trig_EathFang_Func010Func009002 )
call TriggerSleepAction( 2.00 )
call CameraClearNoiseForPlayer( GetOwningPlayer(udg_EFang[1]) )
call CameraClearNoiseForPlayer( GetOwningPlayer(udg_EFang[2]) )
else
call DoNothing( )
endif
endfunction
//===========================================================================
function InitTrig_EathFang takes nothing returns nothing
set gg_trg_EathFang = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_EathFang, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( gg_trg_EathFang, Condition( function Trig_EathFang_Conditions ) )
call TriggerAddAction( gg_trg_EathFang, function Trig_EathFang_Actions )
endfunction