wizarD_AT

Untitled

Nov 12th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 109.83 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <Scene>
  3. <model>ch_havindr_arena</model>
  4. <fog start="260" end="400" color="0.75,0.75,1"/>
  5. <reverb roomType="10" mix="40" />
  6. <Indoor>false</Indoor>
  7. <Clouds Intensity="0.5" Texture="../Textures/Sky/Clouds" scale="0.8" movement="-0.03,-0.005" />
  8.  
  9.  
  10. <RuleSet type="Survival" waves="3">
  11. <spawnAreas>
  12. <area>north</area>
  13. <area>west</area>
  14. <area>east</area>
  15. <area>south</area>
  16. <area>northwest</area>
  17. <area>northeast</area>
  18. <area>southeast</area>
  19. <area>southwest</area>
  20. </spawnAreas>
  21. </RuleSet>
  22.  
  23.  
  24. <trigger id="Start" repeat="false">
  25. <if />
  26. <then>
  27. <cameramagnify magnification="0.75"/>
  28. <playMusic cue="music_encounter" delay="3"/>
  29. <!--<addCameraEffect effect="weather_sparks"/>-->
  30.  
  31. <counter name="wavecheck_started" action="set" value="0"/> <!-- Set the counter responsible for proper wave starting. Only used by nextwave-trigger -->
  32. <counter name="wavecheck_wavenumber" action="set" value="1"/> <!-- Set the second counter responsible for proper wave starting -->
  33.  
  34. <counter name="grease" action="set" value="0"/>
  35. <counter name="haste" action="set" value="0"/>
  36. <counter name="invisibility" action="set" value="0"/><!--<magick id="player1" magicktype="invisibility"/><unlockMagick magicktype="invisibility" delay="0.1" />-->
  37. <counter name="rain" action="set" value="0"/>
  38. <counter name="timewarp" action="set" value="0"/>
  39. <counter name="sphoenix" action="set" value="0"/>
  40. <counter name="nullify" action="set" value="0"/>
  41. <counter name="judgementspray" action="set" value="0"/>
  42. <counter name="wave" action="set" value="0"/>
  43. <counter name="levitate" action="set" value="0"/>
  44. <counter name="chainlightning" action="set" value="0"/>
  45. <counter name="portal" action="set" value="0"/>
  46. <counter name="teleport" action="set" value="0"/>
  47. <counter name="charm" action="set" value="0"/>
  48. <counter name="meteors" action="set" value="0"/>
  49. <counter name="confuse" action="set" value="0"/>
  50. <counter name="fear" action="set" value="0"/>
  51. <counter name="tornado" action="set" value="0"/>
  52. <counter name="blizzard" action="set" value="0"/>
  53. <counter name="conflagration" action="set" value="0"/>
  54. <counter name="tractorpull" action="set" value="0"/>
  55. <counter name="performanceenchantment" action="set" value="0"/>
  56. <counter name="proppmagick" action="set" value="0"/>
  57. <counter name="thunderb" action="set" value="0"/>
  58. <counter name="ctd" action="set" value="0"/>
  59. <counter name="sdeath" action="set" value="0"/>
  60. <counter name="sundead" action="set" value="0"/>
  61. <counter name="selemental" action="set" value="0"/>
  62. <counter name="vortex" action="set" value="0"/>
  63. <counter name="thunders" action="set" value="0"/>
  64. <counter name="napalm" action="set" value="0"/>
  65. <executeTrigger trigger="randomMagicks_tierselector" delay="5"/>
  66.  
  67. <!-- YOU CAN EDIT THE THINGS BELOW! DO NOT EDIT ABOVE!!! -->
  68.  
  69. <!--<executeTrigger trigger="disableElements_choiceT" counter="1"/>--> <!-- SET THE COUNTER TO 0 IF YOU DON'T WANT TO BE BOTHERED BY THE ELEMENT DISABLING THINGY. -->
  70. <counter name="disableElements_choice" action="set" value="0"/>
  71.  
  72. <executeTrigger trigger="weather" delay="35"/> <!-- Found at line 2205. Start weather loop. Comment this out if you don't want random weather. -->
  73.  
  74. <!--<executeTrigger trigger="reinforcements" delay="4"/> Found at line 2230. Comment this out if you don't want random wizard reinforcements. -->
  75.  
  76. </then>
  77. </trigger>
  78.  
  79. <!--
  80. FINISHED UNIT COMPOSITION
  81. LINE COMPONENT NAME COMPONENT DIFFICULTIES V COMPONENT DESCRIPTION
  82.  
  83. ? minibosses_ hard / extreme Spawn Vlad, Kahn, Wurstmacher, etc. Beware, extreme is ridiculously hard.
  84. Hard: 1/2/1/3/2 units. Extreme: 2/2/2/4 units.
  85.  
  86. ? ranged_ easy / normal / hard / extreme x Higher difficulties spawn tougher units. Extreme comes with a lot of CC, mostly knockdown.
  87. Easy: 3 units. Normal: 4 units. Hard: 5 units. Extreme: 8 units.
  88.  
  89. ? annoying_ easy / hard x Easy: 1 Elder_thing (confuses) / 1 Enraged Goblin Warlock (spams nullify) / 4 Goblin Bombers
  90. Hard: 2 Elder_things / 2 Enraged Goblin Warlocks / 6 Goblin Bombers
  91. Suggestion: Call the component multiple times with delay for maximum annoyance throughout the whole wave.
  92.  
  93. ? cannonfodder_ few / many x Low damage, low health, cannonfodder. Varying speed. A wild mix of all sorts of weak unit types.
  94. Components which are just slightly better: humans_easy/hard, melee_weak_
  95. Few: 12 units. Many: 24 units.
  96.  
  97. ? spellcasters_ easy / hard x There are very good spellcasters and very bad ones. Easy is very easy. Extreme should not be underestimated!
  98. Easy: 4 units. Hard: 6 units. Extreme: 8 units. Harder difficulties spawn stronger units.
  99.  
  100. ? immunity_support_ easy / hard / extreme x Not too hard alone, but with other units they're a strong addition to the wave.
  101. Harder difficulties increase quantity and mix the immunities (Fire, Physical, Cold, Ice, Water, Lightning, Poison).
  102. Easy: 2 units. Hard: 3 units. Extreme: 8/9/8/7 units.
  103.  
  104. ? melee_weak_ easy / hard / extreme x Spawn weak melee units. Use this if you want units slightly better than cannonfodder. Mostly slow movement. Low HP. Low to medium damage.
  105. A wild mix of humans, goblins and other weak melee units. If you want themed waves, this is not what you want to use.
  106. Easy: 4 units. Hard: 6 units. Extreme: 8 units.
  107.  
  108. ? melee_strong_ easy / hard / extreme x Spawn strong melee units. Mostly quick movement. High HP. Medium to high damage.
  109. Similar to melee_weak, this is a wild mix of orcs, dwarfs and other strong melee units.
  110. Easy: 4 units. Hard: 6 units. Extreme: 8 units.
  111.  
  112.  
  113. ? elementals_ easy / hard / extreme x Easy: 2 same elementals. Hard: 3 slightly mixed elementals. Extreme: 4 completely mixed elementals.
  114. elementals_OneOfEach x Spawns one of each elemental (8) at each spawn area. Not random. Very hard/annoying.
  115.  
  116. ? undead_ easy / hard x Includes units that take damage from life. Melee and some ranged. Mostly skeletons.
  117. Easy: spawn 6 units (1 Necromancer). Hard: 8 units which are also stronger (2 Necro.).
  118. The Necromancers spawn a lot of zombies. Keep that in mind.
  119.  
  120. ? dwarfs_ easy / hard / extreme x Mostly melee units. Much stronger than humans and goblins.
  121. High HP and some damage resistance (but also weakness). High damage. Slow, but cast teleport.
  122. Easy: 3 units. Hard: 5 units. Extreme: 7 units.
  123.  
  124. ? orcs_ easy / hard / extreme x Mostly melee units. Orcs are better than humans and goblins. Harder difficulties spawn stronger orcs.
  125. Easy: 4 units. Hard: 6 units. Extreme: 8 units.
  126.  
  127. ? goblins_ hard / extreme x Mostly melee units. Goblin units are not very strong. There is no easy difficulty because that would just be another cannonfodder_few.
  128. Hard: 5 units. Extreme: 8 units.
  129.  
  130. ? humans_ easy / hard / extreme x Mostly melee units. Humans are slightly better than goblins. There are a few strong ranged humans, but those are used in ranged_.
  131. Easy: 4 units. Hard: 6 units. Extreme: 8 units.
  132.  
  133. ? trolls_ easy / hard / extreme x Easy: 2 easy trolls. Hard: 3 easy and medium trolls. Extreme: 4 mostly strong trolls.
  134.  
  135. ? wizards_ easy / hard / extreme x These are quite hard, even on easy because of elemental damage and CC. Not recommended in early waves.
  136. Easy: 2/2/3 units. Hard: 2/2/5 units. Extreme: 4 units.
  137.  
  138. ? vietnam_ easy / hard / extreme x Ranged units only from the Vietnam DLC.
  139. All difficulties spawn 3 units, but harder difficulties spawn tougher units.
  140.  
  141. ? TSAL_ easy / hard Easy: Deep_one, Cultist, Enderman. Spawns 4 units from 1 direction.
  142. Hard: All of above + Shoggoth, elder_thing (rare). Spawns 6 units from opposite directions.
  143. Use <spawn type="Starspawn" nr="1" area="?" delay="?"/> to spawn the miniboss
  144.  
  145.  
  146. ~~~~~~~~~~~~~~~~~~~~~ TO ADD:
  147.  
  148. 1019 CC_ easy / hard / extreme These units force player to change their protection and/or inflict status effects. Similar to annoying_
  149. These units: knock down or back, set on fire, chill down, poison, throw bombs.
  150. Many of these units appear in other components as well. If they can do anything of the things listed above, they're in here too.
  151.  
  152.  
  153.  
  154.  
  155. ~~~~~~~~~~~~~~~~~~~~~ TODO:
  156.  
  157. * Need to test the factions of melee_weak and strong. Other components should work fine.
  158. * Add an option to make immunity_support_ and cannonfodder_ units wander around instead of outright attacking the player.
  159. * Add more themed components so it's possibly to mimick other challenges and levels from the adventure(s). For example Vietnam_
  160. There could be ranged_mixed_ ranged_humans, ranged_goblins, etc.
  161. * Some components might do good with a _normal difficulty.
  162. * Add wizard_trekkie to wizards_ .
  163.  
  164.  
  165. ~~~~~~~~~~~~~~~~~~~~~ UNUSED UNIT TYPES:
  166.  
  167. Does not include unfinished units, i.e. units without animation or purpose.
  168.  
  169. Bugswarm Dungeons_gargoyle(_flesh)
  170. Rat Dungeons_slimecube_arcane(_small)
  171. Elf_Diplomat/_noble Swampthing
  172. Elf_Pathfindermelee
  173.  
  174.  
  175. ~~~~~~~~~~~~~~~~~~~~~ NOTES:
  176.  
  177. * There is no beastmen_ component because immunity_support_ is pretty much that.
  178. * Wave components don't have any significant delay in unit spawning (max. 6 seconds).
  179. If you want to have units spawned with a great delay, you have to call components with delay.
  180. * CC refers to knock down, knock back, status effects and generally things that force players to change their defense and/or play more passively.
  181. * In this challenge units spawn from all directions, making it a tad harder.
  182. * If you want to compose your own waves, you should have an idea of what units the components you want to use include.
  183. * "Easy: 3 units." means that this difficulty always spawns 3 units no matter which random option is selected.
  184. "Hard: 4/4/5 units." means that this difficulty has 3 different options. 2 of them spawn 4 units, one of them spawns 5 units.
  185. "Many: 16-19-24 units" means that this difficulty has multiple different options. It either spawns 16, 19 or 24 units.
  186. * To prevent overflooding of the spawnareas with units, I suggest not calling more than 3 components at the same time.
  187. It depends on the component though. Definitely slightly delay other components when using cannonfodder_.
  188.  
  189.  
  190. ~~~~~~~~~~~~~~~~~~~~~ TEMPLATES:
  191.  
  192. <spawn type="template" nr="1" area="north" delay="0"/> <~ If you want to spawn certain units separately or test them
  193.  
  194. <executeTrigger trigger="component_" delay="0"/> <~ Call a wave component
  195.  
  196. <setFaction type="template" action="set" faction="evil" delay="0.1" area="any"/>
  197. ^ For units whose default faction is not evil. Important because otherwise they would attack other factions too.
  198.  
  199. <spawn type="template" nr="1" area="north" delay="0" />
  200. ^ For units who would normally stand around where they spawn. E.g. some ranged units.
  201.  
  202. <giveOrder type="Daemon_greater" area="any" order="attack" delay="5"/> <~ Combine with code above. Make the units stop wander and focus on attacking.
  203.  
  204.  
  205. <!- WAVE 1 ->
  206. <trigger id="wave?" autorun="false" repeat="false">
  207. <then>
  208. <executeTrigger trigger="component" />
  209. <executeTrigger trigger="component delay="?"/>
  210. </then>
  211. </trigger>
  212. <wave value="?">
  213. <waveActions area="any">
  214. <executeTrigger trigger="wave1" delay="0"/>
  215. <counter name="CheckWaveProgressionLoop" action="set" value="1" delay="?+5"/>
  216. <spawn type="spider_baby" id="WaveSwitchUnit" delay="?+5.1" order="idle" reactto="none"/>
  217. </waveActions>
  218. </wave>
  219. ^ Template for new waves. Make sure to change the IDs of the trigger.
  220. IF YOU CALL COMPONENTS WITH DELAY: set the delay of the counter and of the spider spawn to the delay of the last component and add 5 and 5.1 respectively!
  221. Otherwise the next wave might start before the current one is over.
  222. -->
  223.  
  224.  
  225. <!-- WAVE 1 -->
  226. <trigger id="wave1" autorun="false" repeat="false">
  227. <then>
  228. <executeTrigger trigger="cannonfodder_few" />
  229. <executeTrigger trigger="cannonfodder_many" delay="5"/>
  230. </then>
  231. </trigger>
  232. <wave value="1">
  233. <waveActions area="any">
  234. <executeTrigger trigger="wave1" delay="0"/>
  235. <counter name="CheckWaveProgressionLoop" action="set" value="1" delay="10"/> <!-- delay = delay of the last component +5 -->
  236. <spawn type="spider_baby" id="WaveSwitchUnit" delay="10.1" order="idle" reactto="none"/> <!-- delay = delay of the last component +5.1 -->
  237. </waveActions>
  238. </wave>
  239.  
  240. <!-- WAVE 2 -->
  241. <trigger id="wave2" autorun="false" repeat="false">
  242. <then>
  243. <executeTrigger trigger="ranged_easy" />
  244. <executeTrigger trigger="annoying_easy" delay="10"/>
  245. </then>
  246. </trigger>
  247. <wave value="2">
  248. <waveActions area="any">
  249. <executeTrigger trigger="wave2" delay="0"/>
  250. <counter name="CheckWaveProgressionLoop" action="set" value="1" delay="15"/>
  251. <spawn type="spider_baby" id="WaveSwitchUnit" delay="15.1" order="idle" reactto="none"/>
  252. </waveActions>
  253. </wave>
  254.  
  255. <!-- WAVE 3 -->
  256. <trigger id="wave3" autorun="false" repeat="false">
  257. <then>
  258. <executeTrigger trigger="immunity_support_easy" />
  259. <executeTrigger trigger="elementals_easy" delay="5"/>
  260. <executeTrigger trigger="elementals_easy" delay="10"/>
  261. </then>
  262. </trigger>
  263. <wave value="3">
  264. <waveActions area="any">
  265. <executeTrigger trigger="wave3" delay="0"/>
  266. <counter name="CheckWaveProgressionLoop" action="set" value="1" delay="15"/>
  267. <spawn type="spider_baby" id="WaveSwitchUnit" delay="15.1" order="idle" reactto="none"/>
  268. </waveActions>
  269. </wave>
  270.  
  271. <!-- WAVE 4 -->
  272. <trigger id="wave4" autorun="false" repeat="false">
  273. <then>
  274. <executeTrigger trigger="spellcasters_easy" />
  275. <executeTrigger trigger="spellcasters_easy" delay="10"/>
  276. </then>
  277. </trigger>
  278. <wave value="4">
  279. <waveActions area="any">
  280. <executeTrigger trigger="wave4" delay="0"/>
  281. <counter name="CheckWaveProgressionLoop" action="set" value="1" delay="15"/>
  282. <spawn type="spider_baby" id="WaveSwitchUnit" delay="15.1" order="idle" reactto="none"/>
  283. </waveActions>
  284. </wave>
  285.  
  286. <!-- WAVE 5 -->
  287. <trigger id="wave5" autorun="false" repeat="false">
  288. <then>
  289. <executeTrigger trigger="melee_weak_extreme" />
  290. <executeTrigger trigger="ranged_normal" delay="10"/>
  291. </then>
  292. </trigger>
  293. <wave value="5">
  294. <waveActions area="any">
  295. <executeTrigger trigger="wave5" delay="0"/>
  296. <counter name="CheckWaveProgressionLoop" action="set" value="1" delay="15"/>
  297. <spawn type="spider_baby" id="WaveSwitchUnit" delay="15.1" order="idle" reactto="none"/>
  298. </waveActions>
  299. </wave>
  300.  
  301. <!-- WAVE 6 -->
  302. <trigger id="wave6" autorun="false" repeat="false">
  303. <then>
  304. <executeTrigger trigger="spellcasters_hard" />
  305. </then>
  306. </trigger>
  307. <wave value="6">
  308. <waveActions area="any">
  309. <executeTrigger trigger="wave6" delay="0"/>
  310. <counter name="CheckWaveProgressionLoop" action="set" value="1" delay="5"/>
  311. <spawn type="spider_baby" id="WaveSwitchUnit" delay="5.1" order="idle" reactto="none"/>
  312. </waveActions>
  313. </wave>
  314.  
  315. <!-- WAVE 7 -->
  316. <trigger id="wave7" autorun="false" repeat="false">
  317. <then>
  318. <executeTrigger trigger="wizards_hard" />
  319. </then>
  320. </trigger>
  321. <wave value="7">
  322. <waveActions area="any">
  323. <executeTrigger trigger="wave7" delay="0"/>
  324. <counter name="CheckWaveProgressionLoop" action="set" value="1" delay="5"/>
  325. <spawn type="spider_baby" id="WaveSwitchUnit" delay="5.1" order="idle" reactto="none"/>
  326. </waveActions>
  327. </wave>
  328.  
  329.  
  330. <!-- WAVE 8 -->
  331. <trigger id="wave8" autorun="false" repeat="false">
  332. <then>
  333. <executeTrigger trigger="spellcasters_easy" />
  334. <executeTrigger trigger="ranged_normal" delay="10"/>
  335. <executeTrigger trigger="ranged_easy" delay="15"/>
  336. </then>
  337. </trigger>
  338. <wave value="8">
  339. <waveActions area="any">
  340. <executeTrigger trigger="wave8" delay="0"/>
  341. <counter name="CheckWaveProgressionLoop" action="set" value="1" delay="20"/>
  342. <spawn type="spider_baby" id="WaveSwitchUnit" delay="20.1" order="idle" reactto="none"/>
  343. </waveActions>
  344. </wave>
  345.  
  346. <!-- WAVE 9 -->
  347. <trigger id="wave9" autorun="false" repeat="false">
  348. <then>
  349. <executeTrigger trigger="orcs_hard" />
  350. <executeTrigger trigger="goblin_easy" delay="6"/>
  351. <executeTrigger trigger="ranged_easy" delay="9"/>
  352. <executeTrigger trigger="goblin_easy" delay="12"/>
  353. </then>
  354. </trigger>
  355. <wave value="7">
  356. <waveActions area="any">
  357. <executeTrigger trigger="wave9" delay="0"/>
  358. <counter name="CheckWaveProgressionLoop" action="set" value="1" delay="17"/>
  359. <spawn type="spider_baby" id="WaveSwitchUnit" delay="17.1" order="idle" reactto="none"/>
  360. </waveActions>
  361. </wave>
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369. <!-- ########################################################### CANNONFODDER UNITS -->
  370.  
  371. <trigger id="cannonfodder_few" autorun="false" repeat="true">
  372. <then>
  373. <random>
  374. <spawn type="Daemon_lesser" area="north" nr="2" /> <spawn type="Daemon_lesser" area="east" nr="2" />
  375. <spawn type="Daemon_lesser" area="south" nr="2" /> <spawn type="Daemon_lesser" area="west" nr="2" />
  376. <spawn type="Imp" area="north" nr="1" delay="2"/> <spawn type="Imp" area="east" nr="1" delay="2" />
  377. <spawn type="Imp" area="south" nr="1" delay="2"/> <spawn type="Imp" area="west" nr="1" delay="2" />
  378. </random>
  379. <random>
  380. <spawn type="Goblin_miner" area="north" nr="2" /> <spawn type="Goblin_miner" area="east" nr="2" />
  381. <spawn type="Goblin_miner" area="south" nr="2" /> <spawn type="Goblin_miner" area="west" nr="2" />
  382. <spawn type="Imp" area="north" nr="1" delay="2"/> <spawn type="Imp" area="east" nr="1" delay="2" />
  383. <spawn type="Imp" area="south" nr="1" delay="2"/> <spawn type="Imp" area="west" nr="1" delay="2" />
  384. </random>
  385. <random>
  386. <spawn type="Goblin_pirate" area="north" nr="2" /> <spawn type="Goblin_pirate" area="east" nr="2" />
  387. <spawn type="Goblin_pirate" area="south" nr="2" /> <spawn type="Goblin_pirate" area="west" nr="2" />
  388. <spawn type="Imp" area="north" nr="1" delay="2"/> <spawn type="Imp" area="east" nr="1" delay="2" />
  389. <spawn type="Imp" area="south" nr="1" delay="2"/> <spawn type="Imp" area="west" nr="1" delay="2" />
  390. </random>
  391. <random>
  392. <spawn type="Imp" area="north" nr="3" /> <spawn type="Imp" area="east" nr="3" />
  393. <spawn type="Imp" area="south" nr="3" /> <spawn type="Imp" area="west" nr="3" />
  394. </random>
  395. <random>
  396. <spawn type="Villager_female03_unarmed" area="north" nr="3" />
  397. <spawn type="Villager_female03_unarmed" area="south" nr="3" />
  398. <spawn type="Villager_male07_hammer" area="east" nr="3" />
  399. <spawn type="Villager_male07_hammer" area="west" nr="3" />
  400. </random>
  401. <random>
  402. <spawn type="Spider_forest" area="north" nr="3" /> <spawn type="Spider_forest" area="east" nr="3" />
  403. <spawn type="Spider_forest" area="south" nr="3" /> <spawn type="Spider_forest" area="west" nr="3" />
  404. </random>
  405. <random>
  406. <spawn type="Zombie" area="north" nr="3" /> <spawn type="Zombie" area="east" nr="3" />
  407. <spawn type="Zombie" area="south" nr="3" /> <spawn type="Zombie" area="west" nr="3" />
  408. </random>
  409. <random>
  410. <spawn type="Wizard_Patchwork" area="north" nr="2"/>
  411. <spawn type="Wizard_Patchwork" area="east" nr="2"/>
  412. <spawn type="Wizard_Patchwork" area="south" nr="2"/>
  413. <spawn type="Wizard_Patchwork" area="west" nr="2"/>
  414. <spawn type="Imp" area="north" nr="1" delay="2"/> <spawn type="Imp" area="east" nr="1" delay="2" />
  415. <spawn type="Imp" area="south" nr="1" delay="2"/> <spawn type="Imp" area="west" nr="1" delay="2" />
  416. <giveOrder type="Wizard_Patchwork" area="any" order="attack" delay="3"/>
  417. </random>
  418. </then>
  419. </trigger>
  420. <trigger id="cannonfodder_many" autorun="false" repeat="true">
  421. <then>
  422. <random>
  423. <spawn type="Daemon_lesser" area="north" nr="4" /> <spawn type="Daemon_lesser" area="east" nr="4" />
  424. <spawn type="Daemon_lesser" area="south" nr="4" /> <spawn type="Daemon_lesser" area="west" nr="4" />
  425. <spawn type="Imp" area="north" nr="2" delay="2"/> <spawn type="Imp" area="east" nr="2" delay="2" />
  426. <spawn type="Imp" area="south" nr="2" delay="2"/> <spawn type="Imp" area="west" nr="2" delay="2" />
  427. </random>
  428. <random>
  429. <spawn type="Goblin_miner" area="north" nr="4" /> <spawn type="Goblin_miner" area="east" nr="4" />
  430. <spawn type="Goblin_miner" area="south" nr="4" /> <spawn type="Goblin_miner" area="west" nr="4" />
  431. <spawn type="Imp" area="north" nr="2" delay="2"/> <spawn type="Imp" area="east" nr="2" delay="2" />
  432. <spawn type="Imp" area="south" nr="2" delay="2"/> <spawn type="Imp" area="west" nr="2" delay="2" />
  433. </random>
  434. <random>
  435. <spawn type="Imp" area="north" nr="6" /> <spawn type="Imp" area="east" nr="6" />
  436. <spawn type="Imp" area="south" nr="6" /> <spawn type="Imp" area="west" nr="6" />
  437. </random>
  438. <random>
  439. <spawn type="Villager_female02_pitchfork" area="north" nr="6" />
  440. <spawn type="Villager_female02_pitchfork" area="south" nr="6" />
  441. <spawn type="Villager_male07_hammer" area="east" nr="6" />
  442. <spawn type="Villager_male07_hammer" area="west" nr="6" />
  443. </random>
  444. <random>
  445. <spawn type="Spider_forest" area="north" nr="6" /> <spawn type="Spider_forest" area="east" nr="6" />
  446. <spawn type="Spider_forest" area="south" nr="6" /> <spawn type="Spider_forest" area="west" nr="6" />
  447. </random>
  448. <random>
  449. <spawn type="Zombie" area="north" nr="6" /> <spawn type="Zombie" area="east" nr="6" />
  450. <spawn type="Zombie" area="south" nr="6" /> <spawn type="Zombie" area="west" nr="6" />
  451. </random>
  452. <random>
  453. <spawn type="Wizard_Patchwork" area="north" nr="4"/>
  454. <spawn type="Wizard_Patchwork" area="east" nr="4"/>
  455. <spawn type="Wizard_Patchwork" area="south" nr="4"/>
  456. <spawn type="Wizard_Patchwork" area="west" nr="4"/>
  457. <spawn type="Imp" area="north" nr="2" delay="2"/> <spawn type="Imp" area="east" nr="2" delay="2" />
  458. <spawn type="Imp" area="south" nr="2" delay="2"/> <spawn type="Imp" area="west" nr="2" delay="2" />
  459. </random>
  460. </then>
  461. </trigger>
  462.  
  463.  
  464. <!-- ########################################################### WIZARD UNITS -->
  465.  
  466. <trigger id="wizards_easy" autorun="false" repeat="true">
  467. <then> <!-- type="wizard" messes stuff up, do not use this wizard type. Alucart is a good substitude -->
  468. <random>
  469. <spawn type="Wizard_Alucart" area="north" nr="1" />
  470. <spawn type="Wizard_Alucart" area="south" nr="1" />
  471. </random>
  472. <random>
  473. <spawn type="Wizard_Hat" area="north" nr="1" />
  474. <spawn type="Wizard_Rogue" area="south" nr="1" />
  475. </random>
  476. <random>
  477. <spawn type="Wizard_Rogue" area="north" nr="1" />
  478. <spawn type="Wizard_Rogue" area="south" nr="1" />
  479. <spawn type="Wizard_Rogue" area="west" nr="1" />
  480. </random>
  481. </then>
  482. </trigger>
  483. <trigger id="wizards_hard" autorun="false" repeat="true">
  484. <then>
  485. <random>
  486. <spawn type="Wizard_Alucart" area="north" nr="1" />
  487. <spawn type="Wizard_Evil" area="south" nr="1" />
  488. </random>
  489. <random>
  490. <spawn type="Wizard_Hat_Evil" area="north" nr="1" />
  491. <spawn type="Wizard_Rogue" area="south" nr="1" />
  492. </random>
  493. <random>
  494. <spawn type="Wizard_Rogue" area="north" nr="1" />
  495. <spawn type="Wizard_Rogue" area="east" nr="2" delay="3"/>
  496. <spawn type="Wizard_Rogue" area="south" nr="1" />
  497. <spawn type="Wizard_Rogue" area="west" nr="1" />
  498. </random>
  499. </then>
  500. </trigger>
  501.  
  502. <trigger id="wizards_extreme" autorun="false" repeat="true">
  503. <then>
  504. <random>
  505. <spawn type="Wizard_Alucart" area="north" nr="1" order="attack"/>
  506. <spawn type="Wizard_Evil" area="east" nr="1" order="attack"/>
  507. <spawn type="Wizard_Hat" area="west" nr="1" order="attack"/>
  508. <spawn type="Wizard_Support" area="east" nr="1" order="attack"/>
  509. </random>
  510. <random>
  511. <spawn type="Wizard_Hat_Evil" area="north" nr="1" order="attack"/>
  512. <spawn type="Wizard_Hat_Evil" area="south" nr="1" order="attack"/>
  513. <spawn type="Wizard_Evil" area="east" nr="1" order="attack"/>
  514. <spawn type="Wizard_Support" area="south" nr="1" order="attack"/>
  515. </random>
  516. </then>
  517. </trigger>
  518.  
  519.  
  520. <!-- ########################################################### SPELLCASTER UNITS -->
  521. <!--
  522. Boss_Cult_Cold/Fire/Lightning/Nature
  523. Dwarf_mage Warlock Dwarf_smith
  524. Goblin_shaman Warlock_Ice dungeons_acolyte_a
  525. Goblin_warlock woot_Enraged_Goblin_warlock dungeons_acolyte_b
  526. Necromancer Boss_Machine_Warlock dungeons_acolyte_c
  527. Druid Dungeons_human_adventurer dungeons_Druid
  528. Elf_mage
  529. -->
  530. <trigger id="spellcasters_easy" autorun="false" repeat="true">
  531. <then>
  532. <random>
  533. <spawn type="Boss_Cult_Cold" area="north" nr="1" />
  534. <spawn type="Boss_Cult_Fire" area="east" nr="1" />
  535. <spawn type="Boss_Cult_Nature" area="south" nr="1" />
  536. <spawn type="Elf_mage" area="west" nr="1" />
  537. </random>
  538. <random>
  539. <spawn type="Boss_Machine_Warlock" area="north" nr="1" />
  540. <spawn type="Warlock" area="south" nr="1" />
  541. <spawn type="Dwarf_smith" area="south" nr="1" />
  542. <spawn type="Boss_Cult_Lightning" area="west" nr="1" />
  543. </random>
  544. <random>
  545. <spawn type="Dwarf_smith" area="north" nr="1" />
  546. <spawn type="Warlock_Ice" area="north" nr="1" />
  547. <spawn type="Goblin_warlock" area="south" nr="1" />
  548. <spawn type="Boss_Cult_Lightning" area="west" nr="1" />
  549. </random>
  550. </then>
  551. </trigger>
  552.  
  553. <trigger id="spellcasters_hard" autorun="false" repeat="true">
  554. <then>
  555. <random>
  556. <spawn type="Boss_Cult_Cold" area="north" nr="2" />
  557. <spawn type="Boss_Cult_Fire" area="east" nr="2" />
  558. <spawn type="Boss_Cult_Nature" area="south" nr="1" />
  559. <spawn type="Dungeons_human_adventurer" area="west" nr="1" health="0.7"/>
  560. </random>
  561. <random>
  562. <spawn type="Boss_Machine_Warlock" area="north" nr="1" />
  563. <spawn type="Boss_Cult_Cold" area="north" nr="1" />
  564. <spawn type="dungeons_acolyte_a" area="south" nr="1" />
  565. <spawn type="Warlock_Ice" area="east" nr="1" />
  566. <spawn type="Goblin_shaman" area="east" nr="1" />
  567. <spawn type="Dwarf_smith" area="west" nr="1" />
  568. </random>
  569. <random>
  570. <spawn type="Druid" area="north" nr="1" />
  571. <spawn type="Elf_mage" area="north" nr="1" health="0.7"/>
  572. <spawn type="Necromancer" area="south" nr="1" />
  573. <spawn type="dungeons_acolyte_c" area="south" nr="1" />
  574. <spawn type="Boss_Machine_Warlock" area="west" nr="1" />
  575. <spawn type="Dwarf_Smith" area="west" nr="1" />
  576. </random>
  577. </then>
  578. </trigger>
  579.  
  580. <trigger id="spellcasters_extreme" autorun="false" repeat="true">
  581. <then>
  582. <random>
  583. <spawn type="Dungeons_human_adventurer" area="west" nr="1" />
  584. <spawn type="Dwarf_Mage" area="west" nr="1" />
  585. <spawn type="Goblin_shaman" area="west" nr="1" />
  586. <spawn type="Frost_goblin_shaman" area="west" nr="1" />
  587. <spawn type="Goblin_warlock" area="east" nr="2" />
  588. <spawn type="Dungeons_Druid" area="east" nr="1" />
  589. <spawn type="Dwarf_Smith" area="north" nr="1" />
  590. </random>
  591. <random>
  592. <spawn type="dungeons_acolyte_c" area="south" nr="1" />
  593. <spawn type="dungeons_acolyte_c" area="west" nr="1" />
  594. <spawn type="Warlock_Ice" area="north" nr="1" />
  595. <spawn type="Goblin_shaman" area="north" nr="1" />
  596. <spawn type="Dwarf_smith" area="north" nr="1" />
  597. <spawn type="Warlock_Ice" area="south" nr="1" />
  598. <spawn type="Goblin_shaman" area="south" nr="1" />
  599. <spawn type="Dwarf_smith" area="south" nr="1" />
  600. </random><!-- The next one doesn't spawn 8 because the adventurers spawns a lot of clones -->
  601. <random>
  602. <spawn type="dungeons_acolyte_a" area="north" nr="1" />
  603. <spawn type="dungeons_acolyte_b" area="east" nr="1" />
  604. <spawn type="dungeons_acolyte_c" area="south" nr="1" />
  605. <spawn type="Dungeons_human_adventurer" area="west" nr="2" />
  606. <spawn type="Dwarf_Smith" area="north" nr="1" delay="3"/>
  607. </random>
  608. <random>
  609. <spawn type="dungeons_acolyte_a" area="north" nr="1" />
  610. <spawn type="dungeons_acolyte_b" area="east" nr="1" />
  611. <spawn type="dungeons_acolyte_c" area="south" nr="1" />
  612. <spawn type="dungeons_acolyte_a" area="south" nr="1" delay="4" />
  613. <spawn type="dungeons_acolyte_b" area="north" nr="1" delay="4" />
  614. <spawn type="dungeons_acolyte_c" area="east" nr="1" delay="4" />
  615. <spawn type="Dungeons_Druid" area="northeast" nr="1" />
  616. <spawn type="Dungeons_Druid" area="southeast" nr="1" delay="4"/>
  617. </random>
  618. </then>
  619. </trigger>
  620.  
  621.  
  622. <!-- ########################################################### ELEMENTAL UNITS -->
  623.  
  624. <trigger id="elementals_easy" autorun="false" repeat="true">
  625. <then>
  626. <random> <spawn type="Elemental_Arcane" area="north" nr="2" /> </random>
  627. <random> <spawn type="Elemental_Cold" area="north" nr="2" /> </random>
  628. <random> <spawn type="Elemental_Fire" area="north" nr="2" /> </random>
  629. <random> <spawn type="Elemental_Life" area="north" nr="2" /> </random>
  630. <random> <spawn type="Elemental_Lightning" area="north" nr="2" /> </random>
  631. <random> <spawn type="Elemental_Poison" area="north" nr="2" /> </random>
  632. <random> <spawn type="Elemental_Steam" area="north" nr="2" /> </random>
  633. <random> <spawn type="Elemental_Water" area="north" nr="2" /> </random>
  634. </then>
  635. </trigger>
  636. <trigger id="elementals_hard" autorun="false" repeat="true">
  637. <then>
  638. <random>
  639. <spawn type="Elemental_Arcane" area="north" nr="2" />
  640. <spawn type="Elemental_Poison" area="northwest" nr="1" />
  641. </random>
  642. <random>
  643. <spawn type="Elemental_Cold" area="south" nr="1" />
  644. <spawn type="Elemental_Water" area="north" nr="2" />
  645. </random>
  646. <random>
  647. <spawn type="Elemental_Fire" area="north" nr="2" />
  648. <spawn type="Elemental_Steam" area="west" nr="1" />
  649. </random>
  650. <random>
  651. <spawn type="Elemental_Life" area="north" nr="2" />
  652. <spawn type="Elemental_Lightning" area="south" nr="1" />
  653. </random>
  654. <random>
  655. <spawn type="Elemental_Lightning" area="north" nr="1" />
  656. <spawn type="Elemental_Fire" area="south" nr="2" />
  657. </random>
  658. <random>
  659. <spawn type="Elemental_Poison" area="north" nr="1" />
  660. <spawn type="Elemental_Cold" area="west" nr="2" />
  661. </random>
  662. <random>
  663. <spawn type="Elemental_Steam" area="southeast" nr="1" />
  664. <spawn type="Elemental_Life" area="north" nr="2" />
  665. </random>
  666. <random>
  667. <spawn type="Elemental_Water" area="north" nr="2" />
  668. <spawn type="Elemental_Arcane" area="southwest" nr="1" />
  669. </random>
  670. </then>
  671. </trigger>
  672.  
  673. <trigger id="elementals_extreme" autorun="false" repeat="true">
  674. <then>
  675. <random>
  676. <spawn type="Elemental_Arcane" area="north" nr="1" />
  677. <spawn type="Elemental_Cold" area="east" nr="1" />
  678. <spawn type="Elemental_Fire" area="south" nr="1" />
  679. <spawn type="Elemental_Life" area="west" nr="1" />
  680. </random>
  681. <random>
  682. <spawn type="Elemental_Lightning" area="north" nr="1" />
  683. <spawn type="Elemental_Water" area="east" nr="1" />
  684. <spawn type="Elemental_Fire" area="south" nr="1" />
  685. <spawn type="Elemental_Poison" area="west" nr="1" />
  686. </random>
  687. <random>
  688. <spawn type="Elemental_Poison" area="north" nr="1" />
  689. <spawn type="Elemental_Steam" area="east" nr="1" />
  690. <spawn type="Elemental_Cold" area="south" nr="1" />
  691. <spawn type="Elemental_Life" area="west" nr="1" />
  692. </random>
  693. <random>
  694. <spawn type="Elemental_Water" area="north" nr="1" />
  695. <spawn type="Elemental_Arcane" area="east" nr="1" />
  696. <spawn type="Elemental_Cold" area="south" nr="1" />
  697. <spawn type="Elemental_Lightning" area="west" nr="1" />
  698. </random>
  699. <random>
  700. <spawn type="Elemental_Life" area="north" nr="1" />
  701. <spawn type="Elemental_Fire" area="east" nr="1" />
  702. <spawn type="Elemental_Steam" area="south" nr="1" />
  703. <spawn type="Elemental_Lightning" area="west" nr="1" />
  704. </random>
  705. </then>
  706. </trigger>
  707.  
  708. <trigger id="elementals_OneOfEach" autorun="false" repeat="true">
  709. <then>
  710. <spawn type="Elemental_Arcane" area="north" nr="1" />
  711. <spawn type="Elemental_Cold" area="east" nr="1" />
  712. <spawn type="Elemental_Fire" area="south" nr="1" />
  713. <spawn type="Elemental_Life" area="west" nr="1" />
  714. <spawn type="Elemental_Lightning" area="northeast" nr="1" />
  715. <spawn type="Elemental_Poison" area="southeast" nr="1" />
  716. <spawn type="Elemental_Steam" area="southwest" nr="1" />
  717. <spawn type="Elemental_Water" area="northwest" nr="1" />
  718. </then>
  719. </trigger>
  720.  
  721. <!-- ########################################################### UNDEAD UNITS -->
  722. <!-- Necromancer, Skeleton_... -->
  723. <trigger id="undead_easy" autorun="false" repeat="true">
  724. <then>
  725. <random>
  726. <spawn type="skeleton_swordsman" area="north" nr="2"/>
  727. <spawn type="skeleton_noob" area="north" nr="2"/>
  728. <spawn type="Necromancer" area="north" nr="1" delay="4"/>
  729. <spawn type="Skeleton_darksoul_lightning" area="south" nr="1" delay="5"/>
  730. </random>
  731. <random>
  732. <spawn type="skeleton_swordsman" area="south" nr="2"/>
  733. <spawn type="skeleton_archer" area="south" nr="2"/>
  734. <spawn type="Necromancer" area="south" nr="1" delay="4"/>
  735. <spawn type="Skeleton_darksoul_arcane" area="north" nr="1" delay="5"/>
  736. </random>
  737. <random>
  738. <spawn type="skeleton_swordsman" area="east" nr="1"/>
  739. <spawn type="skeleton_archer" area="east" nr="1"/>
  740. <spawn type="skeleton_noob" area="east" nr="1"/>
  741. <spawn type="skeleton_elite" area="east" nr="1"/>
  742. <spawn type="Necromancer" area="east" nr="1" delay="4"/>
  743. <spawn type="Skeleton_darksoul_arcane" area="west" nr="1" delay="5"/>
  744. </random><!-- The next one only spawns 4 units, but they're stronger than the others -->
  745. <random>
  746. <spawn type="skeleton_wight" area="west" nr="1"/>
  747. <spawn type="skeleton_elite" area="west" nr="1"/>
  748. <spawn type="Necromancer" area="west" nr="1" delay="4"/>
  749. <spawn type="Skeleton_darksoul_poison" area="east" nr="1" delay="5"/>
  750. </random>
  751. </then>
  752. </trigger>
  753. <trigger id="undead_hard" autorun="false" repeat="true">
  754. <then>
  755. <random>
  756. <spawn type="skeleton_swordsman" area="north" nr="2"/>
  757. <spawn type="skeleton_elite" area="north" nr="2"/>
  758. <spawn type="Necromancer" area="north" nr="2" delay="4"/>
  759. <spawn type="Skeleton_darksoul_lightning" area="south" nr="2" delay="5"/>
  760. </random>
  761. <random>
  762. <spawn type="skeleton_wight" area="south" nr="2"/>
  763. <spawn type="skeleton_darksoul_elite" area="south" nr="2"/>
  764. <spawn type="Necromancer" area="south" nr="2" delay="4"/>
  765. <spawn type="Skeleton_darksoul_frost" area="north" nr="2" delay="5"/>
  766. </random><!-- The next one spawns 10 units, but they're weaker than the others -->
  767. <random>
  768. <spawn type="skeleton_swordsman" area="east" nr="1"/>
  769. <spawn type="skeleton_archer" area="east" nr="2"/>
  770. <spawn type="skeleton_noob" area="east" nr="1"/>
  771. <spawn type="skeleton_elite" area="east" nr="2"/>
  772. <spawn type="Necromancer" area="east" nr="2" delay="4"/>
  773. <spawn type="Skeleton_darksoul_arcane" area="west" nr="1" delay="5"/>
  774. <spawn type="Skeleton_darksoul_poison" area="west" nr="1" delay="5"/>
  775. </random>
  776. <random>
  777. <spawn type="skeleton_wight" area="west" nr="2"/>
  778. <spawn type="skeleton_elite" area="west" nr="2"/>
  779. <spawn type="Necromancer" area="west" nr="2" delay="4"/>
  780. <spawn type="Skeleton_darksoul_frost" area="east" nr="2" delay="5"/>
  781. <spawn type="Skeleton_darksoul_elite" area="northeast" nr="1" delay="5"/>
  782. <spawn type="Skeleton_darksoul_lightning" area="southeast" nr="1" delay="5"/>
  783. </random>
  784. </then>
  785. </trigger>
  786.  
  787.  
  788. <!-- ########################################################### DWARF UNITS -->
  789.  
  790. <trigger id="dwarfs_easy" autorun="false" repeat="true">
  791. <then>
  792. <random>
  793. <spawn type="Dwarf_Diplomat" area="north" nr="1" />
  794. <spawn type="Dwarf_warrior" area="northwest" nr="1" />
  795. <spawn type="Dwarf_warrior" area="northeast" nr="1" />
  796. </random>
  797. <random>
  798. <spawn type="Dwarf_captain_noshield" area="south" nr="1" />
  799. <spawn type="Dwarf_warrior" area="southwest" nr="1" />
  800. <spawn type="Dwarf_warrior_noshield" area="southeast" nr="1" />
  801. </random>
  802. <random>
  803. <spawn type="Dwarf_Engineer" area="east" nr="1" />
  804. <spawn type="Dwarf_warrior" area="northeast" nr="1" />
  805. <spawn type="Dwarf_warrior" area="southeast" nr="1" />
  806. </random>
  807. <random>
  808. <spawn type="Dwarf_Smith" area="east" nr="1" />
  809. <spawn type="Dwarf_Rifleman" area="northeast" nr="1" />
  810. <spawn type="Dwarf_warrior" area="southeast" nr="1" />
  811. </random>
  812. </then>
  813. </trigger>
  814. <trigger id="dwarfs_hard" autorun="false" repeat="true">
  815. <then>
  816. <random>
  817. <spawn type="Dwarf_Diplomat" area="north" nr="1" />
  818. <spawn type="Dwarf_Engineer" area="north" nr="1" />
  819. <spawn type="Dwarf_warrior" area="northwest" nr="1" />
  820. <spawn type="Dwarf_warrior" area="northeast" nr="1" />
  821. <spawn type="Dwarf_Rifleman" area="south" nr="1" />
  822. </random>
  823. <random>
  824. <spawn type="Dwarf_Diplomat" area="west" nr="1" />
  825. <spawn type="Dwarf_Engineer" area="west" nr="1" />
  826. <spawn type="Dwarf_Rifleman" area="northwest" nr="1" />
  827. <spawn type="Dwarf_Rifleman" area="southwest" nr="1" />
  828. <spawn type="Dwarf_captain" area="south" nr="1" />
  829. </random>
  830. <random>
  831. <spawn type="Dwarf_warrior" area="south" nr="2" />
  832. <spawn type="Dwarf_smith" area="southeast" nr="1" />
  833. <spawn type="Dwarf_smith" area="southwest" nr="1" />
  834. <spawn type="Dwarf_captain" area="north" nr="1" />
  835. </random>
  836. </then>
  837. </trigger>
  838. <trigger id="dwarfs_extreme" autorun="false" repeat="true">
  839. <then>
  840. <random>
  841. <spawn type="Dwarf_Diplomat" area="north" nr="1" />
  842. <spawn type="Dwarf_Engineer" area="north" nr="1" />
  843. <spawn type="Dwarf_warrior" area="northwest" nr="1" />
  844. <spawn type="Dwarf_warrior" area="northeast" nr="1" />
  845. <spawn type="Dwarf_Rifleman" area="south" nr="2" />
  846. <spawn type="Dwarf_captain_noshield" area="south" nr="1" />
  847. </random>
  848. <random>
  849. <spawn type="Dwarf_Diplomat" area="west" nr="1" />
  850. <spawn type="Dwarf_Engineer" area="west" nr="1" />
  851. <spawn type="Dwarf_Rifleman" area="northwest" nr="1" order="wander"/>
  852. <spawn type="Dwarf_Rifleman" area="southwest" nr="1" order="wander"/>
  853. <spawn type="Dwarf_captain" area="south" nr="2" />
  854. <spawn type="Dwarf_smith" area="south" nr="1" />
  855. </random>
  856. <random>
  857. <spawn type="Dwarf_warrior" area="south" nr="3" />
  858. <spawn type="Dwarf_captain" area="north" nr="2" />
  859. <spawn type="Dwarf_Rifleman" area="northeast" nr="1" order="wander"/>
  860. <spawn type="Dwarf_Rifleman" area="northwest" nr="1" order="wander"/>
  861. </random>
  862. </then>
  863. </trigger>
  864.  
  865.  
  866. <!-- ########################################################### ORC UNITS -->
  867.  
  868. <trigger id="orcs_easy" autorun="false" repeat="true">
  869. <then>
  870. <random>
  871. <spawn type="orc_regular" area="north" nr="2" />
  872. <spawn type="orc_regular" area="south" nr="2" />
  873. </random>
  874. <random>
  875. <spawn type="orc_warrior_noarmour" area="east" nr="1" />
  876. <spawn type="orc_regular" area="west" nr="3" />
  877. </random>
  878. <random>
  879. <spawn type="orc_warrior_noarmour" area="west" nr="1" />
  880. <spawn type="orc_regular" area="east" nr="2" />
  881. <spawn type="orc_light_armored" area="north" nr="1" />
  882. </random>
  883. </then>
  884. </trigger>
  885.  
  886. <trigger id="orcs_hard" autorun="false" repeat="true">
  887. <then>
  888. <random>
  889. <spawn type="orc_warrior_noarmour" area="north" nr="2" />
  890. <spawn type="orc_berserk" area="north" nr="1" />
  891. <spawn type="orc_regular" area="south" nr="2" />
  892. <spawn type="orc_light_armored" area="south" nr="1" />
  893. </random>
  894. <random>
  895. <spawn type="orc_warrior_noshield" area="east" nr="1" />
  896. <spawn type="orc_regular" area="east" nr="2" delay="3" />
  897. <spawn type="orc_warrior_noshield" area="west" nr="1" />
  898. <spawn type="orc_regular" area="west" nr="2" delay="3" />
  899. </random>
  900. <random>
  901. <spawn type="orc_light_armored" area="east" nr="1" />
  902. <spawn type="orc_regular_axe" area="east" nr="2" />
  903. <spawn type="Orc_captain_noshield" area="west" nr="1" />
  904. <spawn type="orc_regular" area="west" nr="2" delay="3"/>
  905. </random>
  906. </then>
  907. </trigger>
  908.  
  909. <trigger id="orcs_extreme" autorun="false" repeat="true">
  910. <then>
  911. <random>
  912. <spawn type="orc_light_armored" area="north" nr="1" />
  913. <spawn type="orc_berserk" area="north" nr="1" />
  914. <spawn type="orc_captain" area="east" nr="1" />
  915. <spawn type="orc_warrior" area="east" nr="3" delay="3"/>
  916. <spawn type="orc_infested" area="south" nr="1" />
  917. <spawn type="Orc_vietcong_rpd" area="south" nr="1" />
  918. </random>
  919. <random>
  920. <spawn type="orc_captain" area="north" nr="1" />
  921. <spawn type="orc_warrior" area="north" nr="2" delay="3" />
  922. <spawn type="orc_captain" area="south" nr="1" />
  923. <spawn type="orc_warrior" area="south" nr="2" delay="3" />
  924. <spawn type="orc_infested" area="east" nr="1" delay="1" />
  925. <spawn type="orc_infested" area="west" nr="1" delay="1" />
  926. </random>
  927. <random>
  928. <spawn type="Orc_vietcong_rpd" area="north" nr="1" />
  929. <spawn type="orc_captain" area="east" nr="2" />
  930. <spawn type="orc_warrior" area="east" nr="3" delay="3" />
  931. <spawn type="orc_infested" area="west" nr="1" delay="3" />
  932. <spawn type="orc_light_armored" area="south" nr="1" />
  933. </random>
  934. </then>
  935. </trigger>
  936.  
  937.  
  938. <!-- ########################################################### GOBLIN UNITS -->
  939. <!-- no goblins_easy because goblins are very weak and this would just be another cannonfodder_few. -->
  940.  
  941. <trigger id="goblins_hard" autorun="false" repeat="true">
  942. <then>
  943. <random>
  944. <spawn type="goblin_warrior_captain" area="north" nr="1" />
  945. <spawn type="goblin_warrior" area="north" nr="3" delay="2" />
  946. <spawn type="goblin_commando" area="north" nr="1" delay="4" />
  947. </random><!-- The next one is not very well thought through as captains freeze and fallen goblins set on fire. -->
  948. <random>
  949. <spawn type="goblin_warrior_captain" area="east" nr="1" />
  950. <spawn type="goblin_fallen" area="east" nr="2" />
  951. <spawn type="goblin_warrior_captain" area="west" nr="1" />
  952. <spawn type="goblin_fallen" area="west" nr="2" />
  953. </random>
  954. <random>
  955. <spawn type="goblin_warrior_captain" area="north" nr="1" />
  956. <spawn type="goblin_ranger" area="east" nr="1" />
  957. <spawn type="goblin_rogue_archer" area="east" nr="1" />
  958. <spawn type="goblin_warrior" area="west" nr="2" />
  959. </random>
  960. <random>
  961. <spawn type="Goblin_shaman" area="south" nr="1" />
  962. <spawn type="goblin_bomber" area="south" nr="3" delay="2"/>
  963. <spawn type="goblin_warrior" area="north" nr="1" />
  964. </random>
  965. </then>
  966. </trigger>
  967. <trigger id="goblins_extreme" autorun="false" repeat="true">
  968. <then>
  969. <random>
  970. <spawn type="goblin_warrior_captain" area="north" nr="1" />
  971. <spawn type="goblin_warrior" area="north" nr="3" delay="2" />
  972. <spawn type="goblin_warrior" area="north" nr="3" delay="4" />
  973. <spawn type="goblin_commando" area="southeast" nr="1" delay="3" />
  974. <spawn type="goblin_commando" area="southwest" nr="1" delay="3" />
  975. </random>
  976. <random>
  977. <spawn type="goblin_warrior_captain" area="east" nr="1" />
  978. <spawn type="goblin_warrior" area="east" nr="2" delay="2" />
  979. <spawn type="goblin_warrior_captain" area="west" nr="1" />
  980. <spawn type="goblin_warrior" area="west" nr="2" delay="2" />
  981. <spawn type="goblin_commando" area="northeast" nr="1" delay="3" />
  982. <spawn type="goblin_commando" area="southwest" nr="1" delay="3" />
  983. </random>
  984. <random>
  985. <spawn type="goblin_fallen" area="north" nr="1" />
  986. <spawn type="goblin_warrior" area="north" nr="1" />
  987. <spawn type="goblin_fallen" area="east" nr="1" />
  988. <spawn type="goblin_warrior" area="east" nr="1" />
  989. <spawn type="goblin_fallen" area="south" nr="1" />
  990. <spawn type="goblin_warrior" area="south" nr="1" />
  991. <spawn type="goblin_fallen" area="west" nr="1" />
  992. <spawn type="goblin_warrior" area="west" nr="1" />
  993. </random>
  994. <random>
  995. <spawn type="Goblin_shaman" area="south" nr="1" />
  996. <spawn type="goblin_bomber" area="south" nr="3" delay="2"/>
  997. <spawn type="goblin_bomber" area="south" nr="2" delay="4"/>
  998. <spawn type="goblin_warrior" area="north" nr="1" />
  999. <spawn type="goblin_warrior_archer" area="southeast" nr="1" delay="3" />
  1000. <spawn type="goblin_warrior_archer" area="southwest" nr="1" delay="3" />
  1001. </random>
  1002. </then>
  1003. </trigger>
  1004.  
  1005.  
  1006.  
  1007. <!-- ########################################################### HUMAN UNITS -->
  1008. <!-- Unlike wizard_evil and wizard_hat_evil, evil humans don't have different behaviour or damage. Only their faction is evil by default. -->
  1009. <trigger id="humans_easy" autorun="false" repeat="true">
  1010. <then>
  1011. <random>
  1012. <spawn type="Soldier_captain_evil" area="north" nr="1" />
  1013. <spawn type="Soldier_spearman_evil" area="north" nr="3" delay="2"/>
  1014. </random>
  1015. <random>
  1016. <spawn type="Soldier_captain_evil" area="north" nr="1" />
  1017. <spawn type="Soldier_swordsman_evil" area="north" nr="3" delay="2"/>
  1018. </random>
  1019. <random>
  1020. <spawn type="Soldier_captain_evil" area="north" nr="1" />
  1021. <spawn type="Soldier_spearman_evil" area="north" nr="1" delay="2"/>
  1022. <spawn type="Soldier_archer_evil" area="north" nr="1" delay="3.5"/>
  1023. <spawn type="Soldier_swordsman_evil" area="north" nr="1" delay="2"/>
  1024. </random>
  1025. </then>
  1026. </trigger>
  1027.  
  1028. <trigger id="humans_hard" autorun="false" repeat="true">
  1029. <then>
  1030. <random>
  1031. <spawn type="Soldier_captain_evil" area="south" nr="1" />
  1032. <spawn type="Soldier_spearman_evil" area="south" nr="3" delay="2"/>
  1033. <spawn type="Soldier_archer_evil" area="east" nr="1" delay="1"/>
  1034. <spawn type="Soldier_archer_evil" area="west" nr="1" delay="1"/>
  1035.  
  1036. </random>
  1037. <random>
  1038. <spawn type="Soldier_captain_evil" area="east" nr="2" />
  1039. <spawn type="Soldier_swordsman_evil" area="southeast" nr="2" delay="2"/>
  1040. <spawn type="Soldier_spearman_evil" area="northeast" nr="2" delay="2"/>
  1041. </random>
  1042. <random>
  1043. <spawn type="Human_diplomat" area="south" nr="1" />
  1044. <spawn type="Soldier_archer_evil" area="southeast" nr="1" delay="2"/>
  1045. <spawn type="Soldier_archer_evil" area="southwest" nr="1" delay="2"/>
  1046. <spawn type="Human_horseman" area="north" nr="2" delay="2"/>
  1047. <spawn type="Soldier_swordsman_evil" area="north" nr="1" delay="2"/>
  1048. </random>
  1049. </then>
  1050. </trigger>
  1051.  
  1052. <trigger id="humans_extreme" autorun="false" repeat="true">
  1053. <then>
  1054. <random>
  1055. <spawn type="Human_Diplomat" area="north" nr="1" />
  1056. <spawn type="Human_horseman" area="north" nr="2" delay="2"/>
  1057. <spawn type="Human_Paladin" area="south" nr="2" />
  1058. <spawn type="Soldier_Archer_evil" area="south" nr="2" delay="2"/>
  1059. <spawn type="Human_onhorseman" area="east" nr="1" delay="1"/>
  1060. <spawn type="Human_onhorseman" area="west" nr="1" delay="1"/>
  1061. </random>
  1062. <random>
  1063. <spawn type="Human_diplomat" area="north" nr="1" />
  1064. <spawn type="Human_diplomat" area="south" nr="1" />
  1065. <spawn type="Human_Paladin" area="west" nr="1" />
  1066. <spawn type="Human_Paladin" area="east" nr="1" />
  1067. <spawn type="Soldier_captain_evil" area="southeast" nr="2" delay="2"/>
  1068. <spawn type="Soldier_captain_evil" area="northeast" nr="2" delay="2"/>
  1069. </random>
  1070. <random>
  1071. <spawn type="Human_onhorseman" area="north" nr="1" delay="1"/>
  1072. <spawn type="Human_onhorseman" area="south" nr="1" delay="1"/>
  1073.  
  1074. <spawn type="Human_diplomat" area="west" nr="2" />
  1075. <spawn type="Human_diplomat" area="east" nr="2" />
  1076. <spawn type="Soldier_archer_evil" area="northeast" nr="1" delay="2"/>
  1077. <spawn type="Soldier_archer_evil" area="northwest" nr="1" delay="2"/>
  1078. </random>
  1079. </then>
  1080. </trigger>
  1081.  
  1082.  
  1083.  
  1084. <!-- ########################################################### CC UNITS -->
  1085. <!--
  1086. MELEE: ~~~~~~~~~~~~~~~~~~~~~~~~~~
  1087. Wizard_Detective Punches always knock down. Get surrounded and you'll never get up again.
  1088. _Jazz Throws vinyl disk at melee range. Inflicts bleeding and knocks unarmoured units back. Small AOE, hits self.
  1089. _Necromancer Slashes with dagger and poisons.
  1090. _Reddit Sword inflicts random status effects.
  1091. Daemon_cold_lesser Behaves like Daemon_Lessser, but instead of pushing around, it chills.
  1092. Dungeons_dwarf_adventurer (should reduce HP to 0.5) Moves frantically. Shoots poison bolts. Melee does 185 damage. About 5000 HP.
  1093. Dungeons_slimecube_poison/_large/_small Poison, poison, poison.
  1094. Ghoul_flamer Sets on fire. Explodes when killed.
  1095. Ghoul_poison ?
  1096. Goblin_fallen Sets on fire.
  1097. Goblin_warrior_captain Freezes (or chills if target water protected). Quite a bit of damage.
  1098. Orc_infested Poisons and kicks which knocks back. Low base damage though. Quick movement.
  1099. Elementals (already used in other component. use sparsely) Inflict status effects depending on element.
  1100. Rat Poisons. Weird hitbox, doesn't always hit. Ultra easy to kill.
  1101.  
  1102. RANGED: ~~~~~~~~~~~~~~~~~~~~~~~~~
  1103. Concious_Flame Small range. Lotsa burning damage.
  1104. Conscious_blaze (can't be frozen. Concious_Flame can be) ^
  1105. Firedrake Long range. Sets on fire. Lots of collateral damage.
  1106. Goblin_warrior_archer Long range. Sets on fire. Arrows are inaccurate.
  1107.  
  1108. Frost_goblin_soldier_crowdcooler Long range. Has a rocket launcher which shoots DRR like missiles. Only chills, no damage.
  1109.  
  1110. Slimedrake Med range. Knocks down with AOE water splash. Wets.
  1111.  
  1112. Spider_poison Small range. Spits poison AOEs.
  1113.  
  1114. Soldier_vietnam_rambo Long range. Hefty damage and knockback.
  1115. Troll_war_arbalest Huge range. Projectiles knock down or back depening on armour, do about 300 damage.
  1116. Goblin_bomber Med range. Throws bombs. Lots of collateral damage.
  1117. Goblin_vietnam_soldier_mortar Huge range. Mortar shells knock down.
  1118.  
  1119. Skeleton_darksoul (already used in undead_. Use sparsely) Med range. Inflict various status effects. Sometimes walk up to player and strongly knock them back if unarmoured.
  1120. Dwarf_cannon Don't use this (yet). How to move it out of spawnpoint?
  1121. -->
  1122. <trigger id="cc_easy" autorun="false" repeat="true">
  1123. <then>
  1124. <random>
  1125. <spawn type="Troll_war_arbalest" area="north" nr="1" />
  1126. </random>
  1127. </then>
  1128. </trigger>
  1129.  
  1130. <trigger id="cc_hard" autorun="false" repeat="true">
  1131. <then>
  1132. <random>
  1133. <spawn type="Troll_war_arbalest" area="north" nr="1" />
  1134. </random>
  1135. </then>
  1136. </trigger>
  1137.  
  1138. <trigger id="cc_extreme" autorun="false" repeat="true">
  1139. <then>
  1140. <random>
  1141. <spawn type="Troll_war_arbalest" area="north" nr="1" />
  1142. </random>
  1143. </then>
  1144. </trigger>
  1145.  
  1146.  
  1147.  
  1148.  
  1149. <!-- ########################################################### WEAK MELEE UNITS -->
  1150. <!-- 11 randoms, 4 units -->
  1151. <trigger id="melee_weak_easy" autorun="false" repeat="true">
  1152. <then>
  1153. <random>
  1154. <spawn type="Goblin_pirate" area="north" nr="2" />
  1155. <spawn type="Goblin_pirate" area="northeast" nr="1" />
  1156. <spawn type="Goblin_pirate" area="northwest" nr="1" />
  1157. </random>
  1158. <random>
  1159. <spawn type="Orc_regular" area="east" nr="1" />
  1160. <spawn type="Skeleton_swordsman" area="east" nr="2" delay="2"/>
  1161. <spawn type="Soldier_skifree" area="west" nr="1" />
  1162. </random>
  1163. <random>
  1164. <spawn type="Soldier_spearman_evil" area="west" nr="2" />
  1165. <spawn type="Spider_forest" area="north" nr="1" />
  1166. <spawn type="Spider_forest" area="south" nr="1" />
  1167. </random>
  1168. <random>
  1169. <spawn type="Treespirit" area="north" nr="2" />
  1170. <spawn type="Beastman_raider" area="east" nr="1" />
  1171. <spawn type="Beastman_raider" area="west" nr="1" />
  1172. </random>
  1173. <random>
  1174. <spawn type="Villager_female02_pitchfork" area="north" nr="1" />
  1175. <spawn type="Villager_male07_hammer" area="east" nr="1" />
  1176. <spawn type="Villager_female02_pitchfork" area="south" nr="1" />
  1177. <spawn type="Villager_male07_hammer" area="west" nr="1" />
  1178. </random>
  1179. <random>
  1180. <spawn type="Deep_one" area="north" nr="2" />
  1181. <spawn type="Ghoul" area="east" nr="2" />
  1182. </random>
  1183. <random>
  1184. <spawn type="Frost_goblin_miner" area="west" nr="1" />
  1185. <spawn type="Orc_regular_axe" area="west" nr="1" />
  1186. <spawn type="Ghoul" area="east" nr="1" />
  1187. <spawn type="Soldier_captain_evil" area="east" nr="1" />
  1188. </random>
  1189. <random>
  1190. <spawn type="Soldier_swordsman_evil" area="northeast" nr="1" />
  1191. <spawn type="Villager_male01_scythe" area="southeast" nr="1" />
  1192. <spawn type="Soldier_swordsman_evil" area="southwest" nr="1" />
  1193. <spawn type="Villager_male01_scythe" area="northwest" nr="1" />
  1194. </random>
  1195. <random>
  1196. <spawn type="Villager_male01_scythe" area="northeast" nr="1" />
  1197. <spawn type="Treespirit" area="southeast" nr="1" />
  1198. <spawn type="Spider_forest" area="southwest" nr="1" />
  1199. <spawn type="Ghoul" area="northwest" nr="1" />
  1200. </random>
  1201. <random>
  1202. <spawn type="Wizard_Necromancer" area="north" nr="1" />
  1203. <spawn type="Wizard_Purple" area="east" nr="1" />
  1204. <spawn type="Soldier_captain_evil" area="northeast" nr="1" />
  1205. <spawn type="Soldier_spearman_evil" area="northeast" nr="1" delay="3"/>
  1206. </random>
  1207. <random>
  1208. <spawn type="Wizard_Bathrobe" area="west" nr="1" />
  1209. <spawn type="Wizard_Patchwork" area="south" nr="1" />
  1210. <spawn type="Spider_baby" area="southeast" nr="1" />
  1211. <spawn type="Spider_baby" area="southwest" nr="1" />
  1212. </random>
  1213. </then>
  1214. </trigger>
  1215. <!-- 8 randoms, 6 units -->
  1216. <trigger id="melee_weak_hard" autorun="false" repeat="true">
  1217. <then>
  1218. <random>
  1219. <spawn type="Orc_regular" area="east" nr="2" />
  1220. <spawn type="Beastman_torcher" area="west" nr="2"/>
  1221. <spawn type="Goblin_warrior_noshield" area="north" nr="1" />
  1222. <spawn type="goblin_rogue" area="north" nr="1" />
  1223. </random>
  1224. <random>
  1225. <spawn type="Soldier_spearman_evil" area="west" nr="2" />
  1226. <spawn type="Spider_forest" area="north" nr="1" />
  1227. <spawn type="Spider_forest" area="south" nr="1" />
  1228. </random>
  1229. <random>
  1230. <spawn type="Treespirit" area="north" nr="2" />
  1231. <spawn type="Treespirit" area="south" nr="2" />
  1232. <spawn type="Beastman_raider" area="east" nr="1" />
  1233. <spawn type="Beastman_raider" area="west" nr="1" />
  1234. </random>
  1235. <random>
  1236. <spawn type="Dwarf_warrior_noshield" area="north" nr="1" />
  1237. <spawn type="Treespirit" area="north" nr="1" />
  1238. <spawn type="Villager_female02_pitchfork" area="south" nr="4" />
  1239. </random>
  1240. <random>
  1241. <spawn type="Deep_one" area="south" nr="2" />
  1242. <spawn type="Ghoul_flamer" area="east" nr="1" />
  1243. <spawn type="Ghoul" area="west" nr="3" />
  1244. </random>
  1245. <random>
  1246. <spawn type="Ghoul_poison" area="west" nr="1" />
  1247. <spawn type="Orc_regular_axe" area="west" nr="2" />
  1248. <spawn type="Skeleton_swordsman" area="east" nr="3" />
  1249. </random>
  1250. <random>
  1251. <spawn type="Orc_regular" area="north" nr="1" />
  1252. <spawn type="Wizard_Detective" area="north" nr="1" />
  1253. <spawn type="Wizard_Tentacle" area="east" nr="1" />
  1254. <spawn type="Ghoul_poison" area="west" nr="1" />
  1255. <spawn type="Beastman_raider" area="northeast" nr="1" />
  1256. <spawn type="Beastman_raider" area="northwest" nr="1" />
  1257. </random>
  1258. <random>
  1259. <spawn type="Treespirit" area="north" nr="2" />
  1260. <spawn type="Wizard_Necromancer" area="north" nr="1" />
  1261. <spawn type="Wizard_Purple" area="east" nr="1" />
  1262. <spawn type="Wizard_Patchwork" area="south" nr="1" />
  1263. <spawn type="Wizard_Bathrobe" area="west" nr="1" />
  1264. </random>
  1265. </then>
  1266. </trigger>
  1267. <!-- 7 randoms, 8 units -->
  1268. <trigger id="melee_weak_extreme" autorun="false" repeat="true">
  1269. <then>
  1270. <random>
  1271. <spawn type="Orc_regular" area="east" nr="1" />
  1272. <spawn type="Orc_regular" area="west" nr="1" />
  1273. <spawn type="Goblin_pirate" area="south" nr="2" />
  1274. <spawn type="Goblin_rogue" area="southeast" nr="2" />
  1275. <spawn type="Goblin_pirate" area="southwest" nr="2" />
  1276. </random>
  1277. <random>
  1278. <spawn type="Orc_regular" area="east" nr="2" />
  1279. <spawn type="Beastman_torcher" area="west" nr="2"/>
  1280. <spawn type="Goblin_warrior_noshield" area="north" nr="1" />
  1281. <spawn type="goblin_rogue" area="north" nr="1" />
  1282. </random>
  1283. <random>
  1284. <spawn type="Soldier_spearman_evil" area="west" nr="2" />
  1285. <spawn type="Spider_forest" area="north" nr="1" />
  1286. <spawn type="Spider_forest" area="south" nr="1" />
  1287. </random>
  1288. <random>
  1289. <spawn type="Treespirit" area="north" nr="2" />
  1290. <spawn type="Treespirit" area="south" nr="2" />
  1291. <spawn type="Beastman_raider" area="east" nr="1" />
  1292. <spawn type="Beastman_raider" area="west" nr="1" />
  1293. </random>
  1294. <random>
  1295. <spawn type="Dwarf_warrior_noshield" area="north" nr="2" />
  1296. <spawn type="Villager_female02_pitchfork" area="south" nr="4" />
  1297. </random>
  1298. <random>
  1299. <spawn type="Deep_one" area="south" nr="2" />
  1300. <spawn type="Ghoul_flamer" area="east" nr="1" />
  1301. <spawn type="Ghoul" area="west" nr="3" />
  1302. </random>
  1303. <random>
  1304. <spawn type="Ghoul_poison" area="west" nr="1" />
  1305. <spawn type="Orc_regular_axe" area="west" nr="2" />
  1306. <spawn type="Skeleton_swordsman" area="east" nr="3" />
  1307. </random>
  1308. </then>
  1309. </trigger>
  1310.  
  1311.  
  1312.  
  1313. <!-- ########################################################### STRONG MELEE UNITS -->
  1314. <!-- 9 randoms, 4 units -->
  1315. <trigger id="melee_strong_easy" autorun="false" repeat="true">
  1316. <then>
  1317. <random>
  1318. <spawn type="Beastman_brute" area="north" nr="2" />
  1319. <spawn type="Ghoul_poison" area="east" nr="1" />
  1320. <spawn type="Ghoul_flamer" area="east" nr="1" />
  1321. </random>
  1322. <random>
  1323. <spawn type="Skeleton_Wight" area="southeast" nr="1" />
  1324. <spawn type="Skeleton_Wight" area="southeast" nr="1" delay="3"/>
  1325. <spawn type="orc_berserk" area="south" nr="2" />
  1326. </random>
  1327. <random>
  1328. <spawn type="goblin_warrior" area="west" nr="2" />
  1329. <spawn type="Ghoul" area="east" nr="1" />
  1330. <spawn type="dwarf_warrior_noshield" area="east" nr="1" />
  1331. </random>
  1332. <random>
  1333. <spawn type="Warhound" area="north" nr="1" />
  1334. <spawn type="Beastman_mutant" area="east" nr="2" />
  1335. <spawn type="Warhound" area="south" nr="1" />
  1336. </random>
  1337. <random>
  1338. <spawn type="Orc_captain" area="north" nr="1" />
  1339. <spawn type="goblin_warrior" area="east" nr="1" />
  1340. <spawn type="goblin_warrior" area="south" nr="1" />
  1341. <spawn type="Orc_captain" area="west" nr="1" />
  1342. </random>
  1343. <random>
  1344. <spawn type="Orc_berserk" area="north" nr="1" />
  1345. <spawn type="Enderman" area="east" nr="1" />
  1346. <spawn type="orc_captain_noarmour" area="east" nr="1" />
  1347. <spawn type="Human_Diplomat" area="east" nr="1" />
  1348. </random>
  1349. <random>
  1350. <spawn type="Ghoul_poison" area="east" nr="1" />
  1351. <spawn type="Ghoul_flamer" area="east" nr="1" />
  1352. <spawn type="Beastman_mutant" area="south" nr="1" />
  1353. <spawn type="Enderman" area="south" nr="1" />
  1354. </random>
  1355. <random>
  1356. <spawn type="McLeod" area="north" nr="1" />
  1357. <spawn type="Orc_infested" area="south" nr="1" />
  1358. <spawn type="Wizard_Samurai" area="west" nr="2" />
  1359. </random>
  1360. <random>
  1361. <spawn type="Dungeons_elf_adventurer_ressurected" area="north" nr="1" health="0.5"/>
  1362. <spawn type="Enderman" area="south" nr="1" />
  1363. <spawn type="Enderman" area="northeast" nr="1" />
  1364. <spawn type="Enderman" area="southwest" nr="1" />
  1365. </random>
  1366. </then>
  1367. </trigger>
  1368.  
  1369. <trigger id="melee_strong_hard" autorun="false" repeat="true">
  1370. <then>
  1371. <random>
  1372. <spawn type="Beastman_brute" area="north" nr="1" />
  1373. <spawn type="Beastman_mutant" area="north" nr="1" />
  1374. <spawn type="Ghoul_poison" area="south" nr="2" />
  1375. <spawn type="Ghoul_flamer" area="west" nr="2" />
  1376. </random>
  1377. <random>
  1378. <spawn type="Skeleton_Wight" area="southeast" nr="1" />
  1379. <spawn type="orc_captain" area="south" nr="2" />
  1380. <spawn type="orc_warrior" area="south" nr="2" delay="2"/>
  1381. </random>
  1382. <random>
  1383. <spawn type="Dwarf_captain" area="west" nr="2" />
  1384. <spawn type="Dwarf_warrior" area="west" nr="3" delay="2"/>
  1385. <spawn type="Enderman" area="east" nr="1" />
  1386. </random>
  1387. <random>
  1388. <spawn type="Beastman_mutant" area="north" nr="1" />
  1389. <spawn type="Beastman_mutant" area="east" nr="2" />
  1390. <spawn type="Human_Paladin" area="south" nr="1" />
  1391. </random>
  1392. <random>
  1393. <spawn type="Dungeons_elf_adventurer_ressurected" area="north" nr="1" />
  1394. <spawn type="Dwarf_captain" area="south" nr="2" />
  1395. <spawn type="Orc_captain" area="west" nr="2" />
  1396. </random>
  1397. <random>
  1398. <spawn type="Orc_captain_noarmour" area="north" nr="1" />
  1399. <spawn type="Enderman" area="east" nr="2" />
  1400. <spawn type="Human_Diplomat" area="east" nr="2" />
  1401. </random>
  1402. <random>
  1403. <spawn type="Ghoul_poison" area="west" nr="2" />
  1404. <spawn type="Ghoul_flamer" area="east" nr="2" delay="2"/>
  1405. <spawn type="Beastman_mutant" area="south" nr="2" />
  1406. </random>
  1407. <random>
  1408. <spawn type="Wizard_Samurai" area="west" nr="2" />
  1409. <spawn type="Orc_infested" area="south" nr="2" />
  1410. <spawn type="Wizard_Samurai" area="east" nr="2" />
  1411. </random>
  1412. <random>
  1413. <spawn type="Goblin_warrior_captain" area="south" nr="2" />
  1414. <spawn type="Orc_captain" area="west" nr="2" />
  1415. <spawn type="Dwarf_captain" area="southwest" nr="2" />
  1416. </random>
  1417. </then>
  1418. </trigger>
  1419.  
  1420. <trigger id="melee_strong_extreme" autorun="false" repeat="true">
  1421. <then>
  1422. <random>
  1423. <spawn type="Beastman_mutant" area="north" nr="3" />
  1424. <spawn type="Ghoul_flamer" area="south" nr="2" />
  1425. <spawn type="Skeleton_Wight" area="west" nr="3" />
  1426. </random>
  1427. <random>
  1428. <spawn type="Human_Paladin" area="northwest" nr="2" />
  1429. <spawn type="Orc_infested" area="southeast" nr="1" />
  1430. <spawn type="Orc_infested" area="southeast" nr="1" delay="3"/>
  1431. <spawn type="orc_captain" area="south" nr="2" />
  1432. <spawn type="orc_warrior" area="south" nr="2" delay="2"/>
  1433. </random>
  1434. <random>
  1435. <spawn type="Dwarf_captain" area="west" nr="2" />
  1436. <spawn type="Dwarf_warrior" area="west" nr="3" delay="2"/>
  1437. <spawn type="Skeleton_Wight" area="northwest" nr="1" />
  1438. <spawn type="Skeleton_Wight" area="northwest" nr="1" delay="2" />
  1439. </random>
  1440. <random>
  1441. <spawn type="Beastman_mutant" area="east" nr="2" />
  1442. <spawn type="Beastman_mutant" area="west" nr="2" />
  1443. <spawn type="orc_infested" area="south" nr="2" />
  1444. <spawn type="McLeod" area="south" nr="2" delay="4"/>
  1445. </random>
  1446. <random>
  1447. <spawn type="Dungeons_elf_adventurer" area="west" nr="1" />
  1448. <spawn type="orc_infested" area="south" nr="2" />
  1449. <spawn type="Orc_captain_noarmour" area="west" nr="2" delay="3"/>
  1450. <spawn type="Ghoul_flamer" area="east" nr="2" />
  1451. <spawn type="Ghoul_flamer" area="north" nr="1" />
  1452. </random><!-- The next one is supposed to freeze the players and then let the Elf adventurer shatter them -->
  1453. <random>
  1454. <spawn type="Goblin_warrior_captain" area="north" nr="1" />
  1455. <spawn type="Goblin_warrior_captain" area="east" nr="1" />
  1456. <spawn type="Goblin_warrior_captain" area="south" nr="1" />
  1457. <spawn type="Goblin_warrior_captain" area="west" nr="1" />
  1458. <spawn type="Goblin_warrior_captain" area="east" nr="1" delay="5"/>
  1459. <spawn type="Goblin_warrior_captain" area="south" nr="1" delay="5"/>
  1460. <spawn type="Goblin_warrior_captain" area="west" nr="1" delay="5"/>
  1461. <spawn type="Dungeons_elf_adventurer" area="south" nr="1" />
  1462. </random>
  1463. <random>
  1464. <spawn type="Ghoul_poison" area="northwest" nr="2" />
  1465. <spawn type="Ghoul_flamer" area="southwest" nr="2" delay="2"/>
  1466. <spawn type="Beastman_mutant" area="west" nr="2" />
  1467. <spawn type="Dwarf_captain" area="east" nr="2" />
  1468. </random>
  1469. <random>
  1470. <spawn type="Wizard_Samurai" area="west" nr="2" />
  1471. <spawn type="Wizard_Detective" area="south" nr="2" />
  1472. <spawn type="Wizard_Samurai" area="east" nr="2" />
  1473. <spawn type="McLeod" area="north" nr="2"/>
  1474. </random>
  1475. </then>
  1476. </trigger>
  1477.  
  1478.  
  1479.  
  1480. <!-- ########################################################### TSAL UNITS -->
  1481.  
  1482. <trigger id="TSAL_easy" autorun="false" repeat="true">
  1483. <then>
  1484. <random>
  1485. <spawn type="Cultist" area="north" nr="1" />
  1486. <spawn type="Deep_one" area="north" nr="1" />
  1487. <spawn type="Cultist" area="north" nr="1" delay="4.5"/>
  1488. <spawn type="Deep_one" area="north" nr="1" delay="5.5"/>
  1489. </random>
  1490. <random>
  1491. <spawn type="Enderman" area="east" nr="1" />
  1492. <spawn type="Deep_one" area="east" nr="1" />
  1493. <spawn type="Cultist" area="east" nr="1" delay="3.5"/>
  1494. <spawn type="Enderman" area="east" nr="1" delay="5"/>
  1495. </random>
  1496. <random>
  1497. <spawn type="Cultist" area="south" nr="1" />
  1498. <spawn type="Enderman" area="south" nr="1" />
  1499. <spawn type="Cultist" area="south" nr="1" delay="3"/>
  1500. <spawn type="Deep_one" area="south" nr="1" delay="5.5"/>
  1501. </random>
  1502. <random>
  1503. <spawn type="Deep_one" area="west" nr="1" />
  1504. <spawn type="Cultist" area="west" nr="1" />
  1505. <spawn type="Enderman" area="west" nr="1" delay="2"/>
  1506. <spawn type="Deep_one" area="west" nr="1" delay="5.5"/>
  1507. </random>
  1508.  
  1509. </then>
  1510. </trigger>
  1511.  
  1512. <trigger id="TSAL_hard" autorun="false" repeat="true">
  1513. <then>
  1514. <random>
  1515. <spawn type="Shoggoth" area="south" nr="2" />
  1516. <spawn type="Cultist" area="north" nr="1" />
  1517. <spawn type="Deep_one" area="north" nr="1" />
  1518. <spawn type="Cultist" area="north" nr="1" delay="4.5"/>
  1519. <spawn type="Deep_one" area="north" nr="1" delay="5.5"/>
  1520. </random>
  1521. <random>
  1522. <spawn type="Shoggoth" area="west" nr="1" />
  1523. <spawn type="Deep_one" area="west" nr="1" />
  1524. <spawn type="Enderman" area="east" nr="1" />
  1525. <spawn type="Deep_one" area="east" nr="1" />
  1526. <spawn type="Cultist" area="east" nr="1" delay="3.5"/>
  1527. <spawn type="Enderman" area="east" nr="1" delay="5"/>
  1528. </random>
  1529. <random>
  1530. <spawn type="Shoggoth" area="north" nr="1" />
  1531. <spawn type="Deep_one" area="north" nr="1" />
  1532. <spawn type="Cultist" area="south" nr="1" />
  1533. <spawn type="Enderman" area="south" nr="1" />
  1534. <spawn type="Cultist" area="south" nr="1" delay="3"/>
  1535. <spawn type="Deep_one" area="south" nr="1" delay="5.5"/>
  1536. </random>
  1537. <random>
  1538. <spawn type="Shoggoth" area="east" nr="1" />
  1539. <spawn type="elder_thing" area="east" nr="1" />
  1540. <spawn type="Deep_one" area="west" nr="1" />
  1541. <spawn type="Cultist" area="west" nr="1" />
  1542. <spawn type="Enderman" area="west" nr="1" delay="2"/>
  1543. <spawn type="Deep_one" area="west" nr="1" delay="5.5"/>
  1544. </random>
  1545. </then>
  1546. </trigger>
  1547.  
  1548.  
  1549.  
  1550. <!-- ########################################################### ???? UNITS
  1551.  
  1552. <trigger id="spiders" autorun="false" repeat="true">
  1553. <then>
  1554. <random>
  1555. <spawn type="InsertUnitType" area="north" nr="1" />
  1556. </random>
  1557. </then>
  1558. </trigger> -->
  1559.  
  1560.  
  1561. <!-- ########################################################### TROLL UNITS -->
  1562.  
  1563. <trigger id="trolls_easy" autorun="false" repeat="true">
  1564. <then>
  1565. <random>
  1566. <spawn type="troll_forest" area="north" nr="1"/>
  1567. <spawn type="troll_forest_unarmed" area="east" nr="1"/>
  1568. </random>
  1569. <random>
  1570. <spawn type="troll_forest_hook" area="north" nr="1"/>
  1571. <spawn type="troll_forest" area="west" nr="1"/>
  1572. </random>
  1573. <random>
  1574. <spawn type="troll_war_hook" area="north" nr="1"/>
  1575. <spawn type="Troll_stone_unarmed" area="south" nr="1"/>
  1576. </random>
  1577. <random>
  1578. <spawn type="troll_war" area="north" nr="1"/>
  1579. <spawn type="troll_war_hook" area="east" nr="1"/>
  1580. </random>
  1581. </then>
  1582. </trigger>
  1583. <trigger id="trolls_hard" autorun="false" repeat="true">
  1584. <then>
  1585. <random>
  1586. <spawn type="troll_forest" area="north" nr="1"/>
  1587. <spawn type="troll_forest_unarmed" area="south" nr="1"/>
  1588. <spawn type="Troll_stone_unarmed" area="east" nr="1"/>
  1589. </random>
  1590. <random>
  1591. <spawn type="troll_forest_hook" area="north" nr="1"/>
  1592. <spawn type="troll_forest" area="south" nr="1"/>
  1593. <spawn type="Troll_stone" area="west" nr="1"/>
  1594. </random>
  1595. <random>
  1596. <spawn type="troll_war_hook" area="north" nr="1"/>
  1597. <spawn type="Troll_stone_unarmed" area="east" nr="1"/>
  1598. <spawn type="Troll_zombie" area="west" nr="1"/>
  1599. </random>
  1600. <random>
  1601. <spawn type="troll_war" area="north" nr="1"/>
  1602. <spawn type="troll_war_hook" area="south" nr="1"/>
  1603. <spawn type="Troll_stone" area="west" nr="1"/>
  1604. </random>
  1605. </then>
  1606. </trigger>
  1607. <trigger id="trolls_extreme" autorun="false" repeat="true">
  1608. <then>
  1609. <random>
  1610. <spawn type="troll_forest" area="north" nr="1"/>
  1611. <spawn type="Troll_stone" area="east" nr="1"/>
  1612. <spawn type="Troll_snow" area="south" nr="1"/>
  1613. <spawn type="Troll_zombie" area="west" nr="1"/>
  1614. </random>
  1615. <random>
  1616. <spawn type="troll_snow" area="north" nr="1"/>
  1617. <spawn type="Troll_war" area="east" nr="1"/>
  1618. <spawn type="Troll_stone" area="south" nr="1"/>
  1619. <spawn type="Troll_zombie" area="west" nr="1"/>
  1620. </random>
  1621. <random>
  1622. <spawn type="Troll_zombie_snow" area="north" nr="1"/>
  1623. <spawn type="Troll_war" area="east" nr="1"/>
  1624. <spawn type="Troll_stone" area="south" nr="1"/>
  1625. <spawn type="Troll_snow" area="west" nr="1"/>
  1626. </random>
  1627. <random>
  1628. <spawn type="Troll_zombie_snow" area="north" nr="1"/>
  1629. <spawn type="Troll_zombie_club" area="east" nr="1"/>
  1630. <spawn type="Troll_stone" area="south" nr="1"/>
  1631. <spawn type="Troll_snow" area="west" nr="1"/>
  1632. </random>
  1633. </then>
  1634. </trigger>
  1635.  
  1636.  
  1637. <!-- ########################################################### IMMUNITY AURA SUPPORT UNITS -->
  1638. <!-- Beastman_brute_earth Physical Beastman_brute_fire Fire
  1639. Beastman_chieftain Lightning Beastman_raider_lightning Lightning
  1640. Beastman_raider_water Water Wizard_Support Fire, sometimes Arcane
  1641. Warlock_Ice Cold, Ice Frost_goblin_shaman Cold, Ice -->
  1642.  
  1643. <trigger id="immunity_support_easy" autorun="false" repeat="true">
  1644. <then>
  1645. <random>
  1646. <spawn type="Beastman_brute_earth" area="east" nr="1" />
  1647. <spawn type="Beastman_raider_lightning" area="west" nr="1" />
  1648. </random>
  1649. <random>
  1650. <spawn type="Beastman_brute_fire" area="northeast" nr="1" />
  1651. <spawn type="Beastman_raider_water" area="southeast" nr="1" />
  1652. </random>
  1653. <random>
  1654. <spawn type="Beastman_raider_lightning" area="southeast" nr="1" />
  1655. <spawn type="Beastman_raider_water" area="northwest" nr="1" />
  1656. </random>
  1657. <random>
  1658. <spawn type="Beastman_brute_fire" area="north" nr="1" />
  1659. <spawn type="Beastman_raider_lightning" area="south" nr="1" />
  1660. </random>
  1661. </then>
  1662. </trigger>
  1663.  
  1664. <trigger id="immunity_support_hard" autorun="false" repeat="true">
  1665. <then>
  1666. <random>
  1667. <spawn type="Beastman_brute_earth" area="east" nr="1" />
  1668. <spawn type="Beastman_raider_lightning" area="northeast" nr="1" />
  1669. <spawn type="Beastman_brute_fire" area="north" nr="1" />
  1670. </random>
  1671. <random>
  1672. <spawn type="Beastman_brute_fire" area="west" nr="1" />
  1673. <spawn type="Beastman_raider_water" area="southwest" nr="1" />
  1674. <spawn type="Beastman_chieftain" area="south" nr="1" health="0.6"/>
  1675. </random>
  1676. <random>
  1677. <spawn type="Beastman_brute_fire" area="east" nr="1" />
  1678. <spawn type="Beastman_brute_earth" area="north" nr="1" />
  1679. <spawn type="Beastman_raider_water" area="northwest" nr="1" />
  1680. </random>
  1681. <random>
  1682. <spawn type="Warlock_Ice" area="east" nr="1" />
  1683. <spawn type="Beastman_raider_lightning" area="northeast" nr="1" />
  1684. <spawn type="Beastman_brute_earth" area="north" nr="1" />
  1685. </random>
  1686. <random>
  1687. <spawn type="Frost_goblin_shaman" area="east" nr="1" />
  1688. <spawn type="Beastman_raider_lightning" area="northeast" nr="1" />
  1689. <spawn type="Beastman_raider_water" area="northwest" nr="1" />
  1690. </random>
  1691. </then>
  1692. </trigger>
  1693.  
  1694. <trigger id="immunity_support_extreme" autorun="false" repeat="true">
  1695. <then>
  1696. <random>
  1697. <spawn type="Beastman_brute_fire" area="west" nr="1" />
  1698. <spawn type="Beastman_brute_earth" area="west" nr="1" />
  1699. <spawn type="Beastman_raider_lightning" area="northwest" nr="2" />
  1700. <spawn type="Beastman_raider_water" area="northwest" nr="2" />
  1701. <spawn type="Beastman_chieftain" area="north" nr="1" />
  1702. <spawn type="Warlock_Ice" area="south" nr="1" />
  1703. </random>
  1704. <random>
  1705. <spawn type="Beastman_raider_water" area="south" nr="2" />
  1706. <spawn type="Beastman_raider_lightning" area="south" nr="2" />
  1707. <spawn type="Beastman_brute_fire" area="west" nr="2" />
  1708. <spawn type="Beastman_brute_earth" area="west" nr="2" />
  1709. <spawn type="Warlock_Ice" area="east" nr="1" />
  1710. </random>
  1711. <random>
  1712. <spawn type="Beastman_chieftain" area="west" nr="1" health="0.8"/>
  1713. <spawn type="Beastman_chieftain" area="east" nr="1" health="0.8"/>
  1714. <spawn type="Beastman_brute_fire" area="south" nr="1" />
  1715. <spawn type="Beastman_brute_earth" area="south" nr="1" />
  1716.  
  1717. <spawn type="Beastman_raider_lightning" area="northeast" nr="1" />
  1718. <spawn type="Beastman_raider_lightning" area="southwest" nr="1" />
  1719. <spawn type="Beastman_raider_water" area="northwest" nr="1" />
  1720. <spawn type="Beastman_raider_water" area="southeast" nr="1" />
  1721. </random>
  1722. <random>
  1723. <spawn type="Beastman_raider_water" area="south" nr="1" />
  1724. <spawn type="Beastman_raider_lightning" area="south" nr="1" />
  1725. <spawn type="Beastman_brute_fire" area="west" nr="1" />
  1726. <spawn type="Beastman_brute_earth" area="west" nr="1" />
  1727. <spawn type="Dungeons_Druid" area="east" nr="1" />
  1728. <spawn type="Frost_goblin_shaman" area="east" nr="1" />
  1729. <spawn type="Warlock_Ice" area="southwest" nr="1" />
  1730. </random>
  1731. </then>
  1732. </trigger>
  1733.  
  1734.  
  1735.  
  1736. <!-- ########################################################### RANGED UNITS -->
  1737.  
  1738. <trigger id="ranged_easy" autorun="false" repeat="true">
  1739. <then>
  1740. <random>
  1741. <spawn type="Skeleton_archer" area="north" nr="1" />
  1742. <spawn type="Goblin_warrior_archer" area="south" nr="1" />
  1743. <spawn type="orc_light_armored" area="west" nr="1" />
  1744. </random>
  1745. <random>
  1746. <spawn type="Daemon_greater" area="southeast" nr="1" />
  1747. <spawn type="Daemon_greater" area="southwest" nr="1" />
  1748. <spawn type="Daemon_greater" area="northwest" nr="1" />
  1749. </random>
  1750. <random>
  1751. <spawn type="Goblin_commando" area="northeast" nr="1" />
  1752. <spawn type="Goblin_rogue_archer" area="southwest" nr="1" />
  1753. <spawn type="Goblin_commando" area="northwest" nr="1" />
  1754. </random>
  1755. <random>
  1756. <spawn type="Cultist" area="northeast" nr="1" />
  1757. <spawn type="Skeleton_archer" area="southeast" nr="1" />
  1758. <spawn type="Elf_pathfinder" area="southwest" nr="1" />
  1759. </random>
  1760. <random>
  1761. <spawn type="Beholder_benign" area="south" nr="1" />
  1762. <spawn type="Goblin_warrior_archer" area="east" nr="1" />
  1763. <spawn type="Skeleton_archer" area="west" nr="1" />
  1764. </random>
  1765. </then>
  1766. </trigger>
  1767.  
  1768. <trigger id="ranged_normal" autorun="false" repeat="true">
  1769. <then>
  1770. <random>
  1771. <spawn type="Goblin_ranger" area="north" nr="1" />
  1772. <spawn type="Orc_vietcong_rpd" area="east" nr="1" />
  1773. <spawn type="Goblin_warrior_archer" area="south" nr="1" />
  1774. <spawn type="orc_light_armored" area="west" nr="1" />
  1775. </random>
  1776. <random>
  1777. <spawn type="Goblin_vietnam_soldier_mortar" area="northeast" nr="1" />
  1778. <spawn type="Daemon_greater" area="southeast" nr="1" />
  1779. <spawn type="Daemon_greater" area="southwest" nr="1" />
  1780. <spawn type="Daemon_greater" area="northwest" nr="1" />
  1781. </random>
  1782. <random>
  1783. <spawn type="Goblin_commando" area="northeast" nr="1" />
  1784. <spawn type="Goblin_commando" area="southeast" nr="1" />
  1785. <spawn type="Goblin_commando" area="southwest" nr="1" />
  1786. <spawn type="Goblin_commando" area="northwest" nr="1" />
  1787. </random>
  1788. <random>
  1789. <spawn type="Cultist" area="northeast" nr="1" />
  1790. <spawn type="Soldier_Archer_evil" area="southeast" nr="1" />
  1791. <spawn type="Elf_pathfinder" area="southwest" nr="1" />
  1792. <spawn type="Cultist" area="northwest" nr="1" />
  1793. </random>
  1794. <random>
  1795. <spawn type="Beholder_benign" area="north" nr="1" />
  1796. <spawn type="Soldier_Archer_evil" area="south" nr="1" />
  1797. <spawn type="Goblin_warrior_archer" area="east" nr="1" />
  1798. <spawn type="Skeleton_archer" area="west" nr="1" />
  1799. </random>
  1800. </then>
  1801. </trigger>
  1802.  
  1803. <trigger id="ranged_hard" autorun="false" repeat="true">
  1804. <then>
  1805. <random>
  1806. <spawn type="Troll_war_arbalest" area="west" nr="1" />
  1807. <spawn type="orc_light_armored" area="north" nr="1" />
  1808. <spawn type="orc_light_armored" area="south" nr="1" />
  1809. <spawn type="Goblin_ranger" area="northeast" nr="1" />
  1810. <spawn type="Goblin_ranger" area="southwest" nr="1" />
  1811. </random>
  1812. <random>
  1813. <spawn type="skeleton_archer" area="northeast" nr="1" />
  1814. <spawn type="skeleton_archer" area="northeast" nr="1" delay="2"/>
  1815. <spawn type="Goblin_vietnam_soldier_rpg7" area="southeast" nr="1" />
  1816. <spawn type="Goblin_warrior_archer" area="southwest" nr="1" />
  1817. <spawn type="Goblin_vietnam_soldier_rpg7" area="northwest" nr="1" />
  1818. </random>
  1819. <random>
  1820. <spawn type="Beholder_malign" area="east" nr="1" />
  1821. <spawn type="skeleton_elite" area="south" nr="1" />
  1822. <spawn type="Soldier_vietnam_grunt" area="east" nr="1" />
  1823. <spawn type="Soldier_Archer_evil" area="west" nr="1" />
  1824. </random>
  1825. <random>
  1826. <spawn type="Goblin_vietnam_soldier_mortar" area="north" nr="1" />
  1827. <spawn type="Goblin_vietnam_soldier_mortar" area="southeast" nr="1" />
  1828. <spawn type="Goblin_vietnam_soldier_mortar" area="southwest" nr="1" />
  1829. <spawn type="Elf_pathfinder" area="northeast" nr="1" />
  1830. <spawn type="Elf_pathfinder" area="northwest" nr="1" />
  1831. </random>
  1832. </then>
  1833. </trigger>
  1834.  
  1835. <trigger id="ranged_extreme" autorun="false" repeat="true">
  1836. <then>
  1837. <random>
  1838. <spawn type="Troll_war_arbalest" area="east" nr="1" />
  1839. <spawn type="Troll_war_arbalest" area="west" nr="1" />
  1840. <spawn type="Goblin_ranger" area="northeast" nr="1" /> <spawn type="Goblin_ranger" area="southeast" nr="1" />
  1841. <spawn type="Goblin_ranger" area="southwest" nr="1" /> <spawn type="Goblin_ranger" area="northwest" nr="1" />
  1842. <spawn type="skeleton_elite" area="north" nr="1" delay="3"/>
  1843. <spawn type="skeleton_elite" area="south" nr="1" delay="3"/>
  1844. </random>
  1845. <random>
  1846. <spawn type="Soldier_archer_evil" area="north" nr="2" />
  1847. <spawn type="Dwarf_rifleman" area="south" nr="2" />
  1848. <spawn type="Goblin_vietnam_soldier_rpg7" area="northeast" nr="1"/>
  1849. <spawn type="Goblin_vietnam_soldier_rpg7" area="southeast" nr="1"/>
  1850. <spawn type="Goblin_vietnam_soldier_rpg7" area="southwest" nr="1"/>
  1851. <spawn type="Goblin_vietnam_soldier_rpg7" area="northwest" nr="1"/>
  1852. </random>
  1853. <random>
  1854. <spawn type="Beholder_malign" area="north" nr="1" />
  1855. <spawn type="Beholder_malign" area="east" nr="1" />
  1856. <spawn type="Soldier_vietnam_heavy" area="south" nr="2" />
  1857. <spawn type="Beholder_malign" area="west" nr="1" />
  1858. </random>
  1859. <random>
  1860. <spawn type="Soldier_vietnam_heavy" area="north" nr="2" />
  1861. <spawn type="Goblin_rogue_archer" area="north" nr="2" delay="3"/>
  1862. <spawn type="Dwarf_mage" area="east" nr="1" />
  1863. <spawn type="Dwarf_mage" area="west" nr="1" />
  1864. <spawn type="Dwarf_mage" area="southeast" nr="1" />
  1865. <spawn type="Dwarf_mage" area="southwest" nr="1" />
  1866. </random>
  1867. <random>
  1868. <spawn type="Soldier_vietnam_heavy" area="north" nr="2" />
  1869. <spawn type="troll_vietcong_machinegun" area="east" nr="1" />
  1870. <spawn type="troll_vietcong_machinegun" area="south" nr="1" />
  1871. <spawn type="troll_vietcong_machinegun" area="west" nr="1" />
  1872. <spawn type="Goblin_rogue_archer" area="south" nr="3" delay="3"/>
  1873. </random>
  1874. <random>
  1875. <spawn type="Goblin_vietnam_soldier_mortar" area="north" nr="2" />
  1876. <spawn type="Soldier_vietnam_rambo" area="east" nr="1" />
  1877. <spawn type="Soldier_vietnam_heavy" area="west" nr="1" />
  1878. <spawn type="Goblin_vietnam_soldier_mortar" area="southeast" nr="1" />
  1879. <spawn type="Goblin_vietnam_soldier_mortar" area="southwest" nr="1" />
  1880. <spawn type="Goblin_rogue_archer" area="south" nr="2" delay="3"/>
  1881. </random>
  1882. </then>
  1883. </trigger>
  1884.  
  1885.  
  1886.  
  1887. <!-- ########################################################### VIETNAM UNITS -->
  1888. <!-- goblin_vietnam_farmer_mat49 goblin_vietnam_farmer_nagant
  1889. goblin_vietnam_soldier_ak47 goblin_vietnam_soldier_mortar
  1890. goblin_vietnam_soldier_rpg7 orc_vietcong_rpd
  1891. troll_vietcong_machinegun Soldier_vietnam_grunt
  1892. Soldier_vietnam_heavy soldier_vietnam_rambo
  1893. -->
  1894.  
  1895. <trigger id="vietnam_easy" autorun="false" repeat="true">
  1896. <then>
  1897. <random>
  1898. <spawn type="goblin_vietnam_farmer_mat49" area="east" nr="2" />
  1899. <spawn type="goblin_vietnam_farmer_nagant" area="south" nr="1" />
  1900. </random>
  1901. <random>
  1902. <spawn type="goblin_vietnam_soldier_ak47" area="west" nr="2" />
  1903. <spawn type="goblin_vietnam_farmer_nagant" area="south" nr="1" />
  1904. </random>
  1905. <random>
  1906. <spawn type="goblin_vietnam_farmer_mat49" area="west" nr="2" />
  1907. <spawn type="goblin_vietnam_soldier_ak47" area="south" nr="1" />
  1908. </random>
  1909. <random>
  1910. <spawn type="goblin_vietnam_farmer_mat49" area="west" nr="2" />
  1911. <spawn type="goblin_vietnam_soldier_ak47" area="east" nr="1" />
  1912. </random>
  1913. <random>
  1914. <spawn type="orc_vietcong_rpd" area="south" nr="1" />
  1915. <spawn type="goblin_vietnam_farmer_mat49" area="east" nr="1" />
  1916. <spawn type="goblin_vietnam_farmer_nagant" area="west" nr="1" />
  1917. </random>
  1918. </then>
  1919. </trigger>
  1920.  
  1921. <trigger id="vietnam_hard" autorun="false" repeat="true">
  1922. <then>
  1923. <random>
  1924. <spawn type="orc_vietcong_rpd" area="east" nr="2" />
  1925. <spawn type="goblin_vietnam_soldier_rpg7" area="south" nr="1" />
  1926. </random>
  1927. <random>
  1928. <spawn type="goblin_vietnam_soldier_ak47" area="north" nr="2" />
  1929. <spawn type="Soldier_vietnam_grunt" area="south" nr="1" />
  1930. </random>
  1931. <random>
  1932. <spawn type="Soldier_vietnam_heavy" area="south" nr="1" />
  1933. <spawn type="goblin_vietnam_farmer_mat49" area="west" nr="2" />
  1934. </random>
  1935. <random>
  1936. <spawn type="orc_vietcong_rpd" area="west" nr="2" />
  1937. <spawn type="Soldier_vietnam_grunt" area="east" nr="1" />
  1938. </random>
  1939. <random>
  1940. <spawn type="orc_vietcong_rpd" area="north" nr="1" />
  1941. <spawn type="goblin_vietnam_soldier_ak47" area="east" nr="1" />
  1942. <spawn type="goblin_vietnam_soldier_rpg7" area="west" nr="1" />
  1943. </random>
  1944. </then>
  1945. </trigger>
  1946.  
  1947. <trigger id="vietnam_extreme" autorun="false" repeat="true">
  1948. <then>
  1949. <random>
  1950. <spawn type="Goblin_vietnam_soldier_mortar" area="southeast" nr="1" />
  1951. <spawn type="troll_vietcong_machinegun" area="east" nr="1" />
  1952. <spawn type="goblin_vietnam_soldier_rpg7" area="south" nr="1" />
  1953. <giveOrder type="Goblin_vietnam_soldier_mortar" area="any" order="attack" delay="5"/>
  1954. </random>
  1955. <random>
  1956. <spawn type="Soldier_vietnam_heavy" area="north" nr="2" />
  1957. <spawn type="Soldier_vietnam_grunt" area="south" nr="1" />
  1958. </random>
  1959. <random>
  1960. <spawn type="Soldier_vietnam_heavy" area="south" nr="1" />
  1961. <spawn type="goblin_vietnam_soldier_ak47" area="west" nr="2" />
  1962. </random>
  1963. <random>
  1964. <spawn type="Goblin_vietnam_soldier_mortar" area="northwest" nr="1" />
  1965. <spawn type="troll_vietcong_machinegun" area="north" nr="1" />
  1966. <spawn type="Soldier_vietnam_grunt" area="west" nr="1" />
  1967. </random>
  1968. <random>
  1969. <spawn type="orc_vietcong_rpd" area="north" nr="1" />
  1970. <spawn type="orc_vietcong_rpd" area="east" nr="1" />
  1971. <spawn type="goblin_vietnam_soldier_rpg7" area="west" nr="1" />
  1972. </random>
  1973. <random>
  1974. <spawn type="orc_vietcong_rpd" area="south" nr="1" />
  1975. <spawn type="Soldier_vietnam_heavy" area="east" nr="1" />
  1976. <spawn type="troll_vietcong_machinegun" area="west" nr="1" />
  1977. </random>
  1978. </then>
  1979. </trigger>
  1980.  
  1981.  
  1982. <!-- ########################################################### MINIBOSSES -->
  1983.  
  1984. <trigger id="minibosses_hard" autorun="false" repeat="true">
  1985. <then>
  1986. <random>
  1987. <spawn type="Starspawn" area="east" nr="1" />
  1988. </random>
  1989. <random>
  1990. <spawn type="Boss_Vlad_Swamp" area="east" nr="1" health="0.7"/>
  1991. <spawn type="Boss_Vlad_Diplomat" area="west" nr="1" />
  1992. </random>
  1993. <random>
  1994. <spawn type="Dungeons_wurstmacher" area="east" nr="1"/>
  1995. </random>
  1996. <random>
  1997. <spawn type="Daemon_lord" area="east" nr="1" />
  1998. <spawn type="Daemon_lord" area="west" nr="1" />
  1999. <spawn type="Beastman_chieftain" area="south" nr="1"/>
  2000. </random>
  2001. <random>
  2002. <spawn type="boss_warlord" area="east" nr="1" />
  2003. <spawn type="boss_warlord" area="west" nr="1" />
  2004. </random>
  2005. </then>
  2006. </trigger>
  2007.  
  2008. <trigger id="minibosses_extreme" autorun="false" repeat="true">
  2009. <then>
  2010. <random>
  2011. <spawn type="Starspawn" area="east" nr="1" />
  2012. <spawn type="Starspawn" area="west" nr="1" />
  2013. </random>
  2014. <random>
  2015. <spawn type="grimnirs_starspawn" area="east" nr="1" />
  2016. <spawn type="grimnirs_starspawn" area="west" nr="1" />
  2017. </random>
  2018. <random>
  2019. <spawn type="Starspawn" area="east" nr="1" />
  2020. <spawn type="grimnirs_starspawn" area="west" nr="1" />
  2021. </random>
  2022. <random>
  2023. <spawn type="Dungeons_wurstmacher" area="north" nr="1" health="0.6"/>
  2024. <spawn type="Dungeons_wurstmacher" area="south" nr="1" health="0.6"/>
  2025. </random>
  2026. <random>
  2027. <spawn type="boss_warlord" area="north" nr="1" />
  2028. <spawn type="boss_warlord" area="east" nr="1" />
  2029. <spawn type="boss_warlord" area="south" nr="1" />
  2030. <spawn type="boss_warlord" area="west" nr="1" />
  2031. </random>
  2032. </then>
  2033. </trigger>
  2034.  
  2035.  
  2036.  
  2037. <!-- ########################################################### ANNOYING ENEMIES -->
  2038.  
  2039. <trigger id="annoying_easy" autorun="false" repeat="true">
  2040. <then>
  2041. <random>
  2042. <spawn type="Elder_thing" area="east" nr="1" />
  2043. </random>
  2044. <random>
  2045. <spawn type="woot_Enraged_Goblin_warlock" area="east" nr="1" />
  2046. </random>
  2047. <random>
  2048. <spawn type="Goblin_bomber" area="north" nr="1" />
  2049. <spawn type="Goblin_bomber" area="east" nr="1" />
  2050. <spawn type="Goblin_bomber" area="south" nr="1" />
  2051. <spawn type="Goblin_bomber" area="west" nr="1" />
  2052. </random>
  2053. </then>
  2054. </trigger>
  2055.  
  2056. <trigger id="annoying_hard" autorun="false" repeat="true">
  2057. <then>
  2058. <random>
  2059. <spawn type="Elder_thing" area="east" nr="1" />
  2060. <spawn type="Elder_thing" area="west" nr="1" />
  2061. </random>
  2062. <random>
  2063. <spawn type="woot_enraged_goblin_warlock" area="east" nr="1" health="0.6"/>
  2064. <spawn type="woot_enraged_goblin_warlock" area="west" nr="1" health="0.6"/>
  2065. </random>
  2066. <random>
  2067. <spawn type="woot_enraged_goblin_warlock" area="east" nr="1" />
  2068. <spawn type="Elder_thing" area="east" nr="1" />
  2069. </random>
  2070. <random>
  2071. <spawn type="Goblin_bomber" area="south" nr="1" />
  2072. <spawn type="Goblin_bomber" area="north" nr="1" />
  2073. <spawn type="Goblin_bomber" area="northeast" nr="1" />
  2074. <spawn type="Goblin_bomber" area="southeast" nr="1" />
  2075. <spawn type="Goblin_bomber" area="southwest" nr="1" />
  2076. <spawn type="Goblin_bomber" area="northwest" nr="1" />
  2077. </random>
  2078. </then>
  2079. </trigger>
  2080.  
  2081.  
  2082.  
  2083.  
  2084. <!-- ########################################################### TRIGGERS TO SUPPORT SPAWNED UNITS. E.G. CAST MAGICKS OR AUTO HEAL -->
  2085.  
  2086. <!-- perhaps there's a use for <magick id="someID" magicktype="etherealize"/> -->
  2087.  
  2088. <trigger id="boost_daemonboss" autorun="false" repeat="true">
  2089. <if>
  2090. <idPresent id="daemonboss" area="any" />
  2091. </if>
  2092. <then>
  2093. <magick id="daemonboss" magicktype="performanceenchantment"/>
  2094. <executeTrigger trigger="boost_daemonboss" delay="5"/>
  2095. </then>
  2096. </trigger>
  2097. <trigger id="magicks_daemonboss" autorun="false" repeat="true">
  2098. <if><idPresent id="daemonboss" area="any" /></if>
  2099. <then>
  2100. <random><magick id="daemonboss" magicktype="proppmagick"/></random>
  2101. <random><magick id="daemonboss" magicktype="judgementspray"/></random>
  2102. <executeTrigger trigger="magicks_daemonboss" delay="13"/>
  2103.  
  2104. </then>
  2105. </trigger>
  2106.  
  2107. <trigger id="heal_daemonboss" autorun="true" repeat="4">
  2108. <if>
  2109. <characterhealth id="daemonboss" compareMethod="less" health="1"/>
  2110. </if>
  2111. <then>
  2112. <damage id="daemonboss" ignoreShields="true">
  2113. <damage attackProperty="damage" element="physical" magnitude="1" amount="-151" />
  2114. </damage>
  2115. </then>
  2116. </trigger>
  2117.  
  2118.  
  2119.  
  2120.  
  2121. <!-- ############## RANDOM ELEMENT DISABLING ############## -->
  2122.  
  2123. <trigger id="disableElement_check_qwrf" autorun="false" repeat="false">
  2124. <then><counter name="disableElement_check_qwrf" action="set" value="1"/></then>
  2125. </trigger>
  2126. <trigger id="disableElement_check_asde" autorun="false" repeat="false">
  2127. <then><counter name="disableElement_check_asde" action="set" value="1"/></then>
  2128. </trigger>
  2129. <trigger id="disableElement_check_all" autorun="false" repeat="false">
  2130. <then><counter name="disableElement_check_all" action="set" value="1"/></then>
  2131. </trigger>
  2132.  
  2133. <trigger id="disableElements_qwrf" autorun="false" repeat="true">
  2134. <if>
  2135. <counter name="disableElement_check_qwrf" compareMethod="equal" value="1"/>
  2136. <counter name="disableElement_check_all" compareMethod="equal" value="0"/>
  2137. </if>
  2138. <then>
  2139. <random>
  2140. <disableElement element="water"/>
  2141. <enableElement element="water" delay="5"/>
  2142. <executeTrigger trigger="disableElements_qwrf" delay="5.1"/>
  2143. </random>
  2144. <random>
  2145. <disableElement element="life"/>
  2146. <enableElement element="life" delay="5"/>
  2147. <executeTrigger trigger="disableElements_qwrf" delay="5.1"/>
  2148. </random>
  2149. <random>
  2150. <disableElement element="cold"/>
  2151. <enableElement element="cold" delay="5"/>
  2152. <executeTrigger trigger="disableElements_qwrf" delay="5.1"/>
  2153. </random>
  2154. <random>
  2155. <disableElement element="fire"/>
  2156. <enableElement element="fire" delay="5"/>
  2157. <executeTrigger trigger="disableElements_qwrf" delay="5.1"/>
  2158. </random>
  2159. </then>
  2160. </trigger>
  2161.  
  2162. <trigger id="disableElements_asde" autorun="false" repeat="true">
  2163. <if>
  2164. <counter name="disableElement_check_asde" compareMethod="equal" value="1"/>
  2165. <counter name="disableElement_check_all" compareMethod="equal" value="0"/>
  2166. </if>
  2167. <then>
  2168. <random>
  2169. <disableElement element="lightning"/>
  2170. <enableElement element="lightning" delay="5"/>
  2171. <executeTrigger trigger="disableElements_asde" delay="5.1"/>
  2172. </random>
  2173. <random>
  2174. <disableElement element="arcane"/>
  2175. <enableElement element="arcane" delay="5"/>
  2176. <executeTrigger trigger="disableElements_asde" delay="5.1"/>
  2177. </random>
  2178. <random>
  2179. <disableElement element="earth"/>
  2180. <enableElement element="earth" delay="5"/>
  2181. <executeTrigger trigger="disableElements_asde" delay="5.1"/>
  2182. </random>
  2183. <random>
  2184. <disableElement element="shield"/>
  2185. <enableElement element="shield" delay="5"/>
  2186. <executeTrigger trigger="disableElements_asde" delay="5.1"/>
  2187. </random>
  2188. </then>
  2189.  
  2190. </trigger>
  2191. <trigger id="disableElements_all" autorun="false" repeat="true">
  2192. <if>
  2193. <counter name="disableElement_check_all" compareMethod="equal" value="1"/>
  2194. </if>
  2195. <then>
  2196. <random>
  2197. <disableElement element="water"/>
  2198. <enableElement element="water" delay="45"/>
  2199. <executeTrigger trigger="disableElements_all" delay="45.1"/>
  2200. </random>
  2201. <random>
  2202. <disableElement element="life"/>
  2203. <enableElement element="life" delay="45"/>
  2204. <executeTrigger trigger="disableElements_all" delay="45.1"/>
  2205. </random>
  2206. <random>
  2207. <disableElement element="cold"/>
  2208. <enableElement element="cold" delay="45"/>
  2209. <executeTrigger trigger="disableElements_all" delay="45.1"/>
  2210. </random>
  2211. <random>
  2212. <disableElement element="fire"/>
  2213. <enableElement element="fire" delay="45"/>
  2214. <executeTrigger trigger="disableElements_all" delay="45.1"/>
  2215. </random>
  2216. <random>
  2217. <disableElement element="lightning"/>
  2218. <enableElement element="lightning" delay="45"/>
  2219. <executeTrigger trigger="disableElements_all" delay="45.1"/>
  2220. </random>
  2221. <random>
  2222. <disableElement element="arcane"/>
  2223. <enableElement element="arcane" delay="45"/>
  2224. <executeTrigger trigger="disableElements_all" delay="45.1"/>
  2225. </random>
  2226. <random>
  2227. <disableElement element="earth"/>
  2228. <enableElement element="earth" delay="45"/>
  2229. <executeTrigger trigger="disableElements_all" delay="45.1"/>
  2230. </random>
  2231. <random>
  2232. <disableElement element="shield"/>
  2233. <enableElement element="shield" delay="45"/>
  2234. <executeTrigger trigger="disableElements_all" delay="45.1"/>
  2235. </random>
  2236. </then>
  2237. </trigger>
  2238.  
  2239.  
  2240.  
  2241.  
  2242. <!-- ############## RANDOM MAGICKS ############## -->
  2243.  
  2244. <trigger id="RemoveMagicks" repeat="true" autorun="true">
  2245. <then>
  2246. <remove area="any" type="Luggage_magick"/>
  2247. </then>
  2248. </trigger>
  2249.  
  2250.  
  2251. <trigger id="randomMagicks_tierselector" autorun="false" repeat="true"> <!-- add basic and strong multiple times to reduce the chance of OP magick unlocks -->
  2252. <then> <!-- dirty, but it works -->
  2253. <random> <executetrigger trigger="randomMagicks_basic"/> <executetrigger trigger="randomMagicks_loop_no" delay="1"/> </random>
  2254. <random> <executetrigger trigger="randomMagicks_basic"/> <executetrigger trigger="randomMagicks_loop_no" delay="1"/> </random>
  2255. <random> <executetrigger trigger="randomMagicks_basic"/> <executetrigger trigger="randomMagicks_loop_no" delay="1"/> </random>
  2256.  
  2257. <random> <executetrigger trigger="randomMagicks_strong"/> <executetrigger trigger="randomMagicks_loop_no" delay="1"/> </random>
  2258. <random> <executetrigger trigger="randomMagicks_strong"/> <executetrigger trigger="randomMagicks_loop_no" delay="1"/> </random>
  2259.  
  2260. <random> <executetrigger trigger="randomMagicks_op"/> <executetrigger trigger="randomMagicks_loop_no" delay="1"/> </random>
  2261.  
  2262. <random> <executetrigger trigger="randomMagicks_loop_no" delay="1"/> </random>
  2263. </then>
  2264. </trigger>
  2265.  
  2266. <trigger id="randomMagicks_basic" repeat="true" autorun="false"> <!-- Magicks are unlocked when their timer equals 1 -->
  2267. <then> <!-- If the triggers select the same magick twice, it won't unlock again -->
  2268. <random> <counter name="grease" action="inc" value="1"/> </random> <!-- because the counter would be 2 -->
  2269. <random> <counter name="haste" action="inc" value="1"/> </random>
  2270. <random> <counter name="invisibility" action="inc" value="1"/> </random>
  2271. <random> <counter name="rain" action="inc" value="1"/> </random>
  2272. <random> <counter name="timewarp" action="inc" value="1"/> </random>
  2273. <random> <counter name="sphoenix" action="inc" value="1"/> </random>
  2274. <random> <counter name="nullify" action="inc" value="1"/> </random>
  2275. <random> <counter name="judgementspray" action="inc" value="1"/> </random>
  2276. <random> <counter name="wave" action="inc" value="1"/> </random>
  2277. <random> <counter name="levitate" action="inc" value="1"/> </random>
  2278. <random> <counter name="chainlightning" action="inc" value="1"/> </random>
  2279. <random> <counter name="portal" action="inc" value="1"/> </random>
  2280. </then>
  2281. </trigger>
  2282. <trigger id="randomMagicks_strong" repeat="true" autorun="false">
  2283. <then>
  2284. <random> <counter name="teleport" action="inc" value="1"/> </random>
  2285. <random> <counter name="charm" action="inc" value="1"/> </random>
  2286. <random> <counter name="meteors" action="inc" value="1"/> </random>
  2287. <random> <counter name="confuse" action="inc" value="1"/> </random>
  2288.  
  2289. <random> <counter name="fear" action="inc" value="1"/> </random>
  2290. <random> <counter name="tornado" action="inc" value="1"/> </random>
  2291. <random> <counter name="blizzard" action="inc" value="1"/> </random>
  2292. <random> <counter name="conflagration" action="inc" value="1"/> </random>
  2293. <random> <counter name="tractorpull" action="inc" value="1"/> </random>
  2294. <random> <counter name="performanceenchantment" action="inc" value="1"/> </random>
  2295. </then>
  2296. </trigger>
  2297. <trigger id="randomMagicks_op" repeat="true" autorun="false">
  2298. <then>
  2299. <random> <counter name="proppmagick" action="inc" value="1"/> </random>
  2300. <random> <counter name="thunderb" action="inc" value="1"/> </random>
  2301.  
  2302. <random> <counter name="ctd" action="inc" value="1"/> </random>
  2303. <random> <counter name="sdeath" action="inc" value="1"/> </random>
  2304. <random> <counter name="sundead" action="inc" value="1"/> </random>
  2305. <random> <counter name="selemental" action="inc" value="1"/> </random>
  2306. <random> <counter name="vortex" action="inc" value="1"/> </random>
  2307. <random> <counter name="thunders" action="inc" value="1"/> </random>
  2308. <random> <counter name="napalm" action="inc" value="1"/> </random>
  2309. </then>
  2310. </trigger>
  2311.  
  2312.  
  2313. <trigger id="randomMagicks_loop_yes" autorun="true" repeat="true"> <!-- runs if the counter has been set from within one of the magick-unlock triggers -->
  2314. <if><counter name="magickunlocked" compareMethod="equal" value="1"/></if>
  2315. <then>
  2316. <counter name="magickunlocked" action="set" value="0" delay="2"/> <!-- needs a slight delay so that loop_no doesn't falsely execute the tierselector because of unfortunate timing -->
  2317. <executetrigger trigger="randomMagicks_tierselector" delay="60"/> <!-- the more magicks have been unlocked, the higher the average delay before the next unlock -->
  2318. </then>
  2319. </trigger>
  2320.  
  2321. <trigger id="randomMagicks_loop_no" autorun="false" repeat="true"> <!-- called by the tierselector a second after unlocking a magick -->
  2322. <if><counter name="magickunlocked" compareMethod="equal" value="0"/></if>
  2323. <then> <!-- if the counter is still 0 after a magick should have been unlocked -->
  2324. <executetrigger trigger="randomMagicks_tierselector" delay="10"/> <!-- then execute the tierselector again -->
  2325. </then>
  2326. </trigger>
  2327.  
  2328.  
  2329. <trigger id="grease" autorun="true" repeat="true">
  2330. <if> <counter name="grease" compareMethod="equal" value="1"/> </if> <!-- if the tierselector increased this counter by 1 for the first time, the trigger runs -->
  2331. <then>
  2332. <unlockMagick magicktype="grease"/> <!-- unlock the magick, obviously -->
  2333. <counter name="magickunlocked" action="set" value="1"/> <!-- this counter is needed for the loop -->
  2334. <counter name="grease" action="inc" value="1"/> <!-- this counter is needed so that the magick doesn't get unlocked infinitely -->
  2335. </then>
  2336. </trigger>
  2337. <trigger id="haste" autorun="true" repeat="true">
  2338. <if> <counter name="haste" compareMethod="equal" value="1"/> </if>
  2339. <then> <unlockMagick magicktype="haste"/> <counter name="magickunlocked" action="set" value="1"/> <counter name="haste" action="inc" value="1"/></then>
  2340. </trigger>
  2341. <trigger id="invisibility" autorun="true" repeat="true">
  2342. <if> <counter name="invisibility" compareMethod="equal" value="1"/> </if>
  2343. <then> <unlockMagick magicktype="invisibility"/> <counter name="magickunlocked" action="set" value="1"/><counter name="invisibility" action="inc" value="1"/></then>
  2344. </trigger>
  2345. <trigger id="rain" autorun="true" repeat="true">
  2346. <if> <counter name="rain" compareMethod="equal" value="1"/> </if>
  2347. <then> <unlockMagick magicktype="rain"/> <counter name="magickunlocked" action="set" value="1"/><counter name="rain" action="inc" value="1"/></then>
  2348. </trigger>
  2349. <trigger id="timewarp" autorun="true" repeat="true">
  2350. <if> <counter name="timewarp" compareMethod="equal" value="1"/> </if>
  2351. <then> <unlockMagick magicktype="timewarp"/> <counter name="magickunlocked" action="set" value="1"/><counter name="timewarp" action="inc" value="1"/></then>
  2352. </trigger>
  2353. <trigger id="sphoenix" autorun="true" repeat="true">
  2354. <if> <counter name="sphoenix" compareMethod="equal" value="1"/> </if>
  2355. <then> <unlockMagick magicktype="sphoenix"/> <counter name="magickunlocked" action="set" value="1"/><counter name="sphoenix" action="inc" value="1"/></then>
  2356. </trigger>
  2357. <trigger id="nullify" autorun="true" repeat="true">
  2358. <if> <counter name="nullify" compareMethod="equal" value="1"/> </if>
  2359. <then> <unlockMagick magicktype="nullify"/> <counter name="magickunlocked" action="set" value="1"/><counter name="nullify" action="inc" value="1"/></then>
  2360. </trigger>
  2361. <trigger id="judgementspray" autorun="true" repeat="true">
  2362. <if> <counter name="judgementspray" compareMethod="equal" value="1"/> </if>
  2363. <then> <unlockMagick magicktype="judgementspray"/> <counter name="magickunlocked" action="set" value="1"/><counter name="judgementspray" action="inc" value="1"/></then>
  2364. </trigger>
  2365. <trigger id="wave" autorun="true" repeat="true">
  2366. <if> <counter name="wave" compareMethod="equal" value="1"/> </if>
  2367. <then> <unlockMagick magicktype="wave"/> <counter name="magickunlocked" action="set" value="1"/><counter name="wave" action="inc" value="1"/></then>
  2368. </trigger>
  2369. <trigger id="levitate" autorun="true" repeat="true">
  2370. <if> <counter name="levitate" compareMethod="equal" value="1"/> </if>
  2371. <then> <unlockMagick magicktype="levitate"/> <counter name="magickunlocked" action="set" value="1"/><counter name="levitate" action="inc" value="1"/></then>
  2372. </trigger>
  2373. <trigger id="chainlightning" autorun="true" repeat="true">
  2374. <if> <counter name="chainlightning" compareMethod="equal" value="1"/> </if>
  2375. <then> <unlockMagick magicktype="chainlightning"/> <counter name="magickunlocked" action="set" value="1"/><counter name="chainlightning" action="inc" value="1"/></then>
  2376. </trigger>
  2377. <trigger id="portal" autorun="true" repeat="true">
  2378. <if> <counter name="portal" compareMethod="equal" value="1"/> </if>
  2379. <then> <unlockMagick magicktype="portal"/> <counter name="magickunlocked" action="set" value="1"/><counter name="portal" action="inc" value="1"/></then>
  2380. </trigger>
  2381. <trigger id="teleport" autorun="true" repeat="true">
  2382. <if> <counter name="teleport" compareMethod="equal" value="1"/> </if>
  2383. <then> <unlockMagick magicktype="teleport"/> <counter name="magickunlocked" action="set" value="1"/><counter name="teleport" action="inc" value="1"/></then>
  2384. </trigger>
  2385. <trigger id="charm" autorun="true" repeat="true">
  2386. <if> <counter name="charm" compareMethod="equal" value="1"/> </if>
  2387. <then> <unlockMagick magicktype="charm"/> <counter name="magickunlocked" action="set" value="1"/><counter name="charm" action="inc" value="1"/></then>
  2388. </trigger>
  2389. <trigger id="meteors" autorun="true" repeat="true">
  2390. <if> <counter name="meteors" compareMethod="equal" value="1"/> </if>
  2391. <then> <unlockMagick magicktype="meteors"/> <counter name="magickunlocked" action="set" value="1"/><counter name="meteors" action="inc" value="1"/></then>
  2392. </trigger>
  2393. <trigger id="confuse" autorun="true" repeat="true">
  2394. <if> <counter name="confuse" compareMethod="equal" value="1"/> </if>
  2395. <then> <unlockMagick magicktype="confuse"/> <counter name="magickunlocked" action="set" value="1"/><counter name="confuse" action="inc" value="1"/></then>
  2396. </trigger>
  2397. <trigger id="fear" autorun="true" repeat="true">
  2398. <if> <counter name="fear" compareMethod="equal" value="1"/> </if>
  2399. <then> <unlockMagick magicktype="fear"/> <counter name="magickunlocked" action="set" value="1"/><counter name="fear" action="inc" value="1"/></then>
  2400. </trigger>
  2401. <trigger id="tornado" autorun="true" repeat="true">
  2402. <if> <counter name="tornado" compareMethod="equal" value="1"/> </if>
  2403. <then> <unlockMagick magicktype="tornado"/> <counter name="magickunlocked" action="set" value="1"/><counter name="tornado" action="inc" value="1"/></then>
  2404. </trigger>
  2405. <trigger id="blizzard" autorun="true" repeat="true">
  2406. <if> <counter name="blizzard" compareMethod="equal" value="1"/> </if>
  2407. <then> <unlockMagick magicktype="blizzard"/> <counter name="magickunlocked" action="set" value="1"/><counter name="blizzard" action="inc" value="1"/></then>
  2408. </trigger>
  2409. <trigger id="conflagration" autorun="true" repeat="true">
  2410. <if> <counter name="conflagration" compareMethod="equal" value="1"/> </if>
  2411. <then> <unlockMagick magicktype="conflagration"/> <counter name="magickunlocked" action="set" value="1"/><counter name="conflagration" action="inc" value="1"/></then>
  2412. </trigger>
  2413. <trigger id="tractorpull" autorun="true" repeat="true">
  2414. <if> <counter name="tractorpull" compareMethod="equal" value="1"/> </if>
  2415. <then> <unlockMagick magicktype="tractorpull"/> <counter name="magickunlocked" action="set" value="1"/><counter name="tractorpull" action="inc" value="1"/></then>
  2416. </trigger>
  2417. <trigger id="performanceenchantment" autorun="true" repeat="true">
  2418. <if> <counter name="performanceenchantment" compareMethod="equal" value="1"/> </if>
  2419. <then> <unlockMagick magicktype="performanceenchantment"/> <counter name="magickunlocked" action="set" value="1"/><counter name="performanceenchantment" action="inc" value="1"/></then>
  2420. </trigger>
  2421. <trigger id="proppmagick" autorun="true" repeat="true">
  2422. <if> <counter name="proppmagick" compareMethod="equal" value="1"/> </if>
  2423. <then> <unlockMagick magicktype="proppmagick"/> <counter name="magickunlocked" action="set" value="1"/><counter name="proppmagick" action="inc" value="1"/></then>
  2424. </trigger>
  2425. <trigger id="thunderb" autorun="true" repeat="true">
  2426. <if> <counter name="thunderb" compareMethod="equal" value="1"/> </if>
  2427. <then> <unlockMagick magicktype="thunderb"/> <counter name="magickunlocked" action="set" value="1"/><counter name="thunderb" action="inc" value="1"/></then>
  2428. </trigger>
  2429. <trigger id="ctd" autorun="true" repeat="true">
  2430. <if> <counter name="ctd" compareMethod="equal" value="1"/> </if>
  2431. <then> <unlockMagick magicktype="ctd"/> <counter name="magickunlocked" action="set" value="1"/><counter name="ctd" action="inc" value="1"/></then>
  2432. </trigger>
  2433. <trigger id="sdeath" autorun="true" repeat="true">
  2434. <if> <counter name="sdeath" compareMethod="equal" value="1"/> </if>
  2435. <then> <unlockMagick magicktype="sdeath"/> <counter name="magickunlocked" action="set" value="1"/><counter name="sdeath" action="inc" value="1"/></then>
  2436. </trigger>
  2437. <trigger id="sundead" autorun="true" repeat="true">
  2438. <if> <counter name="sundead" compareMethod="equal" value="1"/> </if>
  2439. <then> <unlockMagick magicktype="sundead"/> <counter name="magickunlocked" action="set" value="1"/><counter name="sundead" action="inc" value="1"/></then>
  2440. </trigger>
  2441. <trigger id="selemental" autorun="true" repeat="true">
  2442. <if> <counter name="selemental" compareMethod="equal" value="1"/> </if>
  2443. <then> <unlockMagick magicktype="selemental"/> <counter name="magickunlocked" action="set" value="1"/><counter name="selemental" action="inc" value="1"/></then>
  2444. </trigger>
  2445. <trigger id="vortex" autorun="true" repeat="true">
  2446. <if> <counter name="vortex" compareMethod="equal" value="1"/> </if>
  2447. <then> <unlockMagick magicktype="vortex"/> <counter name="magickunlocked" action="set" value="1"/><counter name="vortex" action="inc" value="1"/></then>
  2448. </trigger>
  2449. <trigger id="thunders" autorun="true" repeat="true">
  2450. <if> <counter name="thunders" compareMethod="equal" value="1"/> </if>
  2451. <then> <unlockMagick magicktype="thunders"/> <counter name="magickunlocked" action="set" value="1"/><counter name="thunders" action="inc" value="1"/></then>
  2452. </trigger>
  2453. <trigger id="napalm" autorun="true" repeat="true">
  2454. <if> <counter name="napalm" compareMethod="equal" value="1"/> </if>
  2455. <then> <unlockMagick magicktype="napalm"/> <counter name="magickunlocked" action="set" value="1"/><counter name="napalm" action="inc" value="1"/></then>
  2456. </trigger>
  2457.  
  2458.  
  2459. <!-- ############## WEATHER ############## -->
  2460.  
  2461. <trigger id="weather" autorun="false" repeat="true">
  2462. <then>
  2463. <random>
  2464. <magick magicktype="Rain"/>
  2465. <executeTrigger trigger="weather" delay="20"/>
  2466. </random>
  2467. <random>
  2468. <magick magicktype="Rain"/>
  2469. <executeTrigger trigger="weather" delay="40"/>
  2470. </random>
  2471. <random>
  2472. <magick magicktype="Blizzard"/>
  2473. <executeTrigger trigger="weather" delay="15"/>
  2474. </random>
  2475. <random>
  2476. <magick magicktype="Blizzard"/>
  2477. <executeTrigger trigger="weather" delay="30"/>
  2478. </random>
  2479. <random>
  2480. <magick magicktype="ThunderS"/>
  2481. <executeTrigger trigger="weather" delay="50"/>
  2482. </random>
  2483. <random><executeTrigger trigger="weather" delay="15"/></random>
  2484. <random><executeTrigger trigger="weather" delay="30"/></random>
  2485. </then>
  2486. </trigger>
  2487.  
  2488.  
  2489.  
  2490.  
  2491. <!-- ############## WIZARD REINFORCEMENTS ############## -->
  2492.  
  2493. <trigger id="reinforcements" autorun="false">
  2494. <then>
  2495. <random>
  2496. <spawn type="wizard_hat_evil" nr="1" area="northeast" spawnAnimation="revive"/>
  2497. <spawn type="wizard_evil" nr="1" area="southeast" spawnAnimation="revive"/>
  2498. <spawn type="wizard_hat_evil" nr="1" area="southwest" spawnAnimation="revive"/>
  2499. <spawn type="wizard_evil" nr="1" area="northwest" spawnAnimation="revive"/>
  2500. <executeTrigger trigger="reinforcements" delay="540"/>
  2501. <executeTrigger trigger="reinforcements_faction" delay="0.5"/>
  2502. </random>
  2503. <random>
  2504. <spawn type="wizard_hat" nr="1" area="northeast" spawnAnimation="revive"/>
  2505. <spawn type="Wizard_Alucart" nr="1" area="southeast" spawnAnimation="revive"/>
  2506. <spawn type="wizard_hat" nr="1" area="southwest" spawnAnimation="revive"/>
  2507. <spawn type="Wizard_Alucart" nr="1" area="northwest" spawnAnimation="revive"/>
  2508. <executeTrigger trigger="reinforcements" delay="240"/>
  2509. <executeTrigger trigger="reinforcements_faction" delay="0.5"/>
  2510. </random>
  2511. <random>
  2512. <executeTrigger trigger="reinforcements" delay="120"/>
  2513. </random>
  2514. </then>
  2515. </trigger>
  2516. <trigger id="reinforcements_faction" autorun="false">
  2517. <then>
  2518. <random>
  2519. <setFaction area="any" type="wizard_hat_evil" action="set" faction="friendly"/>
  2520. <setFaction area="any" type="wizard_evil" action="set" faction="friendly"/>
  2521. <setHint id="#friendlywizards"/>
  2522. <removeHint delay="5"/>
  2523. </random>
  2524. <random>
  2525. <setFaction area="any" type="wizard_hat" action="set" faction="evil"/>
  2526. <setFaction area="any" type="wizard_Alucart" action="set" faction="evil"/>
  2527. <setHint id="#evilwizards"/>
  2528. <removeHint delay="5"/>
  2529. </random>
  2530. </then>
  2531. </trigger>
  2532.  
  2533.  
  2534.  
  2535.  
  2536.  
  2537. <trigger id="disableElements_choiceT" autorun="true" repeat="false">
  2538. <if>
  2539. <counter name="disableElements_choice" compareMethod="equal" value="1"/>
  2540. </if>
  2541. <then>
  2542. <spawn type="Goblin_miner" id="disable_qwrf" area="north" order="wander" reactto="none" ondeath="disableElement_check_qwrf"/>
  2543. <spawn type="Spider_forest" id="disable_asde" area="south" order="wander" reactto="none" ondeath="disableElement_check_asde"/>
  2544. <spawn type="Skeleton_noob" id="disable_all" area="east" order="wander" reactto="none" ondeath="disableElement_check_all"/>
  2545.  
  2546. <kill id="disable_qwrf" delay="29.5"/> <counter name="disableElement_check_qwrf" action="set" value="0"/>
  2547. <kill id="disable_asde" delay="29.5"/> <counter name="disableElement_check_asde" action="set" value="0"/>
  2548. <kill id="disable_all" delay="29.5"/> <counter name="disableElement_check_all" action="set" value="0"/>
  2549.  
  2550. <setHint id="#DisableElements" position="center"/>
  2551. <removeHint delay="29.5"/>
  2552.  
  2553. <executeTrigger trigger="disableElements_qwrf" delay="30"/>
  2554. <executeTrigger trigger="disableElements_asde" delay="30"/>
  2555. <executeTrigger trigger="disableElements_all" delay="30"/>
  2556. </then>
  2557. </trigger>
  2558.  
  2559.  
  2560.  
  2561.  
  2562. <trigger id="CheckWaveProgression" autorun="true" repeat="true">
  2563. <if>
  2564. <counter name="CheckWaveProgressionLoop" compareMethod="equal" value="1"/>
  2565. <factionPresent factions="evil,wild" compareMethod="equal" nr="1" area="any" />
  2566. <idPresent id="WaveSwitchUnit" area="any" />
  2567. </if>
  2568. <then>
  2569. <kill id="WaveSwitchUnit"/>
  2570. <counter name="CheckWaveProgressionLoop" action="set" value="0"/>
  2571. </then>
  2572. </trigger>
  2573.  
  2574.  
  2575. </Scene>
Advertisement
Add Comment
Please, Sign In to add comment