Name | Type | is_array | initial_value |
ColorLookup | string | Yes | |
Ent_Items1 | item | Yes | |
Ent_Items2 | item | Yes | |
EntWinTimer | timer | No | |
EntWinTimerWindow | timerdialog | No | |
HideTimer | timer | No | |
InfernalButtons | button | Yes | |
InfernalChoices | unitcode | Yes | |
InfernalDialog | dialog | No | |
InfernalLandingVis | fogmodifier | Yes | |
InfernalLifeTime | integer | Yes | |
InfernalReviveTime | integer | Yes | |
InfernalSelected | boolean | Yes | |
MHDetect | boolean | Yes | |
multiboard | multiboard | No | |
multiboard_data | force | Yes | |
multiboard_score | integer | Yes | |
multiboard_work | integer | No | 1 |
pg_Ents | force | No | |
pg_Infernals | force | No | |
playerColor_B | real | Yes | |
playerColor_G | real | Yes | |
playerColor_R | real | Yes | |
PlayerStatus | integer | Yes | |
ResourceGainGold | integer | Yes | |
ResourceGainWood | integer | Yes | |
ShowControl | boolean | Yes | |
ua_EntAshes | unit | Yes | |
ua_Ents | unit | Yes | |
ua_Infernals | unit | Yes | |
ug_EntAshes | group | No | |
ug_Ents | group | No | |
ug_Infernals | group | No |
function Trig_Self_Destruct_Conditions takes nothing returns boolean
if ( GetSpellAbilityId() == 'A015' ) then
return true
endif
return false
endfunction
function Trig_Self_Destruct_Actions takes nothing returns nothing
local location point = GetUnitLoc(GetSpellAbilityUnit())
call KillUnit( GetSpellAbilityUnit() )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call TriggerSleepAction( 0.10 )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call TriggerSleepAction( 0.10 )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call TriggerSleepAction( 0.10 )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call TriggerSleepAction( 0.10 )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call TriggerSleepAction( 0.10 )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call TriggerSleepAction( 0.10 )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call TriggerSleepAction( 0.10 )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call TriggerSleepAction( 0.10 )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
call AddSpecialEffectLocBJ( OffsetLocation(point, GetRandomReal(-50.00, 50.00), GetRandomReal(-50.00, 50.00)), "Objects\\Spawnmodels\\Human\\FragmentationShards\\FragBoomSpawn.mdl" )
endfunction
//===========================================================================
function InitTrig_Self_Destruct takes nothing returns nothing
set gg_trg_Self_Destruct = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Self_Destruct, EVENT_PLAYER_UNIT_SPELL_CAST )
call TriggerAddCondition( gg_trg_Self_Destruct, Condition( function Trig_Self_Destruct_Conditions ) )
call TriggerAddAction( gg_trg_Self_Destruct, function Trig_Self_Destruct_Actions )
endfunction
function Trig_Destroy_Trees_Infernal_Copy_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A00H' ) ) then
return false
endif
return true
endfunction
function Trig_Destroy_Trees_Infernal_Copy_Func003003 takes nothing returns nothing
call KillDestructable( GetEnumDestructable() )
endfunction
function Trig_Destroy_Trees_Infernal_Copy_Actions takes nothing returns nothing
local location point = GetSpellTargetLoc()
//call TriggerSleepAction( 0.25 )
call AddSpecialEffectLocBJ( point, "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
call EnumDestructablesInCircleBJ( 300.00, point, function Trig_Destroy_Trees_Infernal_Copy_Func003003 )
endfunction
//===========================================================================
function InitTrig_Destroy_Trees_Infernal takes nothing returns nothing
set gg_trg_Destroy_Trees_Infernal = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Destroy_Trees_Infernal, EVENT_PLAYER_UNIT_SPELL_CAST )
call TriggerAddCondition( gg_trg_Destroy_Trees_Infernal, Condition( function Trig_Destroy_Trees_Infernal_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Destroy_Trees_Infernal, function Trig_Destroy_Trees_Infernal_Copy_Actions )
endfunction