1. Are you planning to upload your awesome map to Hive? Please review the rules here.
    Dismiss Notice
  2. Find your way through the deepest dungeon in the 18th Mini Mapping Contest Poll.
    Dismiss Notice
  3. A brave new world lies beyond the seven seas. Join the 34th Modeling Contest today!
    Dismiss Notice
  4. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
Hive 3 Remoosed BETA - NOW LIVE. Go check it out at BETA Hive Workshop! Post your feedback in this new forum BETA Feedback.
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Trigger Viewer

(24)SpringFestival.w3x
Variables
Variables
地圖(初始化)
事件 - 任務
Task 001
Task 002
事件 - 對話框
DialogBox 001
DialogBox 002
DialogBox 003
DialogBox 004
事件 - 游戲模式選擇
GameModeSelection 001
GameModeSelection 002
事件 - 玩家数量檢測
GamePlayerNumberCheck 001
事件 - 玩家人口檢測
GamePlayerPopulationCheck 001
事件 - 玩家控制者檢測
GamePlayerControllerCheck 001
事件 - 春節聯歡晚會
SpringFestivalGala 001
SpringFestivalGala 002
SpringFestivalGala 003
SpringFestivalGala 004
SpringFestivalGala 005
SpringFestivalGala 006
SpringFestivalGala 007
SpringFestivalGala 008
SpringFestivalGala 009
事件 - 鞭炮
Firecrackers 001
Firecrackers 002
Firecrackers 003
Firecrackers 004
Firecrackers 005
對戰(初始化)
事件 - 遊戲晝夜時間
GameDayAndNightTime 001
事件 - 玩家組
GamePlayerGroup 001
事件 - 玩家開始點
PlayerStartingPoint 001
事件 - 玩家開始點BUG修復
PlayerStartingPointBUGRepair 001
地圖(事件觸發)
事件 - 紅燈籠的降臨
RedLanternCome 001
RedLanternCome 002
RedLanternCome 003
RedLanternCome 004
RedLanternCome 005
RedLanternCome 006
事件 - 熊貓之神的慶祝
PandaGodCelebrate 001
PandaGodCelebrate 002
PandaGodCelebrate 003
PandaGodCelebrate 004
PandaGodCelebrate 005
PandaGodCelebrate 006
PandaGodCelebrate 007
PandaGodCelebrate 008
PandaGodCelebrate 009
PandaGodCelebrate 010
事件 - 孔明燈的許願
KongmingLaternMakeWish 001
KongmingLaternMakeWish 002
KongmingLaternMakeWish 003
事件 - 微微發亮的傳送門
ShimmeringPortal 001
ShimmeringPortal 002
ShimmeringPortal 003
ShimmeringPortal 004
ShimmeringPortal 005
ShimmeringPortal 006
ShimmeringPortal 007
ShimmeringPortal 008
ShimmeringPortal 009
事件 - 憤怒的部落
AngryTribe 001
事件 - 部落的戰俘
TribePrisoner 001
事件 - 鞭炮控制器
FirecrackersControlRod 001
FirecrackersControlRod 002
事件 - 達拉內爾港口死亡
DraeneiHavenDeath 001
事件 - 火蜥蜴死亡
FireLizardDeath 001
FireLizardDeath 002
事件 - 自定義單位中英轉換
CustomUnitsChineseEnglishConversion 001
玩家(事件觸發)
事件 - 玩家達拉內爾單位接受傷害註冊
PlayerDraeneiUnitAcceptInjuryRegister 001
事件 - 玩家選擇特殊單位
PlayerSelectionUnit 001
PlayerSelectionUnit 002
事件 - 玩家戰敗/離開遊戲
PlayersFailOrLeaveTheGame 001
PlayersFailOrLeaveTheGame 002
單位(孔明燈)
觸發器
MakeWish 001
單位(熊貓煙火隊)
觸發器
PandaFireworkTeam 001
PandaFireworkTeam 002
PandaFireworkTeam 003
PandaFireworkTeam 004
技能 - 煙花守衛
FireworksGuard 001
FireworksGuard 002
FireworksGuard 003
FireworksGuard 004
FireworksGuard 005
FireworksGuard 006
單位(達拉內爾守衛)
觸發器
DraeneiGuardian 001
單位(達拉內爾哨兵)
觸發器
技能 - 猛擊
Slamming 001
Slamming 002
Slamming 003
單位(達拉內爾信徒)
觸發器
技能 - 能量轉換
EnergyConversion 001
单位(達拉內爾先驅)
觸發器
技能 - 空虛
Emptiness 001
单位(達拉內爾先知)
觸發器
技能 - 感知守衛
PerceptionWard 001
PerceptionWard 002
PerceptionWard 003
PerceptionWard 004
PerceptionWard 005
單位(達拉內爾暗黑屠殺者)
觸發器
技能 - 釋魂
ReleaseSoul 001
ReleaseSoul 002
ReleaseSoul 003
ReleaseSoul 004
釋魂 - 人工智能系統
ReleaseSoulArtificialIntelligenceSystem 001
ReleaseSoulArtificialIntelligenceSystem 002
單位(達拉內爾漫步者)
觸發器
DraeneiStalker 001
單位(達拉內爾辯護者)
觸發器
DraeneiVindicator 001
DraeneiVindicator 002
技能 - 恐嚇
Intimidate 001
單位(火蜥蜴)
觸發器
技能 - 火焰噴吐
FireBreath 001
FireBreath 002
FireBreath 003
FireBreath 004
FireBreath 005
單位(虛空龍)
觸發器
技能 - 虛空
Void 001
Void 002
虛空 - 人工智能系統
VoidArtificialIntelligenceSystem 001
建築(達拉內爾港口\達拉內爾駐防地\達拉內爾棱堡)
觸發器
科技樹 - 賞金
MoneyReward 001
建築(達拉內爾投石塔)
觸發器
技能 - 裂地
GroundFissure 001
GroundFissure 002
GroundFissure 003
建築(達拉內爾小屋)
觸發器
技能 - 炸窩
InDisarray 001
英雄(大賢者)
觸發器
Akama 001
ElderSage 001
ElderSage 002
技能 - 暗影匕刃
ShadowDaggerBlade 001
ShadowDaggerBlade 002
ShadowDaggerBlade 003
技能 - 幻象
Vision 001
技能 - 背刺
BehindAttack 001
技能 - 群體隱形
MassInvisible 001
MassInvisible 002
MassInvisible 003
物品(禮品包)
BundleofGifts 001
BundleofGifts 002
觸發器回收站(TriggerRecycleBin)
事件 - 春節聯歡晚會
SpringFestivalGala 00A
SpringFestivalGala 00B
SpringFestivalGala 00C
事件 - 鞭炮
Firecrackers 00A
Firecrackers 00B
技能 - 釋魂
ReleaseSoul 00A
ReleaseSoul 00B
技能 - 暗影匕刃
ShadowDaggerBlade 00A
ShadowDaggerBlade 00B
ShadowDaggerBlade 00C
技能 - 群體隱形
MassInvisible 00A
MassInvisible 00B
MassInvisible 00C
在下面输入自定义脚本代码. 该部分内容会被添加到地图脚本的变量声明和触发代码之间.

		
Name Type Is Array Initial Value
Angry_Tribe group No
Angry_Tribe_Time integer No
Angry_Tribe_Timer timer No
Bonfire_Party group No
Dialog_Box_Chinese button No
Dialog_Box_Competition_Mode button No
Dialog_Box_English button No
Dialog_Box_Entertainment_Mode button No
Dialog_Box_Game_Language dialog No
Dialog_Box_Game_Mode dialog No
Dialog_Box_Language string No
DS_Target_Unit_Group group No
DT_Target_Unit_Group group No
Earth_God unit No
Elder_Sage_Hashtable hashtable No
Energy_Conversion real Yes
Enjoy_Flower_Lamp group No
Fire_Breath_Effects_Array integer No 1
Fire_Breath_Hashtable hashtable No
Fire_God unit No
Firecrackers_Explosion1 group No
Firecrackers_Explosion2 group No
Firecrackers_Hurt1 group No
Firecrackers_Hurt2 group No
Firecrackers_Lead_Wire1 group No
Firecrackers_Lead_Wire2 group No
Fireworks group No
Fireworks_Display group No
Fireworks_Guard unit Yes
Fireworks_Guards group No
Fireworks_Launcher_Death effect Yes
Fireworks_Pattern integer Yes
Fireworks_Upgrade group No
Game_Mode_Selection_Timer timer No
Game_Player_Base unit Yes
Game_Player_Group force No
Game_Player_Number_Check integer No
GMST_Countdown_Window timerdialog No
KML_Birth_Area_Random_Integer integer No
Kongming_Laterns group No
Lantern_Festival group No
Make_A_Vow_Unit unit No
Mass_Invisible_Hashtable hashtable No
Mass_Invisible_Number integer No
Mass_Invisible_Timer timer Yes
Mass_Invisible_Totality integer No 100
Mass_Invisible_Unit_Group group Yes
MI_Unit_Group_Array integer Yes 1
Money_Reward_Hero_Lv integer Yes
Money_Reward_Unit_Lv1 integer Yes
Money_Reward_Unit_Lv10 integer Yes
Money_Reward_Unit_Lv2 integer Yes
Money_Reward_Unit_Lv3 integer Yes
Money_Reward_Unit_Lv4 integer Yes
Money_Reward_Unit_Lv5 integer Yes
Money_Reward_Unit_Lv6 integer Yes
Money_Reward_Unit_Lv7 integer Yes
Money_Reward_Unit_Lv8 integer Yes
Money_Reward_Unit_Lv9 integer Yes
Panda_God_Lightning_Effect lightning Yes
Panda_Gods group No
Perception_Ward unit Yes
Perception_Ward_Array integer No
Perception_Ward_Cycle_Time integer No
Perception_Ward_Target_Unit unit Yes
Perception_Ward_Target_Units group Yes
Perception_Ward_Unit_Group group No
Perception_Wards group Yes
PFT_Target_Unit_Group group No
PW_Target_Unit_Group group No
Release_Soul_Unit_Group group No
Sacrifice_Gods group No
SF_Fireworks_Pattern integer No
Shadow_Dagger_Blade_Hashtable hashtable No
Shadow_Dagger_Blade_Number integer No
Shadow_Dagger_Blade_Time1 integer No
Shadow_Dagger_Blade_Time2 integer No
Shadow_Dagger_Blade_Timer timer Yes
Shadow_Dagger_Blade_Totality integer No 100
Shimmering_Portal unit No
Shimmering_Portal_Position location No
Shimmering_Portal_Timer timer No
SP_Back_City_Game_Player_Group force No
SP_Transport_Game_Player_Group force No
Spray_Flower1 unit No
Spray_Flower2 unit No
Spray_Flower3 unit No
Spray_Flower4 unit No
Spray_Flower_Pattern integer No
Storm_God unit No
TLV_Target_Unit_Group group No
User_Game_Player player No
Void_Dragons group No
Wait_Back_City_Units group No
Wait_Transport_Units group No
Task 001
  Events
    Map initialization
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Dialog_Box_Language Equal to 中文
      Then - Actions
        Quest - Create a Required quest titled 地图介绍 with the description |cff6666ff地图中文名称:|r春节|cff6666ff地图英文名称:|rSpring Festival|cff6666ff地图版本信息:|r1.31|cff6666ff地图尺寸大小:|r庞大的(340×340)|cff6666ff地图沙盒模板:|r黑色城堡|cff6666ff地图玩家数量:|r24(自由对战)|cff6666ff地图概述说明:|r  新春来临之际,三个伟大的东方战神提着红灯笼降临在了这个星球上,并和当地土著欢呼在一起准备迎接新的一年。在他们强大的法力庆典之下,整个星球的地形结构也都变得越来越富有春意。|cff6666ff地图结构设计:|R|cffffff00-048|r 金矿|cffffff00-002|r 地精实验室|cffffff00-003|r 小酒馆|cffffff00-001|r 市场                 前言  |cffff0000《Spring Festival》|r的地形呈现出了一个“春”的汉字,是本人仿照2020年《百度百科》“春节”词条中的封面配图编制而成的。从2020年1月24日“除夕”到2020年3月10日全国“新冠肺炎疫情”封城结束,历时两个多月完成,地图一切设计均由本人独自构思策划。由于缺少模型制作软件,所以除了自定义单位和自定义地形装饰物所使用的MDX模型取材于“蜂巢工坊(HiveWorkshop)”之外,里面的一切贴图、音效以及Trigger参数、变量等均为原创制作。其中,地图中间区域富有立体感的弧线型半球体部分是本人一个格子一个格子用鼠标雕刻出来的;里面的烟花爆竹音效,也都是本人大年三十除夕之夜在全国“新冠瘟疫”封城期间冒着被防疫人员抓捕拘留的风险偷偷潜入到附近市郊区的乡村里录制的……所以,乞请各位玩家以作者的心态对待这个地图,如对本地图有任何议意和私见请与作者取得联系。祝您游戏愉快!               ZLY199377 创作于:两国时期               公元2020年元月(民国108年;共和国70年), using icon path ReplaceableTextures\CommandButtons\BTNSpy.blp
        Quest - Create a Required quest titled 游戏说明 with the description   本地图有两种模式可选:“比赛模式”和“娱乐模式”。  “比赛模式”即常规对抗模式,无任何改动。  “娱乐模式”加入了许多新的单位、魔法和事件触发,这些改动均与“春节”相关。  在“娱乐模式”中,整张地图的天空上会飘浮着许多孔明灯,玩家可以选择一个孔明灯花一定金钱进行许愿,许愿后可以随机获得一个物品或单位,质量好坏全凭运气。地图中间的红灯笼是地图的核心区域,在这个与世隔绝的半球体上面有一群达拉内尔的土著居民在围绕着一个旋转的红灯笼举行春节联欢晚会。红灯笼会出售各种年货物品,而通过祭拜提着红灯笼的三元熊猫也能够获得三个熊猫烟火队和大家一起举行新年庆典。值得一提的是,熊猫烟火队是一个非常不错的对空单位,能够对空中单位造成范围性伤害,且伤害效果可观。地图两侧的鞭炮区域虽然在爆炸声中成为了不毛之地,但是不喜欢拉鞭的玩家可以通过拉闸来对其进行熄火,这样玩家就可以安全的在这两个区域进行探索了。虽然偶尔会有通往红灯笼区域的传送门在地图上诞生,但是鞭炮区域却是唯一两处能为玩家向红灯笼区域提供远航能力的固定地带。  目前该地图只支持汉语和英语两种语言,如果您在游戏中出现文字显示异常的情况,请到暴雪官方下载安装对应的语言包升级补丁即可。  另外,由于《魔兽争霸III》经典版与《魔兽争霸III:重制版》部分模型不一致,所以不建议本地图在《魔兽争霸III:重制版》中运行,否则将会导致未知错误发生。, using icon path ReplaceableTextures\CommandButtons\BTNSpy.blp
        Quest - Create a Required quest titled 作者信息 with the description 地图原创作者:ZLY199377  如有推广、合作,或想获得更多作者《Warcraft III》地图及其它作品,请到作者个人主页留言或下载:https://www.hiveworkshop.com/members/zly199377.256126/, using icon path ReplaceableTextures\CommandButtons\BTNShoveler.blp
        Quest - Create a Required quest titled 新春快乐 with the description                 |cffffcc00祝大家|r                |cffffcc00新年快乐|r                |cffffcc00万事如意|r            |cff99ffff华夏历:2020年01月01日|r, using icon path ReplaceableTextures\CommandButtons\BTNHappyNewYear.blp
        Quest - Create a Optional quest titled 玩家守则 with the description                健康游戏忠告           抵制不良游戏,拒绝盗版游戏。           注意自我保护,谨防受骗上当。           适度游戏益脑,沉迷游戏伤身。           合理安排时间,享受健康生活。, using icon path ReplaceableTextures\CommandButtons\BTNSpy.blp
        Quest - Create a Optional quest titled 意见反馈 with the description   如有发现地图BUG或对地图有其它提议,请到作者个人主页反馈:https://www.hiveworkshop.com/members/zly199377.256126/  其它联系方式如下:QQ:1205313146QQ群:657815996E-mail:1205313146@qq.com, using icon path ReplaceableTextures\CommandButtons\BTNSpy.blp
        Quest - Create a Optional quest titled 版权声明 with the description   本地图由“ZLY199377”原创,版权由“ZLY199377”所有。未经过作者同意,请勿对地图进行任何修改,请勿用于商业用途,盗版必究!如在其它论坛、社区、游戏平台对本地图进行转载或发表,请标明出处。如需要借鉴本图内容,请先与作者取得联系。谢谢!, using icon path ReplaceableTextures\WorldEditUI\WarcraftIIILogo.blp
        Quest - Create a Optional quest titled 祝福武汉 with the description                 《战疫》        火神山、雷神山、钟南山,三山齐聚克难关!        国内捐、海外捐、李兰娟,众捐纷来病魔颤!        男护士、女护士、真勇士,三军战士齐抗疫!        医者心、仁者心、中国心,万众一心不畏难!        逆行者、守卫者、志愿者,一线战役无名者!, using icon path ReplaceableTextures\CommandButtons\BTNBlessWuhan.blp
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            Dialog_Box_Language Equal to English
          Then - Actions
            Quest - Create a Required quest titled Map Introduction with the description |cff6666ffChinese Name Of Map:|r 春节|cff6666ffEnglish Name Of Map:|r Spring Festival|cff6666ffMap Version Information:|r 1.31|cff6666ffMap Size:|r Huge (340 * 340)|cff6666ffMap Sandbox Template:|r Black Citaclel|cff6666ffNumber Of Map Players:|r 24 (Free-For-All)|cff6666ffMap Overview Description:|r  With the coming of new year, three great eastern warlords came to the planet with red lanterns and cheered with the local natives to welcome the new year. Under their powerful mana celebration, the terrain structure of the whole planet has become more and more spring like.|cff6666ffMap Structure Design:|r|cffffff00-048|r Gold Mine|cffffff00-002|r Goblin Laboratory|cffffff00-003|r Bistro|cffffff00-001|r Market                Preface  |cffff0000"Spring Festival"|r the terrain of "spring" presents a Chinese character of "春", it's me compiled by imitating the cover map of "Spring Festival" in "Baidu Encyclopedia" in 2020. From "New Year's Eve" on January 24, 2020 to the end of "COVID-19" city closure in China on March 10, 2020, it took more than two months to complete, all the designs of the map are planned by myself. Due to the lack of model making software, So in addition to the mdx model used by custom units and custom terrain decorations from "HiveWorkshop", All the maps, sound effects, trigger parameters, variables, etc. in it are original production. Among them, The arc shaped hemispheres in the middle of the map are carved by my mouse, one by one; The sound effect of fireworks and firecrackers inside, It was recorded on New Year's Eve when I sneaked into the countryside near the outskirts of the city at the risk of being arrested and detained by the anti epidemic personnel during the "COVID-19" closure of the city...So, please treat this map with the attitude of the author, if you have any comments or personal opinions on this map, please contact the author. Have a good game!     ZLY199377 Created in: The two countries periodJanuary 2020 (Republic of China 108 years; People's Republic of China of 70 years), using icon path ReplaceableTextures\CommandButtons\BTNSpy.blp
            Quest - Create a Required quest titled Game Notes with the description   There are two modes available in this map: "Competition Mode" and "Entertainment Mode".   "Competition Mode" is the normal confrontation mode without any changes.   "Entertainment Mode" has added many new units, magic and event triggers, all of which are related to "Spring Festival".   In "Entertainment Mode", There will be many Kongming latern floating in the sky of the whole map, players can choose a Kongming latern to spend a certain amount of money to make a wish, you can get an item or unit at random after making a wish, quality depends on luck. The red lantern in the middle of the map is the core area of the map, on this isolated hemisphere have a group of Draenei aborigines hold a spring festival party around a rotating red lantern. Red lanterns sell all kinds of new year goods, through worship the three Yuan Panda with red lanterns can also get three panda firework teams to hold a new year's celebration with you. It is worth mentioning that, The Panda Fireworks team is a very good air attack unit, can cause range damage to air units, And the damage effect is considerable. The firecracker area on both sides of the map, though barren by the explosion, But players who don't like to set off firecrackers can use lever to turn off the fire, In this way players can safely explore these two areas. Although occasionally a portal to the red lantern area is created on the map, But the firecracker area is the only two fixed areas for players to provide long-distance navigation ability to the red lantern area.   At present, the map only supports Chinese and English, if you have a text display exception in the game, Please go to Blizzard to download and install the corresponding language pack upgrade patch.  In addition, Due to the inconsistency between the classic version of "Warcraft III" and some models of "Warcraft III:Reforged", So it's not recommended that maps run in "Warcraft III:Reforged", Otherwise an unknown error will occur., using icon path ReplaceableTextures\CommandButtons\BTNSpy.blp
            Quest - Create a Required quest titled Author Information with the description Original Map Author: ZLY199377  If you want to promote, cooperate or get more maps and other works of "Warcraft III", please leave a message or download it on the author's homepage:https://www.hiveworkshop.com/members/zly199377.256126/, using icon path ReplaceableTextures\CommandButtons\BTNShoveler.blp
            Quest - Create a Required quest titled New Spring Happy with the description                |cffffcc00Wish You All|r              |cffffcc00Happy New Year|r             |cffffcc00Everything Goes Well|r         |cff99ffffChina Calendar: January 1, 2020|r, using icon path ReplaceableTextures\CommandButtons\BTNHappyNewYear.blp
            Quest - Create a Optional quest titled Game Player Code with the description              Health game adviceResist bad games,No pirated games.Pay attention to self-protection,Beware of being deceived.Moderate play benefits brain,It hurts to be addicted to games.Reasonable arrangement of time,Enjoy a healthy life., using icon path ReplaceableTextures\CommandButtons\BTNSpy.blp
            Quest - Create a Optional quest titled Feedback with the description   If you find a map bug or have other suggestions for the map, please go to the author's home page for feedback:https://www.hiveworkshop.com/members/zly199377.256126/  Other contact information is as follows:QQ:1205313146QQ Group: 657815996E-mail:1205313146@qq.com, using icon path ReplaceableTextures\CommandButtons\BTNSpy.blp
            Quest - Create a Optional quest titled Copyright Notice with the description   The local map was created by "ZLY199377", copyright "ZLY199377". Without the consent of the author, do not make any changes to the map, do not use it for commercial purposes, piracy must be investigated! If you reprint or publish this map in other forums, communities or game platforms, please indicate the source. If you need to learn from this map, please contact the author first. Thank you!, using icon path ReplaceableTextures\WorldEditUI\WarcraftIIILogo.blp
            Quest - Create a Optional quest titled Bless Wuhan with the description              "Battle sickness"Fire god mountain,Thunder god mountain,Zhong Nan Shan,Three mountains gather to overcome difficulties!Domestic contribution,Overseas contribution,Li Lan Juan,Numerous donations fight disease!Male nurse,Female nurses,True warrior,Soldiers of the three armed forces fight the plague together!Doctor heart,Benevolent people heart,China heart,Million people united as one man not afraid of difficulties!Contrarian,Defenders,Volunteer,First line campaign unknown hero!, using icon path ReplaceableTextures\CommandButtons\BTNBlessWuhan.blp
          Else - Actions
            -------- End --------
Task 002
  Events
  Conditions
  Actions
    Wait 3.00 seconds
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Dialog_Box_Language Equal to 中文
      Then - Actions
        Quest - Display to (All players) the Hint message: 可按“|cffffcc00F9|r”键查看任务说明。
        Quest - Flash the quest dialog button
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            Dialog_Box_Language Equal to English
          Then - Actions
            Quest - Display to (All players) the Hint message: Press "|cffffcc00F9|r" to view the task description.
            Quest - Flash the quest dialog button
          Else - Actions
            -------- End --------
DialogBox 001
  Events
    Time - Elapsed game time is 0.00 seconds
  Conditions
  Actions
    Dialog - Change the title of Dialog_Box_Game_Language to     请选择游戏语言: Please Select Game Language:
    Dialog - Create a dialog button for Dialog_Box_Game_Language labelled 中文
    Set VariableSet Dialog_Box_Chinese = (Last created dialog Button)
    Dialog - Create a dialog button for Dialog_Box_Game_Language labelled English
    Set VariableSet Dialog_Box_English = (Last created dialog Button)
    Dialog - Show Dialog_Box_Game_Language for User_Game_Player
    Game - Display to (All players) the text: ((Name of User_Game_Player) + 正在选择游戏模式,请等待……)
    Game - Display to (All players) the text: ((Name of User_Game_Player) + Selecting game mode, Please wait...)
DialogBox 002
  Events
    Dialog - A dialog button is clicked for Dialog_Box_Game_Language
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Clicked dialog button) Equal to Dialog_Box_Chinese
      Then - Actions
        -------- “中文模式”對話框 --------
        Set VariableSet Dialog_Box_Language = 中文
        Dialog - Hide Dialog_Box_Game_Language for User_Game_Player
        Countdown Timer - Change the title of GMST_Countdown_Window to 游戏模式选择时间:
        Cinematic - Clear the screen of text messages for (All players).
        Game - Display to (All players) the text: ((Name of User_Game_Player) + 正在选择游戏模式,请等待……)
        Game - Display to (All players) the text: ((Name of User_Game_Player) + 选择了“中文模式”!)
        -------- “自定義單位”中文版 --------
        Set VariableSet Earth_God = 大地之神 0054 <gen>
        Set VariableSet Fire_God = 火焰之神 0056 <gen>
        Set VariableSet Storm_God = 风暴之神 0058 <gen>
        -------- “自定義可破壞物”中文版 --------
        Do nothing
        -------- “自定義地形裝飾物”中文版 --------
        Animation - Play the hide (animationname) animation for all doodads of type D001 (doodadcode) within ___________RedLantern_001_u <gen>.
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Clicked dialog button) Equal to Dialog_Box_English
          Then - Actions
            -------- "English Mode" Dialog Box --------
            Set VariableSet Dialog_Box_Language = English
            Dialog - Hide Dialog_Box_Game_Language for User_Game_Player
            Countdown Timer - Change the title of GMST_Countdown_Window to Game Mode Selection Time:
            Cinematic - Clear the screen of text messages for (All players).
            Game - Display to (All players) the text: ((Name of User_Game_Player) + Selecting game mode, Please wait...)
            Game - Display to (All players) the text: ((Name of User_Game_Player) + Chose "English Mode"!)
            -------- "Custom Unit" English Version --------
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 微微发亮的传送门)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Shimmering Portal
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 红灯笼)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Red Lantern
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 大地之神)) and do (Actions)
              Loop - Actions
                Unit - Replace (Picked unit) with a Earth God using The new unit's default life and mana
                Set VariableSet Earth_God = (Last replaced unit)
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 火焰之神)) and do (Actions)
              Loop - Actions
                Unit - Replace (Picked unit) with a Fire God using The new unit's default life and mana
                Set VariableSet Fire_God = (Last replaced unit)
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 风暴之神)) and do (Actions)
              Loop - Actions
                Unit - Replace (Picked unit) with a Storm God using The new unit's default life and mana
                Set VariableSet Storm_God = (Last replaced unit)
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 熊猫烟火队)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Panda Firework Team
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 孔明灯)) and do (Actions)
              Loop - Actions
                Unit - Replace (Picked unit) with a Kongming Latern using The new unit's default life and mana
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 烟花守卫)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Fireworks Ward
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 烟花守卫 (升级的))) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Fireworks Ward
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 烟花)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Fireworks
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 礼花)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Fireworks Display
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 喷花)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Spray Flower
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Draenei Haven)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Haven
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 达拉内尔驻防地)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Garrison
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 达拉内尔棱堡)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Redoubt
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Draenei Barracks)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Barracks
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 收割坊)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Harvesters Mill
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 达拉内尔投石塔)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Tower
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 达拉内尔小屋)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Hut
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 先知祭坛)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Altar of Seers
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Seer's Den)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Seer's Den
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 元素圣殿)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Elemental Shrine
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 火蜥蜴生态馆)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Fire Lizard Ecohouse
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 虚空龙栖木)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Void Dragon Perch
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 达拉内尔贮藏物)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Stash
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 大贤者)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Akama
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Draenei Laborer)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Laborer
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Draenei Guardian)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Guardian
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Draenei Guardian (部落动员))) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Guardian
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Draenei Protector)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Protector
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Draenei Watcher)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Watcher
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 达拉内尔投石车)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Demolisher
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Draenei Disciple)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Disciple
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Draenei Harbinger)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Harbinger
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Draenei Seer)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Seer
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Draenei Darkslayer)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Darkslayer
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Draenei Stalker)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Stalker
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Draenei Stalker (永久的隐形))) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Stalker
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Draenei Vindicator)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Draenei Vindicator
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Salamander)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Fire Lizard
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 虚空龙)) and do (Actions)
              Loop - Actions
                Unit - Set Name of (Picked unit) to Void Dragon
            -------- "Custom Destructibles" English Version --------
            Do nothing
            -------- "Custom Doodads" English Version --------
            Animation - Play the hide (animationname) animation for all doodads of type D000 (doodadcode) within ___________RedLantern_001_u <gen>.
            -------- Activate "TribePrisoner 001" Trigger --------
            Trigger - Turn on TribePrisoner_001 <gen>
          Else - Actions
            -------- End --------
    Trigger - Run Task_001 <gen> (checking conditions)
    Trigger - Run DialogBox_003 <gen> (checking conditions)
    Trigger - Turn on DialogBox_004 <gen>
DialogBox 003
  Events
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Dialog_Box_Language Equal to 中文
      Then - Actions
        Dialog - Change the title of Dialog_Box_Game_Mode to 请选择游戏模式:
        Dialog - Create a dialog button for Dialog_Box_Game_Mode labelled 比赛模式
        Set VariableSet Dialog_Box_Competition_Mode = (Last created dialog Button)
        Dialog - Create a dialog button for Dialog_Box_Game_Mode labelled 娱乐模式
        Set VariableSet Dialog_Box_Entertainment_Mode = (Last created dialog Button)
        Dialog - Show Dialog_Box_Game_Mode for User_Game_Player
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            Dialog_Box_Language Equal to English
          Then - Actions
            Dialog - Change the title of Dialog_Box_Game_Mode to Please Select Game Mode:
            Dialog - Create a dialog button for Dialog_Box_Game_Mode labelled Competition Mode
            Set VariableSet Dialog_Box_Competition_Mode = (Last created dialog Button)
            Dialog - Create a dialog button for Dialog_Box_Game_Mode labelled Entertainment Mode
            Set VariableSet Dialog_Box_Entertainment_Mode = (Last created dialog Button)
            Dialog - Show Dialog_Box_Game_Mode for User_Game_Player
          Else - Actions
            -------- End --------
  由於存在“比賽模式”和“娛樂模式”這兩種選項,所以根據預設與戰役、劇情、娛樂等相關的觸發器會在地圖初始化時被禁用。但是部分自定義單位的觸發器屬於單位功能性觸發器,為了保證這些單位的功能和特性在任何時候都有效,因此對其相關觸發器初始打開並保留。
DialogBox 004
  Events
    Dialog - A dialog button is clicked for Dialog_Box_Game_Mode
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Clicked dialog button) Equal to Dialog_Box_Competition_Mode
      Then - Actions
        -------- “比賽模式”對話框 --------
        Trigger - Run Task_002 <gen> (checking conditions)
        Countdown Timer - Pause Game_Mode_Selection_Timer
        Trigger - Turn off GameModeSelection_002 <gen>
        Countdown Timer - Destroy GMST_Countdown_Window
        Dialog - Hide Dialog_Box_Game_Mode for User_Game_Player
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            Dialog_Box_Language Equal to 中文
          Then - Actions
            Custom script: call ClearTextMessages( )
            Game - Display to (All players) the text: ((Name of User_Game_Player) + 选择了“比赛模式”!)
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Dialog_Box_Language Equal to English
              Then - Actions
                Custom script: call ClearTextMessages( )
                Game - Display to (All players) the text: ((Name of User_Game_Player) + Chose "Competition Mode"!)
              Else - Actions
                -------- End --------
        -------- “春節穗子”區域×2 --------
        Unit - Replace Draenei Haven 1140 <gen> with a Draenei Chieftain's Hut using The new unit's default life and mana
        Unit - Replace Draenei Haven 1147 <gen> with a Draenei Chieftain's Hut using The new unit's default life and mana
        -------- “紅燈籠”區域 --------
        Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching ((((Matching unit) is A structure) Equal to True) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Or - Any (Conditions) are true
                  Conditions
                    (Unit-type of (Picked unit)) Equal to Draenei Haven
                    (Unit-type of (Picked unit)) Equal to 达拉内尔驻防地
                    (Unit-type of (Picked unit)) Equal to 达拉内尔棱堡
              Then - Actions
                Unit - Replace (Picked unit) with a Draenei Haven using The new unit's default life and mana
                Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Change color
              Else - Actions
                Do nothing
        Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching ((((Matching unit) is A structure) Equal to True) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Or - Any (Conditions) are true
                  Conditions
                    (Unit-type of (Picked unit)) Equal to Draenei Barracks
                    (Unit-type of (Picked unit)) Equal to 先知祭坛
                    (Unit-type of (Picked unit)) Equal to Seer's Den
                    (Unit-type of (Picked unit)) Equal to 元素圣殿
                    (Unit-type of (Picked unit)) Equal to 火蜥蜴生态馆
              Then - Actions
                Unit - Replace (Picked unit) with a Draenei Barracks using The new unit's default life and mana
                Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Change color
              Else - Actions
                Do nothing
        Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching ((((Matching unit) is A structure) Equal to True) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Or - Any (Conditions) are true
                  Conditions
                    (Unit-type of (Picked unit)) Equal to 收割坊
                    (Unit-type of (Picked unit)) Equal to 达拉内尔小屋
                    (Unit-type of (Picked unit)) Equal to 虚空龙栖木
                    (Unit-type of (Picked unit)) Equal to 达拉内尔贮藏物
              Then - Actions
                Unit - Replace (Picked unit) with a Seer's Den using The new unit's default life and mana
                Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Change color
              Else - Actions
                Do nothing
        Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching ((((Matching unit) is A structure) Equal to True) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Unit-type of (Picked unit)) Equal to 达拉内尔投石塔
              Then - Actions
                Unit - Replace (Picked unit) with a Advanced Boulder Tower using The new unit's default life and mana
                Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Change color
              Else - Actions
                Do nothing
        Unit - Replace 大贤者 0632 <gen> with a Elder Sage using The new unit's default life and mana
        Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Change color
        Unit - Make (Last replaced unit) face ((Facing of (Last replaced unit)) - 180.00) over 0 seconds
        Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching (((Unit-type of (Matching unit)) Equal to Draenei Guardian) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
          Loop - Actions
            Unit - Replace (Picked unit) with a Draenei Guardian using The new unit's default life and mana
            Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Change color
            Unit - Make (Last replaced unit) face ((Facing of (Last replaced unit)) - 180.00) over 0 seconds
        Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching (((Unit-type of (Matching unit)) Equal to Draenei Protector) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
          Loop - Actions
            Unit - Replace (Picked unit) with a Draenei Protector using The new unit's default life and mana
            Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Change color
            Unit - Make (Last replaced unit) face ((Facing of (Last replaced unit)) - 180.00) over 0 seconds
        Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching (((Unit-type of (Matching unit)) Equal to Draenei Watcher) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
          Loop - Actions
            Unit - Replace (Picked unit) with a Draenei Watcher using The new unit's default life and mana
            Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Change color
            Unit - Make (Last replaced unit) face ((Facing of (Last replaced unit)) - 180.00) over 0 seconds
        Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching (((Unit-type of (Matching unit)) Equal to 达拉内尔投石车) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
          Loop - Actions
            Unit - Replace (Picked unit) with a Draenei Demolisher using The new unit's default life and mana
            Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Change color
        Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching (((Unit-type of (Matching unit)) Equal to Draenei Disciple) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
          Loop - Actions
            Unit - Replace (Picked unit) with a Draenei Disciple using The new unit's default life and mana
            Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Change color
            Unit - Make (Last replaced unit) face ((Facing of (Last replaced unit)) - 180.00) over 0 seconds
        Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching (((Unit-type of (Matching unit)) Equal to Draenei Harbinger) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
          Loop - Actions
            Unit - Replace (Picked unit) with a Draenei Harbinger using The new unit's default life and mana
            Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Change color
            Unit - Make (Last replaced unit) face ((Facing of (Last replaced unit)) - 180.00) over 0 seconds
        Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching (((Unit-type of (Matching unit)) Equal to Draenei Seer) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
          Loop - Actions
            Unit - Replace (Picked unit) with a Draenei Seer using The new unit's default life and mana
            Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Change color
            Unit - Make (Last replaced unit) face ((Facing of (Last replaced unit)) - 180.00) over 0 seconds
        Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching (((Unit-type of (Matching unit)) Equal to Draenei Darkslayer) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
          Loop - Actions
            Unit - Replace (Picked unit) with a Draenei Darkslayer using The new unit's default life and mana
            Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Change color
            Unit - Make (Last replaced unit) face ((Facing of (Last replaced unit)) - 180.00) over 0 seconds
        Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching (((Unit-type of (Matching unit)) Equal to Draenei Stalker (永久的隐形)) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
          Loop - Actions
            Unit - Replace (Picked unit) with a Draenei Stalker using The new unit's default life and mana
            Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Change color
        Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching (((Unit-type of (Matching unit)) Equal to Draenei Vindicator) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
          Loop - Actions
            Unit - Replace (Picked unit) with a Draenei Vindicator using The new unit's default life and mana
            Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Change color
            Unit - Make (Last replaced unit) face ((Facing of (Last replaced unit)) - 180.00) over 0 seconds
        Unit Group - Pick every unit in (Units in ____________________FireLizardBreedArea_u <gen> matching (((Unit-type of (Matching unit)) Equal to Salamander) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
          Loop - Actions
            Unit - Replace (Picked unit) with a Salamander using The new unit's default life and mana
            Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Change color
        Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching ((Owner of (Matching unit)) Equal to Neutral Passive)) and do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Or - Any (Conditions) are true
                  Conditions
                    (Unit-type of (Picked unit)) Equal to 礼花
                    (Unit-type of (Picked unit)) Equal to 烟花守卫
                    (Unit-type of (Picked unit)) Equal to 烟花守卫 (升级的)
                    (Unit-type of (Picked unit)) Equal to Circle of Power (large)
                    (Unit-type of (Picked unit)) Equal to Draenei Laborer
              Then - Actions
                Unit - Remove (Picked unit) from the game
              Else - Actions
                Do nothing
        Unit Group - Pick every unit in (Units within 800.00 of ((Position of 元素圣殿 0060 <gen>) offset by 512.00 towards 90.00 degrees.) matching ((Owner of (Matching unit)) Equal to Neutral Hostile).) and do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Or - Any (Conditions) are true
                  Conditions
                    (Unit-type of (Picked unit)) Equal to Draenei Disciple
                    (Unit-type of (Picked unit)) Equal to Draenei Watcher
              Then - Actions
                Unit - Make (Picked unit) face ((Facing of (Picked unit)) + 90.00) over 0 seconds
              Else - Actions
                Do nothing
        Unit Group - Pick every unit in (Units within 1150.00 of (Position of 红灯笼 0011 <gen>) matching ((Owner of (Matching unit)) Equal to Neutral Hostile).) and do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Or - Any (Conditions) are true
                  Conditions
                    (Unit-type of (Picked unit)) Equal to Draenei Harbinger
                    (Unit-type of (Picked unit)) Equal to Draenei Darkslayer
              Then - Actions
                Unit - Make (Picked unit) face ((Facing of (Picked unit)) - 90.00) over 0 seconds
              Else - Actions
                Do nothing
        Unit Group - Pick every unit in (Units within 800.00 of ((Position of 达拉内尔棱堡 0065 <gen>) offset by 512.00 towards 270.00 degrees.) matching ((Owner of (Matching unit)) Equal to Neutral Hostile).) and do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Or - Any (Conditions) are true
                  Conditions
                    (Unit-type of (Picked unit)) Equal to Draenei Disciple
                    (Unit-type of (Picked unit)) Equal to Draenei Watcher
              Then - Actions
                Unit - Make (Picked unit) face ((Facing of (Picked unit)) + 90.00) over 0 seconds
              Else - Actions
                Do nothing
        -------- “鞭炮”區域和“鞭炮爆炸”區域×2 --------
        Destructible - Remove Lever 1168 <gen>
        Destructible - Remove Lever 1168 <gen>
        Unit Group - Pick every unit in (Units in ________Firecrackers_001_u <gen> matching ((Owner of (Matching unit)) Equal to Neutral Passive)) and do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Or - Any (Conditions) are true
                  Conditions
                    (Unit-type of (Picked unit)) Equal to 触发单位 (引线 1)
                    (Unit-type of (Picked unit)) Equal to 触发单位 (鞭炮爆炸 1)
              Then - Actions
                Unit - Remove (Picked unit) from the game
              Else - Actions
                Do nothing
        Unit Group - Pick every unit in (Units in ______________ExplosionArea_001_u <gen> matching ((Unit-type of (Matching unit)) Equal to 触发单位 (鞭炮爆炸 2))) and do (Actions)
          Loop - Actions
            Unit - Remove (Picked unit) from the game
        Destructible - Remove Lever 1168 <gen>
        Destructible - Remove Lever 1168 <gen>
        Unit Group - Pick every unit in (Units in ________Firecrackers_002_u <gen> matching ((Owner of (Matching unit)) Equal to Neutral Passive)) and do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Or - Any (Conditions) are true
                  Conditions
                    (Unit-type of (Picked unit)) Equal to 触发单位 (引线 1)
                    (Unit-type of (Picked unit)) Equal to 触发单位 (鞭炮爆炸 1)
              Then - Actions
                Unit - Remove (Picked unit) from the game
              Else - Actions
                Do nothing
        Unit Group - Pick every unit in (Units in ______________ExplosionArea_002_u <gen> matching ((Unit-type of (Matching unit)) Equal to 触发单位 (鞭炮爆炸 2))) and do (Actions)
          Loop - Actions
            Unit - Remove (Picked unit) from the game
        -------- 單位“孔明燈”×36 --------
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            Dialog_Box_Language Equal to 中文
          Then - Actions
            Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to 孔明灯)) and do (Actions)
              Loop - Actions
                Unit - Replace (Picked unit) with a Fel Boar using The new unit's default life and mana
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Dialog_Box_Language Equal to English
              Then - Actions
                Unit Group - Pick every unit in (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Kongming Latern)) and do (Actions)
                  Loop - Actions
                    Unit - Replace (Picked unit) with a Fel Boar using The new unit's default life and mana
              Else - Actions
                -------- End --------
        -------- 單位“熊貓之神”×3 --------
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            Dialog_Box_Language Equal to 中文
          Then - Actions
            Unit - Replace 大地之神 0054 <gen> with a Eredar Warlock using The new unit's default life and mana
            Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Retain color
            Unit - Make (Last replaced unit) face ((Facing of (Last replaced unit)) - 180.00) over 0 seconds
            Unit - Replace 火焰之神 0056 <gen> with a Doom Guard (Standard) using The new unit's default life and mana
            Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Retain color
            Unit - Make (Last replaced unit) face ((Facing of (Last replaced unit)) - 180.00) over 0 seconds
            Unit - Replace 风暴之神 0058 <gen> with a Doom Guard (Standard) using The new unit's default life and mana
            Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Retain color
            Unit - Make (Last replaced unit) face ((Facing of (Last replaced unit)) - 180.00) over 0 seconds
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Dialog_Box_Language Equal to English
              Then - Actions
                Unit - Replace Earth_God with a Eredar Warlock using The new unit's default life and mana
                Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Retain color
                Unit - Make (Last replaced unit) face ((Facing of (Last replaced unit)) - 180.00) over 0 seconds
                Unit - Replace Fire_God with a Doom Guard (Standard) using The new unit's default life and mana
                Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Retain color
                Unit - Make (Last replaced unit) face ((Facing of (Last replaced unit)) - 180.00) over 0 seconds
                Unit - Replace Storm_God with a Doom Guard (Standard) using The new unit's default life and mana
                Unit - Change ownership of (Last replaced unit) to Neutral Hostile and Retain color
                Unit - Make (Last replaced unit) face ((Facing of (Last replaced unit)) - 180.00) over 0 seconds
              Else - Actions
                -------- End --------
        -------- 單位“微微發亮的傳送門” --------
        Unit - Remove 喷花 1324 <gen> from the game
        Unit - Remove 喷花守卫 1328 <gen> from the game
        Unit - Remove 喷花守卫 1330 <gen> from the game
        Unit - Remove 喷花 1327 <gen> from the game
        Unit - Remove 微微发亮的传送门 1332 <gen> from the game
        Unit - Remove 喷花 1325 <gen> from the game
        Unit - Remove 喷花守卫 1329 <gen> from the game
        Unit - Remove 喷花守卫 1331 <gen> from the game
        Unit - Remove 喷花 1326 <gen> from the game
        Destructible - Remove ForceWall 8543 <gen>
        Destructible - Remove ForceWall 1320 <gen>
        Animation - Play the hide (animationname) animation for all doodads of type IZrw (doodadcode) within 128.00 of ((Position of Tavern 0935 <gen>) offset by 512.00 towards 270.00 degrees.).
        -------- 建築“紅燈籠” --------
        Unit - Replace 红灯笼 0011 <gen> with a Marketplace using The new unit's default life and mana
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Clicked dialog button) Equal to Dialog_Box_Entertainment_Mode
          Then - Actions
            -------- “娛樂模式”對話框 --------
            Trigger - Run Task_002 <gen> (checking conditions)
            Trigger - Turn on CustomUnitsChineseEnglishConversion_001 <gen>
            Countdown Timer - Pause Game_Mode_Selection_Timer
            Trigger - Turn off GameModeSelection_002 <gen>
            Countdown Timer - Destroy GMST_Countdown_Window
            Dialog - Hide Dialog_Box_Game_Mode for User_Game_Player
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Dialog_Box_Language Equal to 中文
              Then - Actions
                Custom script: call ClearTextMessages( )
                Game - Display to (All players) the text: ((Name of User_Game_Player) + 选择了“娱乐模式”!)
              Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    Dialog_Box_Language Equal to English
                  Then - Actions
                    Custom script: call ClearTextMessages( )
                    Game - Display to (All players) the text: ((Name of User_Game_Player) + Chose "Entertainment Mode"!)
                  Else - Actions
                    -------- End --------
            -------- 遊戲晝夜時間 --------
            Trigger - Turn on GameDayAndNightTime_001 <gen>
            Trigger - Run GameDayAndNightTime_001 <gen> (checking conditions)
            -------- “春節穗子”區域×2 --------
            Trigger - Turn on DraeneiHavenDeath_001 <gen>
            -------- “紅燈籠”區域 --------
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Random integer number between 1 and 100) Greater than or equal to 20
              Then - Actions
                Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching ((((Matching unit) is A structure) Equal to True) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
                  Loop - Actions
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      If - Conditions
                        Or - Any (Conditions) are true
                          Conditions
                            (Unit-type of (Picked unit)) Equal to 收割坊
                            (Unit-type of (Picked unit)) Equal to 虚空龙栖木
                      Then - Actions
                        Unit - Replace (Picked unit) with a 达拉内尔小屋 using The new unit's default life and mana
                      Else - Actions
                        Do nothing
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      If - Conditions
                        Or - Any (Conditions) are true
                          Conditions
                            (Unit-type of (Picked unit)) Equal to 先知祭坛
                            (Unit-type of (Picked unit)) Equal to Seer's Den
                            (Unit-type of (Picked unit)) Equal to 元素圣殿
                            (Unit-type of (Picked unit)) Equal to 火蜥蜴生态馆
                      Then - Actions
                        Unit - Replace (Picked unit) with a Draenei Barracks using The new unit's default life and mana
                      Else - Actions
                        Do nothing
              Else - Actions
                Do nothing
            Trigger - Turn on SpringFestivalGala_001 <gen>
            Trigger - Run SpringFestivalGala_001 <gen> (checking conditions)
            Trigger - Turn on SpringFestivalGala_003 <gen>
            Trigger - Turn on SpringFestivalGala_004 <gen>
            Trigger - Turn on SpringFestivalGala_005 <gen>
            Trigger - Turn on SpringFestivalGala_006 <gen>
            Trigger - Turn on SpringFestivalGala_007 <gen>
            Trigger - Turn on SpringFestivalGala_008 <gen>
            Trigger - Turn on SpringFestivalGala_009 <gen>
            Trigger - Turn off FireLizardDeath_001 <gen>
            Trigger - Turn on FireLizardDeath_002 <gen>
            -------- “鞭炮”區域和“鞭炮爆炸”區域×2 --------
            Trigger - Turn on FirecrackersControlRod_001 <gen>
            Trigger - Run FirecrackersControlRod_001 <gen> (checking conditions)
            Trigger - Turn on FirecrackersControlRod_002 <gen>
            Trigger - Turn on Firecrackers_001 <gen>
            Trigger - Run Firecrackers_001 <gen> (checking conditions)
            Trigger - Turn on Firecrackers_002 <gen>
            Trigger - Turn on Firecrackers_003 <gen>
            Trigger - Turn on Firecrackers_004 <gen>
            Trigger - Turn on Firecrackers_005 <gen>
            -------- 單位“孔明燈”×36 --------
            Trigger - Turn on KongmingLaternMakeWish_001 <gen>
            Trigger - Run KongmingLaternMakeWish_001 <gen> (checking conditions)
            Trigger - Turn on KongmingLaternMakeWish_002 <gen>
            -------- 單位“熊貓之神”×3 --------
            Trigger - Turn on PandaGodCelebrate_001 <gen>
            Trigger - Run PandaGodCelebrate_001 <gen> (checking conditions)
            Trigger - Turn on PandaGodCelebrate_003 <gen>
            Trigger - Turn on PandaGodCelebrate_004 <gen>
            Trigger - Turn on PandaGodCelebrate_005 <gen>
            Trigger - Turn on PandaGodCelebrate_006 <gen>
            Trigger - Turn on PandaGodCelebrate_007 <gen>
            Trigger - Turn on PandaGodCelebrate_008 <gen>
            Trigger - Turn on PandaGodCelebrate_009 <gen>
            -------- 單位“微微發亮的傳送門” --------
            Trigger - Turn on ShimmeringPortal_001 <gen>
            Trigger - Run ShimmeringPortal_001 <gen> (checking conditions)
            Trigger - Turn on ShimmeringPortal_002 <gen>
            Trigger - Turn on ShimmeringPortal_003 <gen>
            Trigger - Turn on ShimmeringPortal_005 <gen>
            Trigger - Turn on ShimmeringPortal_006 <gen>
            Trigger - Turn on ShimmeringPortal_007 <gen>
            Trigger - Turn on ShimmeringPortal_008 <gen>
            Trigger - Turn on ShimmeringPortal_009 <gen>
            -------- 建築“紅燈籠” --------
            Trigger - Turn on RedLanternCome_001 <gen>
            Trigger - Run RedLanternCome_001 <gen> (checking conditions)
            Trigger - Turn on RedLanternCome_002 <gen>
            Trigger - Turn on RedLanternCome_003 <gen>
          Else - Actions
            -------- End --------
    Trigger - Run Akama_001 <gen> (checking conditions)
    Trigger - Run ElderSage_001 <gen> (checking conditions)
    Trigger - Run PlayerStartingPoint_001 <gen> (checking conditions)
    Trigger - Run PlayerStartingPointBUGRepair_001 <gen> (checking conditions)
GameModeSelection 001
  Events
    Time - Elapsed game time is 0.00 seconds
  Conditions
  Actions
    Countdown Timer - Start (Last started timer) as a One-shot timer that will expire in 60.00 seconds
    Set VariableSet Game_Mode_Selection_Timer = (Last started timer)
    Countdown Timer - Create a timer window for (Last started timer) with title 游戏模式选择时间:
    Set VariableSet GMST_Countdown_Window = (Last created timer window)
    Trigger - Add to GameModeSelection_002 <gen> the event (Game_Mode_Selection_Timer expires)
GameModeSelection 002
  Events
  Conditions
  Actions
    -------- 缺省模式(未選擇) --------
    Set VariableSet Dialog_Box_Language = 中文
    Countdown Timer - Destroy GMST_Countdown_Window
    Dialog - Hide Dialog_Box_Game_Language for User_Game_Player
    Dialog - Hide Dialog_Box_Game_Mode for User_Game_Player
    Trigger - Run Task_002 <gen> (checking conditions)
    Game - Display to (All players) the text: ((Name of User_Game_Player) + 选择模式超时,现由系统选择“缺省模式”!)
    Game - Display to (All players) the text: ((Name of User_Game_Player) + Select mode timeout, now the system selects "Default Mode"!)
    -------- 遊戲晝夜時間 --------
    Trigger - Turn on GameDayAndNightTime_001 <gen>
    Trigger - Run GameDayAndNightTime_001 <gen> (checking conditions)
    -------- “春節穗子”區域×2 --------
    Trigger - Turn on DraeneiHavenDeath_001 <gen>
    -------- “紅燈籠”區域 --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Random integer number between 1 and 100) Greater than or equal to 20
      Then - Actions
        Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching ((((Matching unit) is A structure) Equal to True) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Or - Any (Conditions) are true
                  Conditions
                    (Unit-type of (Picked unit)) Equal to 收割坊
                    (Unit-type of (Picked unit)) Equal to 虚空龙栖木
              Then - Actions
                Unit - Replace (Picked unit) with a 达拉内尔小屋 using The new unit's default life and mana
              Else - Actions
                Do nothing
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Or - Any (Conditions) are true
                  Conditions
                    (Unit-type of (Picked unit)) Equal to 先知祭坛
                    (Unit-type of (Picked unit)) Equal to Seer's Den
                    (Unit-type of (Picked unit)) Equal to 元素圣殿
                    (Unit-type of (Picked unit)) Equal to 火蜥蜴生态馆
              Then - Actions
                Unit - Replace (Picked unit) with a Draenei Barracks using The new unit's default life and mana
              Else - Actions
                Do nothing
      Else - Actions
        Do nothing
    Trigger - Turn on SpringFestivalGala_001 <gen>
    Trigger - Run SpringFestivalGala_001 <gen> (checking conditions)
    Trigger - Turn on SpringFestivalGala_003 <gen>
    Trigger - Turn on SpringFestivalGala_004 <gen>
    Trigger - Turn on SpringFestivalGala_005 <gen>
    Trigger - Turn on SpringFestivalGala_006 <gen>
    Trigger - Turn on SpringFestivalGala_007 <gen>
    Trigger - Turn on SpringFestivalGala_008 <gen>
    Trigger - Turn on SpringFestivalGala_009 <gen>
    Trigger - Turn off FireLizardDeath_001 <gen>
    Trigger - Turn on FireLizardDeath_002 <gen>
    -------- “鞭炮”區域和“鞭炮爆炸”區域×2 --------
    Trigger - Turn on FirecrackersControlRod_001 <gen>
    Trigger - Run FirecrackersControlRod_001 <gen> (checking conditions)
    Trigger - Turn on FirecrackersControlRod_002 <gen>
    Trigger - Turn on Firecrackers_001 <gen>
    Trigger - Run Firecrackers_001 <gen> (checking conditions)
    Trigger - Turn on Firecrackers_002 <gen>
    Trigger - Turn on Firecrackers_003 <gen>
    Trigger - Turn on Firecrackers_004 <gen>
    Trigger - Turn on Firecrackers_005 <gen>
    -------- 單位“孔明燈”×36 --------
    Trigger - Turn on KongmingLaternMakeWish_001 <gen>
    Trigger - Run KongmingLaternMakeWish_001 <gen> (checking conditions)
    Trigger - Turn on KongmingLaternMakeWish_002 <gen>
    -------- 單位“熊貓之神”×3 --------
    Set VariableSet Earth_God = 大地之神 0054 <gen>
    Set VariableSet Fire_God = 火焰之神 0056 <gen>
    Set VariableSet Storm_God = 风暴之神 0058 <gen>
    Trigger - Turn on PandaGodCelebrate_001 <gen>
    Trigger - Run PandaGodCelebrate_001 <gen> (checking conditions)
    Trigger - Turn on PandaGodCelebrate_003 <gen>
    Trigger - Turn on PandaGodCelebrate_004 <gen>
    Trigger - Turn on PandaGodCelebrate_005 <gen>
    Trigger - Turn on PandaGodCelebrate_006 <gen>
    Trigger - Turn on PandaGodCelebrate_007 <gen>
    Trigger - Turn on PandaGodCelebrate_008 <gen>
    Trigger - Turn on PandaGodCelebrate_009 <gen>
    -------- 單位“微微發亮的傳送門” --------
    Trigger - Turn on ShimmeringPortal_001 <gen>
    Trigger - Run ShimmeringPortal_001 <gen> (checking conditions)
    Trigger - Turn on ShimmeringPortal_002 <gen>
    Trigger - Turn on ShimmeringPortal_003 <gen>
    Trigger - Turn on ShimmeringPortal_005 <gen>
    Trigger - Turn on ShimmeringPortal_006 <gen>
    Trigger - Turn on ShimmeringPortal_007 <gen>
    Trigger - Turn on ShimmeringPortal_008 <gen>
    Trigger - Turn on ShimmeringPortal_009 <gen>
    -------- 建築“紅燈籠” --------
    Trigger - Turn on RedLanternCome_001 <gen>
    Trigger - Run RedLanternCome_001 <gen> (checking conditions)
    Trigger - Turn on RedLanternCome_002 <gen>
    Trigger - Turn on RedLanternCome_003 <gen>
    -------- 對戰初始化 --------
    Trigger - Run PlayerStartingPoint_001 <gen> (checking conditions)
    Trigger - Run PlayerStartingPointBUGRepair_001 <gen> (checking conditions)
GamePlayerNumberCheck 001
  Events
    Map initialization
  Conditions
  Actions
    Set VariableSet Game_Player_Number_Check = (Number of players)
    Set VariableSet Game_Player_Number_Check = (Game_Player_Number_Check + 4)
GamePlayerPopulationCheck 001
  Events
    Map initialization
  Conditions
  Actions
    Set VariableSet Mass_Invisible_Totality = (Player 1 (Red) Food max)
    Set VariableSet Shadow_Dagger_Blade_Totality = (Player 1 (Red) Food max)
GamePlayerControllerCheck 001
  Events
    Map initialization
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 1 (Red) controller) Equal to User
      Then - Actions
        Set VariableSet User_Game_Player = Player 1 (Red)
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Player 2 (Blue) controller) Equal to User
          Then - Actions
            Set VariableSet User_Game_Player = Player 2 (Blue)
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Player 3 (Teal) controller) Equal to User
              Then - Actions
                Set VariableSet User_Game_Player = Player 3 (Teal)
              Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    (Player 4 (Purple) controller) Equal to User
                  Then - Actions
                    Set VariableSet User_Game_Player = Player 4 (Purple)
                  Else - Actions
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      If - Conditions
                        (Player 5 (Yellow) controller) Equal to User
                      Then - Actions
                        Set VariableSet User_Game_Player = Player 5 (Yellow)
                      Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                          If - Conditions
                            (Player 6 (Orange) controller) Equal to User
                          Then - Actions
                            Set VariableSet User_Game_Player = Player 6 (Orange)
                          Else - Actions
                            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                              If - Conditions
                                (Player 7 (Green) controller) Equal to User
                              Then - Actions
                                Set VariableSet User_Game_Player = Player 7 (Green)
                              Else - Actions
                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                  If - Conditions
                                    (Player 8 (Pink) controller) Equal to User
                                  Then - Actions
                                    Set VariableSet User_Game_Player = Player 8 (Pink)
                                  Else - Actions
                                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                      If - Conditions
                                        (Player 9 (Gray) controller) Equal to User
                                      Then - Actions
                                        Set VariableSet User_Game_Player = Player 9 (Gray)
                                      Else - Actions
                                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                          If - Conditions
                                            (Player 10 (Light Blue) controller) Equal to User
                                          Then - Actions
                                            Set VariableSet User_Game_Player = Player 10 (Light Blue)
                                          Else - Actions
                                            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                              If - Conditions
                                                (Player 11 (Dark Green) controller) Equal to User
                                              Then - Actions
                                                Set VariableSet User_Game_Player = Player 11 (Dark Green)
                                              Else - Actions
                                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                  If - Conditions
                                                    (Player 12 (Brown) controller) Equal to User
                                                  Then - Actions
                                                    Set VariableSet User_Game_Player = Player 12 (Brown)
                                                  Else - Actions
                                                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                      If - Conditions
                                                        (Player 13 (Maroon) controller) Equal to User
                                                      Then - Actions
                                                        Set VariableSet User_Game_Player = Player 13 (Maroon)
                                                      Else - Actions
                                                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                          If - Conditions
                                                            (Player 14 (Navy) controller) Equal to User
                                                          Then - Actions
                                                            Set VariableSet User_Game_Player = Player 14 (Navy)
                                                          Else - Actions
                                                            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                              If - Conditions
                                                                (Player 15 (Turquoise) controller) Equal to User
                                                              Then - Actions
                                                                Set VariableSet User_Game_Player = Player 15 (Turquoise)
                                                              Else - Actions
                                                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                  If - Conditions
                                                                    (Player 16 (Violet) controller) Equal to User
                                                                  Then - Actions
                                                                    Set VariableSet User_Game_Player = Player 16 (Violet)
                                                                  Else - Actions
                                                                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                      If - Conditions
                                                                        (Player 17 (Wheat) controller) Equal to User
                                                                      Then - Actions
                                                                        Set VariableSet User_Game_Player = Player 17 (Wheat)
                                                                      Else - Actions
                                                                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                          If - Conditions
                                                                            (Player 18 (Peach) controller) Equal to User
                                                                          Then - Actions
                                                                            Set VariableSet User_Game_Player = Player 18 (Peach)
                                                                          Else - Actions
                                                                            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                              If - Conditions
                                                                                (Player 19 (Mint) controller) Equal to User
                                                                              Then - Actions
                                                                                Set VariableSet User_Game_Player = Player 19 (Mint)
                                                                              Else - Actions
                                                                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                                  If - Conditions
                                                                                    (Player 20 (Lavender) controller) Equal to User
                                                                                  Then - Actions
                                                                                    Set VariableSet User_Game_Player = Player 20 (Lavender)
                                                                                  Else - Actions
                                                                                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                                      If - Conditions
                                                                                        (Player 21 (Coal) controller) Equal to User
                                                                                      Then - Actions
                                                                                        Set VariableSet User_Game_Player = Player 21 (Coal)
                                                                                      Else - Actions
                                                                                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                                          If - Conditions
                                                                                            (Player 22 (Snow) controller) Equal to User
                                                                                          Then - Actions
                                                                                            Set VariableSet User_Game_Player = Player 22 (Snow)
                                                                                          Else - Actions
                                                                                            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                                              If - Conditions
                                                                                                (Player 23 (Emerald) controller) Equal to User
                                                                                              Then - Actions
                                                                                                Set VariableSet User_Game_Player = Player 23 (Emerald)
                                                                                              Else - Actions
                                                                                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                                                  If - Conditions
                                                                                                    (Player 24 (Peanut) controller) Equal to User
                                                                                                  Then - Actions
                                                                                                    Set VariableSet User_Game_Player = Player 24 (Peanut)
                                                                                                  Else - Actions
                                                                                                    -------- End --------
SpringFestivalGala 001
  Events
    Map initialization
  Conditions
  Actions
    -------- 達拉内爾部落 --------
    Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching ((((Matching unit) is A structure) Equal to True) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            Or - Any (Conditions) are true
              Conditions
                (Unit-type of (Picked unit)) Equal to Draenei Haven
                (Unit-type of (Picked unit)) Equal to 达拉内尔驻防地
                (Unit-type of (Picked unit)) Equal to 达拉内尔棱堡
                (Unit-type of (Picked unit)) Equal to Draenei Barracks
                (Unit-type of (Picked unit)) Equal to 收割坊
                (Unit-type of (Picked unit)) Equal to 达拉内尔投石塔
                (Unit-type of (Picked unit)) Equal to 达拉内尔小屋
                (Unit-type of (Picked unit)) Equal to 先知祭坛
                (Unit-type of (Picked unit)) Equal to Seer's Den
                (Unit-type of (Picked unit)) Equal to 元素圣殿
                (Unit-type of (Picked unit)) Equal to 火蜥蜴生态馆
                (Unit-type of (Picked unit)) Equal to 虚空龙栖木
                (Unit-type of (Picked unit)) Equal to 达拉内尔贮藏物
          Then - Actions
            Unit - Make (Picked unit) Invulnerable
          Else - Actions
            Do nothing
    Unit Group - Pick every unit in (Units in ____________________FireLizardBreedArea_u <gen> matching (((Unit-type of (Matching unit)) Equal to Salamander) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
      Loop - Actions
        Unit - Change ownership of (Picked unit) to Neutral Extra and Retain color
        Unit - Make (Picked unit) Invulnerable
        Unit - Add Wander (Neutral) to (Picked unit)
    -------- 達拉内爾部落(烟花/禮炮) --------
    Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching (((Unit-type of (Matching unit)) Equal to 烟花守卫) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
      Loop - Actions
        Unit - Make (Picked unit) Invulnerable
        Unit Group - Add (Picked unit) to Fireworks
        Animation - Play (Picked unit)'s morph (animationname) animation
        Unit - Create 1.烟花 for (Owner of (Picked unit)) at (Position of (Picked unit)) facing (Random angle) degrees
        Unit - Create 1.触发单位 (引线 1) for (Owner of (Picked unit)) at (Position of (Picked unit)) facing (Random angle) degrees
        Unit - Add a 0.12 second Generic expiration timer to (Last created unit)
        Unit - Order (Last created unit) to Attack Once.(Picked unit)
    Trigger - Run SpringFestivalGala_002 <gen> (checking conditions)
    -------- 達拉内爾部落(烟花/禮炮(升級版)) --------
    Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching (((Unit-type of (Matching unit)) Equal to 烟花守卫 (升级的)) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
      Loop - Actions
        Unit - Make (Picked unit) Invulnerable
        Unit Group - Add (Picked unit) to Fireworks_Upgrade
        Animation - Play (Picked unit)'s morph upgrade (animationname) animation
    -------- 達拉内爾部落(烟花/禮炮(隨機燃放)) --------
    Unit Group - Add 礼花 0736 <gen> to Fireworks_Display
    Unit Group - Add 礼花 0735 <gen> to Fireworks_Display
    Unit Group - Add 礼花 0742 <gen> to Fireworks_Display
    Unit Group - Add 礼花 0738 <gen> to Fireworks_Display
    Unit Group - Add 礼花 0739 <gen> to Fireworks_Display
    Unit Group - Add 礼花 0740 <gen> to Fireworks_Display
    Unit Group - Add 礼花 0737 <gen> to Fireworks_Display
    Unit Group - Add 礼花 0741 <gen> to Fireworks_Display
    -------- 達拉内爾部落(禮炮聲) --------
    Sound - Add Fireworks <gen> across ___________RedLantern_001_u <gen>
    -------- 達拉内爾土著(賞花燈) --------
    Unit Group - Add Draenei Guardian 0637 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Disciple 0635 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Guardian 0636 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Guardian 0642 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Disciple 0641 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Disciple 0640 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Guardian 0638 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Guardian 0645 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Disciple 0643 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Guardian 0644 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Watcher 0627 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Harbinger 0623 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Watcher 0625 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0631 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0624 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0629 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Darkslayer 0620 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Seer 0605 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Darkslayer 0622 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0633 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0619 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0630 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Watcher 0628 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Harbinger 0621 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Watcher 0626 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0650 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0648 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0649 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Seer 0651 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Seer 0653 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Seer 0655 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Seer 0654 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0634 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0639 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0647 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Guardian 0683 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Disciple 0681 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Guardian 0682 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Guardian 0680 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Disciple 0679 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Disciple 0678 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Guardian 0677 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Guardian 0685 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Disciple 0686 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Guardian 0684 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Watcher 0664 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Harbinger 0662 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Watcher 0663 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0671 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0669 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0670 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Darkslayer 0667 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Seer 0665 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Darkslayer 0666 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0673 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0668 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0672 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Watcher 0675 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Harbinger 0661 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Watcher 0674 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0656 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0646 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0652 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Seer 0657 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Seer 0732 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Seer 0733 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Seer 0660 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0658 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0600 <gen> to Enjoy_Flower_Lamp
    Unit Group - Add Draenei Protector 0659 <gen> to Enjoy_Flower_Lamp
    Wait 0.00 game-time seconds
    Unit Group - Pick every unit in Enjoy_Flower_Lamp and do (Actions)
      Loop - Actions
        Unit - Make (Picked unit) Invulnerable
    Unit Group - Pick every unit in (Units in ___________RedLantern_001_u <gen> matching (((Unit-type of (Matching unit)) Equal to Draenei Laborer) and ((Owner of (Matching unit)) Equal to Neutral Passive))) and do (Actions)
      Loop - Actions
        Unit - Make (Picked unit) Invulnerable
    -------- 達拉内爾土著(篝火會) --------
    Unit Group - Add Draenei Disciple 0604 <gen> to Bonfire_Party
    Unit Group - Add Draenei Watcher 0603 <gen> to Bonfire_Party
    Unit Group - Add Draenei Disciple 0606 <gen> to Bonfire_Party
    Unit Group - Add Draenei Watcher 0610 <gen> to Bonfire_Party
    Unit Group - Add Draenei Disciple 0609 <gen> to Bonfire_Party
    Unit Group - Add Draenei Watcher 0607 <gen> to Bonfire_Party
    Unit Group - Add Draenei Disciple 0608 <gen> to Bonfire_Party
    Unit Group - Add Draenei Watcher 0602 <gen> to Bonfire_Party
    Unit Group - Add Draenei Disciple 0612 <gen> to Bonfire_Party
    Unit Group - Add Draenei Watcher 0613 <gen> to Bonfire_Party
    Unit Group - Add Draenei Disciple 0615 <gen> to Bonfire_Party
    Unit Group - Add Draenei Watcher 0616 <gen> to Bonfire_Party
    Unit Group - Add Draenei Disciple 0618 <gen> to Bonfire_Party
    Unit Group - Add Draenei Watcher 0617 <gen> to Bonfire_Party
    Unit Group - Add Draenei Disciple 0614 <gen> to Bonfire_Party
    Unit Group - Add Draenei Watcher 0611 <gen> to Bonfire_Party
    Wait 0.00 game-time seconds
    Unit Group - Pick every unit in Bonfire_Party and do (Actions)
      Loop - Actions
        Unit - Make (Picked unit) Invulnerable
        Unit - Turn collision for (Picked unit) Off.
    -------- 達拉内爾土著(春節/元宵節) --------
    Unit Group - Add Draenei Harbinger 0077 <gen> to Lantern_Festival
    Unit Group - Add Draenei Darkslayer 0084 <gen> to Lantern_Festival
    Unit Group - Add Draenei Harbinger 0078 <gen> to Lantern_Festival
    Unit Group - Add Draenei Darkslayer 0589 <gen> to Lantern_Festival
    Unit Group - Add Draenei Harbinger 0591 <gen> to Lantern_Festival
    Unit Group - Add Draenei Darkslayer 0588 <gen> to Lantern_Festival
    Unit Group - Add Draenei Harbinger 0598 <gen> to Lantern_Festival
    Unit Group - Add Draenei Darkslayer 0596 <gen> to Lantern_Festival
    Unit Group - Add Draenei Harbinger 0597 <gen> to Lantern_Festival
    Unit Group - Add Draenei Darkslayer 0601 <gen> to Lantern_Festival
    Unit Group - Add Draenei Harbinger 0599 <gen> to Lantern_Festival
    Unit Group - Add Draenei Darkslayer 0595 <gen> to Lantern_Festival
    Unit Group - Add Draenei Harbinger 0594 <gen> to Lantern_Festival
    Unit Group - Add Draenei Darkslayer 0593 <gen> to Lantern_Festival
    Unit Group - Add Draenei Harbinger 0590 <gen> to Lantern_Festival
    Unit Group - Add Draenei Darkslayer 0592 <gen> to Lantern_Festival
    Wait 0.00 game-time seconds
    Unit Group - Pick every unit in Lantern_Festival and do (Actions)
      Loop - Actions
        Unit - Make (Picked unit) Invulnerable
        Unit - Turn collision for (Picked unit) Off.
    -------- 達拉内爾大賢者(祭神) --------
    Unit Group - Add Draenei Stalker 0747 <gen> to Sacrifice_Gods
    Unit Group - Add Draenei Stalker 0746 <gen> to Sacrifice_Gods
    Unit Group - Add Draenei Stalker 0745 <gen> to Sacrifice_Gods
    Unit Group - Add Draenei Stalker 0752 <gen> to Sacrifice_Gods
    Unit Group - Add Draenei Stalker 0751 <gen> to Sacrifice_Gods
    Unit Group - Add Draenei Stalker 0750 <gen> to Sacrifice_Gods
    Unit Group - Add Draenei Stalker 0749 <gen> to Sacrifice_Gods
    Unit Group - Add Draenei Vindicator 0744 <gen> to Sacrifice_Gods
    Unit Group - Add Draenei Vindicator 0743 <gen> to Sacrifice_Gods
    Unit Group - Add 大贤者 0632 <gen> to Sacrifice_Gods
    Unit - Remove 影遁 (达拉内尔) from Draenei Vindicator 0744 <gen>
    Unit - Remove 影遁 (达拉内尔) from Draenei Vindicator 0743 <gen>
    Unit - Remove 影遁 (达拉内尔) from 大贤者 0632 <gen>
    Unit Group - Pick every unit in Sacrifice_Gods and do (Actions)
      Loop - Actions
        Unit - Make (Picked unit) Invulnerable
SpringFestivalGala 002
  Events
  Conditions
  Actions
    Wait 5.60 seconds
    Unit Group - Pick every unit in Fireworks and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Percentage life of (Picked unit)) Less than or equal to 90.00
          Then - Actions
            Unit - Create 1.烟花 for (Owner of (Picked unit)) at (Position of (Picked unit)) facing (Random angle) degrees
          Else - Actions
            Do nothing
    Unit Group - Pick every unit in Fireworks and do (Actions)
      Loop - Actions
        Unit - Set life of (Picked unit) to 100%
        Unit - Make (Picked unit) Invulnerable
SpringFestivalGala 003
  Events
    Time - Every 2.80 seconds of game time
  Conditions
  Actions
    -------- 烟花/禮花 --------
    Unit - Set the custom value of 礼花 0736 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 礼花 0735 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 礼花 0742 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 礼花 0738 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 礼花 0739 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 礼花 0740 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 礼花 0737 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 礼花 0741 <gen> to (Random integer number between 0 and 1)
    -------- 烟花守衛 --------
    Unit - Set the custom value of 烟花守卫 0695 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0702 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0700 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0696 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0698 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0697 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0699 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0701 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0703 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0694 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0692 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0690 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0689 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0688 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0676 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0691 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0687 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0693 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0713 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0720 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0718 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0723 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0716 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0717 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0724 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0719 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0721 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0712 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0710 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0708 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0707 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0706 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0704 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0709 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0705 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0711 <gen> to (Random integer number between 0 and 1)
    -------- 烟花守衛(升級版) --------
    Unit - Set the custom value of 烟花守卫 0714 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0727 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0715 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0726 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0734 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0729 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0730 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0731 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0728 <gen> to (Random integer number between 0 and 1)
    Unit - Set the custom value of 烟花守卫 0725 <gen> to (Random integer number between 0 and 1)
    -------- 烟花守衛(附加量) --------
    Unit Group - Pick every unit in Fireworks and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Custom value of (Picked unit)) Equal to 1
          Then - Actions
            Unit - Create 1.烟花 for (Owner of (Picked unit)) at (Position of (Picked unit)) facing (Random angle) degrees
            Unit - Add a 2.80 second Generic expiration timer to (Last created unit)
          Else - Actions
            Do nothing
    -------- 烟花/禮炮(样式变数) --------
    Set VariableSet SF_Fireworks_Pattern = (Random integer number between 1 and 4)
SpringFestivalGala 004
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to 散状烟花
    (Unit-type of (Casting unit)) Equal to 触发单位 (引线 1)
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Random integer number between 1 and 2) Equal to 1
      Then - Actions
        Unit - Create 1.特效单位 (烟花守卫 (升级的) 1) for (Owner of (Casting unit)) at (Position of (Casting unit)) facing (Random angle) degrees
        Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
        Animation - Change (Last created unit) flying height to 650.00 at 0.00
        Wait 0.50 seconds
        Unit - Create 1.特效单位 (烟花守卫 (升级的) 2) for (Owner of (Casting unit)) at (Position of (Casting unit)) facing (Random angle) degrees
        Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
        Animation - Change (Last created unit) flying height to 650.00 at 0.00
      Else - Actions
        Unit - Create 1.特效单位 (烟花守卫 (升级的) 3) for (Owner of (Casting unit)) at (Position of (Casting unit)) facing (Random angle) degrees
        Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
        Animation - Change (Last created unit) flying height to 650.00 at 0.00
        Wait 0.50 seconds
        Unit - Create 1.特效单位 (烟花守卫 (升级的) 4) for (Owner of (Casting unit)) at (Position of (Casting unit)) facing (Random angle) degrees
        Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
        Animation - Change (Last created unit) flying height to 650.00 at 0.00
SpringFestivalGala 005
  Events
    Time - Every 1.75 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in Fireworks_Upgrade and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Custom value of (Picked unit)) Equal to 1
          Then - Actions
            Animation - Play (Picked unit)'s attack upgrade alternate (animationname) animation
            Unit - Create 1.烟花 for (Owner of (Picked unit)) at (Position of (Picked unit)) facing (Random angle) degrees
            Unit - Add a 0.40 second Generic expiration timer to (Last created unit)
            Unit - Create 1.触发单位 (引线 1) for (Owner of (Picked unit)) at (Position of (Picked unit)) facing (Random angle) degrees
            Unit - Add a 2.80 second Generic expiration timer to (Last created unit)
            Unit - Order (Last created unit) to Human Mortar Team - Flare.(Position of (Last created unit))
          Else - Actions
            Animation - Play (Picked unit)'s stand upgrade alternate (animationname) animation
SpringFestivalGala 006
  Events
    Unit - A unit leaves ___________RedLantern_001_u <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Unit-type of (Leaving unit)) Equal to 礼花
        (Unit-type of (Leaving unit)) Equal to Fireworks Display
    ((Leaving unit) is in Fireworks_Display.) Equal to True
  Actions
    Unit - Order (Leaving unit) to Move To.(Random point in ___________RedLantern_001_u <gen>)
SpringFestivalGala 007
  Events
    Time - Every 3.50 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in Fireworks_Display and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Random integer number between 0 and 1) Equal to 1
          Then - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Custom value of (Picked unit)) Equal to 1
              Then - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    SF_Fireworks_Pattern Equal to 1
                  Then - Actions
                    Unit - Create 1.特效单位 (熊猫烟火队 1) for (Owner of (Picked unit)) at (Position of (Picked unit)) facing (Random angle) degrees
                  Else - Actions
                    Do nothing
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    SF_Fireworks_Pattern Equal to 2
                  Then - Actions
                    Unit - Create 1.特效单位 (熊猫烟火队 2) for (Owner of (Picked unit)) at (Position of (Picked unit)) facing (Random angle) degrees
                  Else - Actions
                    Do nothing
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    SF_Fireworks_Pattern Equal to 3
                  Then - Actions
                    Unit - Create 1.特效单位 (熊猫烟火队 3) for (Owner of (Picked unit)) at (Position of (Picked unit)) facing (Random angle) degrees
                  Else - Actions
                    Do nothing
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    SF_Fireworks_Pattern Equal to 4
                  Then - Actions
                    Unit - Create 1.特效单位 (熊猫烟火队 4) for (Owner of (Picked unit)) at (Position of (Picked unit)) facing (Random angle) degrees
                  Else - Actions
                    Do nothing
                Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
                Animation - Change (Last created unit) flying height to (Current flying height of (Picked unit)) at 0.00
                Sound - Play FireworksExplosions <gen> at 100% volume, located at (Position of (Last created unit)) with Z offset (Current flying height of (Last created unit))
              Else - Actions
                Do nothing
          Else - Actions