Name | Type | is_array | initial_value |
Armor_array | integer | Yes | |
Armory_timer | timer | No | |
Armory_timer_2 | timer | No | |
Boss_unit | unitcode | Yes | |
boss_unit_count | integer | No | 1 |
Both | button | No | |
Both_Copy | button | No | |
Both_override | button | No | |
bothvotes | integer | No | |
bounty_num | integer | No | |
box1 | dialog | No | |
CIN_builder_group | group | No | |
count | integer | No | |
deadUnits | boolean | No | |
difficulty | dialog | No | |
DIFFICULTY_NUMBER | real | No | |
dm_up_timer | timer | No | |
easy | button | No | |
gold_split | integer | No | |
hard | button | No | |
Houses | integer | No | 80 |
hp_up_timer | timer | No | |
Int_Count1 | integer | No | |
Int_Count1_Copy | integer | No | |
Int_Count1_Copy_2 | integer | No | |
Int_Count1_Copy_3 | integer | No | |
Int_Count1_Copy_4 | integer | No | |
Int_Count1_Copy_5 | integer | No | |
Int_Count1_Copy_6 | integer | No | |
Int_Count1_Copy_7 | integer | No | |
Int_Count1_Copy_8 | integer | No | |
Int_Count1_Copy_9 | integer | No | |
LeakGroup | group | No | |
LeakGroup2 | group | No | |
LeakGroup3 | group | No | |
LeakGroup5 | group | No | |
LeakLoc2 | location | No | |
LeakLocation | location | No | |
leaks | integer | No | |
leaver | player | No | |
Life_array | integer | Yes | |
Lumber_Income | integer | Yes | |
lumber_timer | timer | No | |
medium | button | No | |
multiplier | integer | No | 1 |
NetWorth | integer | No | |
NetWorthGoldExchangedForMateri | integer | Yes | |
NetWorthGoldInTowersAndUnits | integer | No | |
NetWorthGoldOnHand | integer | No | |
next_wave_timer | timer | No | |
next_wave_timer_box | timerdialog | No | |
no | button | No | |
num | integer | No | |
numberOfVotes | integer | No | |
People | integer | No | 30 |
player_kick | string | No | |
playernumber | integer | No | |
players | force | No | |
SE | effect | Yes | |
Soldiers | integer | No | 25 |
split_1_dir | integer | No | |
split_2_dir | integer | No | 1 |
split_3_dir | integer | No | 1 |
TD | button | No | |
TD_Copy | button | No | |
TD_or_unit | dialog | No | |
TD_or_unit_host | dialog | No | |
td_override | button | No | |
tdvotes | integer | No | |
TotalGold | integer | No | |
unit | unitcode | Yes | |
Unit | button | No | |
Unit_Copy | button | No | |
unit_count | integer | No | 1 |
unit_health | integer | No | 100 |
unit_override | button | No | |
unitvotes | integer | No | |
voting_is_open | boolean | No | |
yes | button | No |
//TESH.scrollpos=0
//TESH.alwaysfold=0
function Trig_Cast_Spell_Func002C takes nothing returns boolean
if ( ( GetUnitTypeId(GetAttacker()) == 'e00A' ) ) then
return true
endif
if ( ( GetUnitTypeId(GetAttacker()) == 'e007' ) ) then
return true
endif
if ( ( GetUnitTypeId(GetAttacker()) == 'e006' ) ) then
return true
endif
if ( ( GetUnitTypeId(GetAttacker()) == 'e009' ) ) then
return true
endif
if ( ( GetUnitTypeId(GetAttacker()) == 'e008' ) ) then
return true
endif
return false
endfunction
function Trig_Cast_Spell_Conditions takes nothing returns boolean
if ( not Trig_Cast_Spell_Func002C() ) then
return false
endif
return true
endfunction
function Trig_Cast_Spell_Actions takes nothing returns nothing
call IssueTargetOrderBJ( GetAttacker(), "faeriefire", GetAttackedUnitBJ() )
endfunction
//===========================================================================
function InitTrig_Cast_Spell takes nothing returns nothing
set gg_trg_Cast_Spell = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Cast_Spell, EVENT_PLAYER_UNIT_ATTACKED )
call TriggerAddCondition( gg_trg_Cast_Spell, Condition( function Trig_Cast_Spell_Conditions ) )
call TriggerAddAction( gg_trg_Cast_Spell, function Trig_Cast_Spell_Actions )
endfunction