Name | Type | is_array | initial_value |
AA_DaLaRanChengBao_On | boolean | Yes | |
AA_DaLaRanChengBaoButton | button | Yes | |
AA_HanBingHuangCheng_On | boolean | No | |
AA_HanBingHuangChengButton | button | Yes | |
AA_LICH_TARGET | dialog | No | |
AA_LIGHT_TARGET | dialog | No | |
AA_Nothland_On | boolean | Yes | |
AA_NothlandButton | button | Yes | |
AA_NuoDanLuenButton | button | Yes | |
AA_NuoDanLuenChengBao_On | boolean | No | |
AA_NuoDanLuenChengBaoButton | button | Yes | |
AA_NuoDanLuenOpen_On | boolean | Yes | |
AA_TARGET_EXIT_BUTTON | button | Yes | |
AA_WeiZhiZhiDi_On | boolean | Yes | |
AA_WeiZhiZhiDiButton | button | Yes | |
AllPlayers | group | No | |
Angels | group | No | |
Anubarak | unit | No | |
AP1_Player | player | No | |
APG1_Player | force | No | |
Arthas | unit | No | |
bDoors | boolean | Yes | |
BoneKing | unit | No | |
BoneKingType | unitcode | No | |
Boss003 | unit | No | |
Boss003Type | unitcode | No | |
bPlayerDead | boolean | Yes | |
Button | button | Yes | |
ChooseQuest | quest | Yes | |
ChooseQuestSett | questitem | Yes | |
DeathVis | fogmodifier | Yes | |
Destroyer01 | unit | No | |
Destroyer02 | unit | No | |
Diablo | unit | No | |
EnableSpawners | boolean | Yes | false |
EnableSpawnersNosend | boolean | Yes | false |
EnableSpawnersWanE | boolean | Yes | false |
EnableSpawnersWeiZhi | boolean | Yes | false |
Experience | real | Yes | |
FAQ_001 | dialog | No | |
FAQ_002 | dialog | No | |
FAQ_003 | dialog | No | |
FlameDamage | group | No | |
FlameDamage2 | group | No | |
FlameDamage3 | group | No | |
FrostFlashDamage | group | No | |
Frostnova_Level | real | No | |
Frostnova_R | real | No | |
Frostnova_S | real | No | |
FrostWyrm01 | unit | No | |
FrostWyrm02 | unit | No | |
FrostWyrm03 | unit | No | |
FrostWyrm04 | unit | No | |
FrostWyrm05 | unit | No | |
GameBuffSet | boolean | No | true |
Gargoyle01 | unit | No | |
Gargoyle02 | unit | No | |
Gargoyle03 | unit | No | |
Gargoyle04 | unit | No | |
Gargoyle05 | unit | No | |
Gargoyle06 | unit | No | |
Gargoyle07 | unit | No | |
Gargoyle08 | unit | No | |
HARD | boolean | No | |
HeavenTimer | timer | No | |
HeavenTimerWindow | timerdialog | No | |
HellGroup | group | No | |
HELLTIME | timer | No | |
HellTimeWindow | timerdialog | No | |
HumanAndNightElf | force | No | |
IntroSkipped | boolean | No | |
iNumCircles | integer | No | 0 |
Item_Charged | itemcode | Yes | |
Item_Permanent | itemcode | Yes | |
Item_PowerUp | itemcode | Yes | |
JiTanMonster | unit | Yes | |
Kills | integer | Yes | |
LICH_TARGET_OFF | dialog | No | |
LichKing | unit | No | |
LINGHT_TARGET_OFF | dialog | No | |
Looks001 | fogmodifier | Yes | |
MainPlayer | player | No | |
MainPlayers | force | No | |
MainQuest | quest | Yes | |
MainQuestSett | questitem | Yes | |
Max1 | integer | No | |
Max2 | integer | No | |
Max3 | integer | No | |
Max4 | integer | No | |
Max5 | integer | No | |
Max6 | integer | No | |
MaxItemKC | itemcode | Yes | |
MaxItemNLTS | itemcode | Yes | |
MaxItemZB | itemcode | Yes | |
MonsterSpace | rect | No | |
MonsterSpace2 | rect | No | |
MonsterSpace3 | rect | No | |
MonsterSpace4 | rect | No | |
MonsterSpace5 | rect | No | |
MonsterSpace6 | rect | No | |
MonsterSpair | unit | Yes | |
MonsterSpawners | unit | Yes | |
Movie | boolean | Yes | |
MovieHide | rect | Yes | |
MovieHideUnit01 | group | Yes | |
MovieHideUnit02 | group | Yes | |
MOVIESPACE | rect | Yes | |
movieturn | boolean | No | |
MovingArmy | group | No | |
Necromancer | unit | No | |
NothMonster | unit | Yes | |
NumSpawners | integer | No | |
NumSpawners2 | integer | No | |
NumSpawners3 | integer | No | |
NumSpawners4 | integer | No | |
NumSpawners5 | integer | No | |
NumSpawners6 | integer | No | |
Organization_On | boolean | Yes | |
OrganizationsSet | integer | No | |
OrganizationUnit | unit | Yes | |
Player01Car | unit | No | |
Player02Car | unit | No | |
Player03Car | unit | No | |
Player04Car | unit | No | |
Player05Car | unit | No | |
Player06Car | unit | No | |
Player07Car | unit | No | |
Player08Car | unit | No | |
Player1 | unit | No | |
Player2 | unit | No | |
Player3 | unit | No | |
Player4 | unit | No | |
Player5 | unit | No | |
Player6 | unit | No | |
Player7 | unit | No | |
Player8 | unit | No | |
Playersgroup | force | No | |
Public | integer | Yes | |
s | real | No | |
Sappers1 | group | No | |
SaysMax | integer | No | |
SetCameraFree | boolean | Yes | |
ShenYuanMoWang | unit | No | |
ShenYuanMoWangType | unitcode | No | |
ShuiJiShu | integer | No | |
SmallBoss | unit | Yes | |
SmallBossType | unitcode | Yes | |
SpawnTypes | unitcode | Yes | |
SpellRuinDayGound_D | real | No | |
SpellRuinDayGound_S | real | No | |
SpellRuinDayGoundLevel | real | Yes | |
SPIDERS | group | No | |
TalkToMe | effect | Yes | |
TargetPlayer | player | Yes | |
TargetUnits | group | Yes | |
TempSFX | effect | No | |
TheLeaderBoard | leaderboard | No | |
TrapDamage2 | group | No | |
UndeadAndOrc | force | No | |
WanE_Monster | unit | Yes | |
WarCraft | boolean | No | |
Weather | weathereffect | Yes | |
WeatherMax | integer | No | |
WeiZhi_Monster | unit | Yes | |
WeiZhiSmallBoss | unit | Yes |
function Trig_DEBUG_UNITS_DEATH_Conditions takes nothing returns boolean
if ( not ( IsUnitType(GetTriggerUnit(), UNIT_TYPE_HERO) == false ) ) then
return false
endif
return true
endfunction
function Trig_DEBUG_UNITS_DEATH_Actions takes nothing returns nothing
call TriggerSleepAction( 30.00 )
call RemoveUnit( GetTriggerUnit() )
endfunction
//===========================================================================
function InitTrig_WhenAUnitDead takes nothing returns nothing
set gg_trg_WhenAUnitDead = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_WhenAUnitDead, EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_WhenAUnitDead, Condition( function Trig_DEBUG_UNITS_DEATH_Conditions ) )
call TriggerAddAction( gg_trg_WhenAUnitDead, function Trig_DEBUG_UNITS_DEATH_Actions )
endfunction
function Trig_ss_Actions takes nothing returns nothing
set udg_Item_Permanent[1] = 'kymn'
set udg_Item_Permanent[1] = 'I00D'
endfunction
//===========================================================================
function InitTrig_ss takes nothing returns nothing
set gg_trg_ss = CreateTrigger( )
call TriggerAddAction( gg_trg_ss, function Trig_ss_Actions )
endfunction
//Item_Permanent Settings
function Trig_ItemSet_Actions takes nothing returns nothing
set Item_Permanent[1] = 'shdt'
set Item_Permanent[2] = 'crdt'
set Item_Permanent[3] = 'stel'
set Item_Permanent[4] = 'axas'
set Item_Permanent[5] = 'ofro'
set Item_Permanent[6] = 'asbl'
set Item_Permanent[7] = 'blba'
set Item_Permanent[8] = 'gcel'
set Item_Permanent[9] = 'mcou'
set Item_Permanent[10] = 'rhth'
set Item_Permanent[11] = 'kpin'
set Item_Permanent[12] = 'ajen'
set Item_Permanent[13] = 'dsum'
set Item_Permanent[14] = 'sneg'
set Item_Permanent[15] = 'modt'
set Item_Permanent[13] = 'stwa'
set Item_Permanent[13] = 'tels'
set Item_Permanent[13] = 'ram1'
set Item_Permanent[13] = 'ram2'
set Item_Permanent[13] = 'ram3'
set Item_Permanent[13] = 'ram4'
set Item_Permanent[13] = 'sbch'
set Item_Permanent[13] = 'belv'
set Item_Permanent[13] = 'ram3'
set Item_Permanent[13] = 'ram3'
endfunction
//===========================================================================
function InitTrig_ItemSet takes nothing returns nothing
set gg_trg_ItemSet = CreateTrigger( )
call TriggerAddAction( gg_trg_ItemSet, function Trig_ItemSet_Actions )
endfunction
function Trig_TestMoney_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_108" )
call EnableTrigger( gg_trg_Money )
endfunction
//===========================================================================
function InitTrig_TestMoney takes nothing returns nothing
set gg_trg_TestMoney = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_TestMoney, Player(0), "show me the money", true )
call TriggerRegisterPlayerChatEvent( gg_trg_TestMoney, Player(4), "show me the money", true )
call TriggerAddAction( gg_trg_TestMoney, function Trig_TestMoney_Actions )
endfunction
function Trig_TestLoaction_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_113" )
call ConditionalTriggerExecute( gg_trg_TestButton )
endfunction
//===========================================================================
function InitTrig_TestLoaction takes nothing returns nothing
set gg_trg_TestLoaction = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_TestLoaction, Player(0), "black sheep wall", true )
call TriggerRegisterPlayerChatEvent( gg_trg_TestLoaction, Player(4), "black sheep wall", true )
call TriggerAddAction( gg_trg_TestLoaction, function Trig_TestLoaction_Actions )
endfunction
function Trig_Money_Func001002 takes nothing returns nothing
call SetPlayerStateBJ( GetEnumPlayer(), PLAYER_STATE_RESOURCE_GOLD, 99999 )
endfunction
function Trig_Money_Actions takes nothing returns nothing
call ForForce( GetPlayersAll(), function Trig_Money_Func001002 )
endfunction
//===========================================================================
function InitTrig_Money takes nothing returns nothing
set gg_trg_Money = CreateTrigger( )
call DisableTrigger( gg_trg_Money )
call TriggerRegisterTimerEventPeriodic( gg_trg_Money, 60.00 )
call TriggerAddAction( gg_trg_Money, function Trig_Money_Actions )
endfunction
function Trig_TestButton_Actions takes nothing returns nothing
set udg_AA_DaLaRanChengBao_On[1] = true
set udg_AA_DaLaRanChengBao_On[2] = true
set udg_AA_HanBingHuangCheng_On = true
set udg_AA_Nothland_On[1] = true
set udg_AA_Nothland_On[2] = true
set udg_AA_NuoDanLuenChengBao_On = true
set udg_AA_NuoDanLuenOpen_On[1] = true
set udg_AA_NuoDanLuenOpen_On[2] = true
set udg_AA_WeiZhiZhiDi_On[1] = true
set udg_AA_WeiZhiZhiDi_On[2] = true
endfunction
//===========================================================================
function InitTrig_TestButton takes nothing returns nothing
set gg_trg_TestButton = CreateTrigger( )
call DisableTrigger( gg_trg_TestButton )
call TriggerAddAction( gg_trg_TestButton, function Trig_TestButton_Actions )
endfunction
function Trig_NUMBER001_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A04C' ) ) then
return false
endif
return true
endfunction
function Trig_NUMBER001_Func001001003 takes nothing returns boolean
return ( IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(GetSpellAbilityUnit())) == true )
endfunction
function Trig_NUMBER001_Func001002 takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ( "origin", GetEnumUnit(), "Abilities\\Spells\\Demon\\DemonBoltImpact\\DemonBoltImpact.mdl" )
endfunction
function Trig_NUMBER001_Func002001003 takes nothing returns boolean
return ( IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(GetSpellAbilityUnit())) == true )
endfunction
function Trig_NUMBER001_Func002002 takes nothing returns nothing
call SetUnitLifeBJ( GetEnumUnit(), ( GetUnitStateSwap(UNIT_STATE_LIFE, GetEnumUnit()) - 15.00 ) )
endfunction
function Trig_NUMBER001_Func003001003 takes nothing returns boolean
return ( IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(GetSpellAbilityUnit())) == true )
endfunction
function Trig_NUMBER001_Func003002 takes nothing returns nothing
call SetUnitPositionLocFacingLocBJ( GetEnumUnit(), GetUnitLoc(GetSpellAbilityUnit()), GetUnitLoc(GetSpellAbilityUnit()) )
endfunction
function Trig_NUMBER001_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsInRangeOfLocMatching(600.00, GetUnitLoc(GetSpellAbilityUnit()), Condition(function Trig_NUMBER001_Func001001003)), function Trig_NUMBER001_Func001002 )
call ForGroupBJ( GetUnitsInRangeOfLocMatching(600.00, GetUnitLoc(GetSpellAbilityUnit()), Condition(function Trig_NUMBER001_Func002001003)), function Trig_NUMBER001_Func002002 )
call ForGroupBJ( GetUnitsInRangeOfLocMatching(600.00, GetUnitLoc(GetSpellAbilityUnit()), Condition(function Trig_NUMBER001_Func003001003)), function Trig_NUMBER001_Func003002 )
endfunction
//===========================================================================
function InitTrig_PandaMagic takes nothing returns nothing
set gg_trg_PandaMagic = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_PandaMagic, EVENT_PLAYER_UNIT_SPELL_FINISH )
call TriggerAddCondition( gg_trg_PandaMagic, Condition( function Trig_NUMBER001_Conditions ) )
call TriggerAddAction( gg_trg_PandaMagic, function Trig_NUMBER001_Actions )
endfunction