Advertisement
Guest User

Untitled

a guest
Aug 20th, 2014
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.05 KB | None | 0 0
  1. <class name="Combat" id="749">
  2. <trigger priority="2110" id="750">
  3. <pattern>You score a CRITICAL HIT!</pattern>
  4. <value>#GAG
  5. #add crit 1
  6. #add battle_crits 1</value>
  7. </trigger>
  8. <var name="crit" id="751">0</var>
  9. <trigger priority="2130" regex="true" id="752">
  10. <pattern>^You hit (.+) ([0-9]+) times\.$</pattern>
  11. <value>#IF (@crit) {
  12. #sub {You hit %1 %2 times. (@crit crits)}
  13. #var crit 0
  14. } {
  15. #sub {You hit %1 %2 times.}
  16. }
  17. #IF (%2 = 0) {
  18. #GAG
  19. }
  20.  
  21. #add battle_hits %2
  22. #add battle_rounds 1
  23. in_combat=1
  24. #RAISE onHit</value>
  25. </trigger>
  26. <class name="Death messages" id="753">
  27. <trigger priority="2150" regex="true" id="754">
  28. <pattern>^([a-zA-Z -]+) bites the dust!$</pattern>
  29. <value>#eval @target_dead(%1)</value>
  30. </trigger>
  31. <trigger priority="2160" regex="true" id="755">
  32. <pattern>^([a-zA-Z -]+) dies in a massive pool of blood\.$</pattern>
  33. <value>#eval @target_dead(%1)</value>
  34. </trigger>
  35. <trigger priority="2170" regex="true" id="756">
  36. <pattern>^([a-zA-Z -]+) falls down on (his|her|its) back and dies\.$</pattern>
  37. <value>#eval @target_dead(%1)</value>
  38. </trigger>
  39. <trigger priority="2180" regex="true" id="757">
  40. <pattern>^([a-zA-Z -]+) falls to the ground, dead\.$</pattern>
  41. <value>#eval @target_dead(%1)</value>
  42. </trigger>
  43. <trigger priority="2190" regex="true" id="758">
  44. <pattern>^([a-zA-Z -]+) is DEAD meat!$</pattern>
  45. <value>#eval @target_dead(%1)</value>
  46. </trigger>
  47. <trigger priority="2200" regex="true" id="759">
  48. <pattern>^([a-zA-Z -]+) lets out a deafening scream as (his|her|its) cortex cracks revealing (his|her|its) brains\.$</pattern>
  49. <value>#eval @target_dead(%1)</value>
  50. </trigger>
  51. <trigger priority="2210" regex="true" id="760">
  52. <pattern>^([a-zA-Z -]+) loses (his|her|its) privilege to live\.$</pattern>
  53. <value>#eval @target_dead(%1)</value>
  54. </trigger>
  55. <trigger priority="2220" regex="true" id="761">
  56. <pattern>^([a-zA-Z -]+) moans in pain as a rapture in (his|her|its) internal organs cause malfunction\.$</pattern>
  57. <value>#eval @target_dead(%1)</value>
  58. </trigger>
  59. <trigger priority="2230" regex="true" id="762">
  60. <pattern>^([a-zA-Z -]+) tries to gasp air, but only succeeds in drooling blood and dies away\.$</pattern>
  61. <value>#eval @target_dead(%1)</value>
  62. </trigger>
  63. <trigger priority="2240" regex="true" id="763">
  64. <pattern>^([a-zA-Z -]+) whispers (his|her|its) prayers but no-one cares\.$</pattern>
  65. <value>#eval @target_dead(%1)</value>
  66. </trigger>
  67. <trigger priority="2250" regex="true" id="764">
  68. <pattern>^([a-zA-Z -]+)'s body parts collapse and swing all around the area\.$</pattern>
  69. <value>#eval @target_dead(%1)</value>
  70. </trigger>
  71. <trigger priority="2260" regex="true" id="765">
  72. <pattern>^([a-zA-Z -]+)'s eyes pop out of their holes as (he|she|it) stops breathing\.$</pattern>
  73. <value>#eval @target_dead(%1)</value>
  74. </trigger>
  75. <trigger priority="2270" regex="true" id="766">
  76. <pattern>^A vast burst of liquid blood spills from the lifeless body of ([a-zA-Z -]+)!$</pattern>
  77. <value>#eval @target_dead(%1)</value>
  78. </trigger>
  79. <trigger priority="2280" regex="true" id="767">
  80. <pattern>^ULCH! ([a-zA-Z -]+)'s stomach rips apart releasing bloody bowels onto the ground\.$</pattern>
  81. <value>#eval @target_dead(%1)</value>
  82. </trigger>
  83. <trigger priority="2290" regex="true" id="768">
  84. <pattern>^YUCH! ([a-zA-Z -]+)'s brains spill all over the place\.$</pattern>
  85. <value>#eval @target_dead(%1)</value>
  86. </trigger>
  87. <trigger priority="2300" regex="true" id="769">
  88. <pattern>^YUCH! ([a-zA-Z -]+)'s entrails spill all over the room!$</pattern>
  89. <value>#eval @target_dead(%1)</value>
  90. </trigger>
  91. <trigger priority="2310" regex="true" id="770">
  92. <pattern>^YUCH! ([a-zA-Z -]+)'s skull explodes in pieces and (his|her|its) brains decorate the room!$</pattern>
  93. <value>#eval @target_dead(%1)</value>
  94. </trigger>
  95. <trigger priority="2320" regex="true" id="771">
  96. <pattern>^([a-zA-Z -]+) is DEAD, R\.I\.P\.$</pattern>
  97. <value>#eval @target_dead(%1)</value>
  98. </trigger>
  99. <trigger priority="3070" regex="true" id="772">
  100. <pattern>^An? ([a-zA-Z -]+) turns into a pile of dust\.$</pattern>
  101. <value>#eval @target_dead(%1)</value>
  102. </trigger>
  103. </class>
  104. <var name="tgt" id="773">sparrow</var>
  105. <alias name="kk" id="774">
  106. <value>#IF (%-1) {
  107. @set_target(%-1)
  108. #echo Target changed to: %-1
  109. }
  110. #IF (@attack_method = "use") {
  111. #send @attack_method @attack_skill at @tgt
  112. }
  113.  
  114. #IF (@attack_method = "cast") {
  115. #IF (@soulsteal = 0) {
  116. ss @tgt
  117. } {
  118. #IF (@sp &lt; 2000) {
  119. attack_spell = "beam of chaos"
  120. } {
  121. attack_spell = "demon touch"
  122. }
  123.  
  124. #IF (@attack_spell = "demon touch") {
  125. #send @attack_method @attack_spell at @tgt with nether
  126. } {
  127. #send @attack_method @attack_spell at @tgt
  128. }
  129. }
  130. }
  131.  
  132. #IF (@attack_method = "mortis") {
  133. #send use mortification at @tgt with @mortis_technique
  134. }
  135.  
  136. #sendraw phoenix kill @tgt
  137. #sendraw kill @tgt</value>
  138. </alias>
  139. <var name="attack_method" id="775">use</var>
  140. <var name="attack_skill" id="776">celestial smiting</var>
  141. <var name="attack_spell" type="Literal" id="777">demon touch</var>
  142. <func name="set_target" id="778">
  143. <value>#IF ($tgt &lt;&gt; @tgt) {
  144. ;;#sendraw party say Target: $tgt
  145. }
  146. #var tgt %lower($tgt)</value>
  147. <arglist>$tgt</arglist>
  148. </func>
  149. <class name="AutoTarget" id="779">
  150. <var name="autotarget_db" type="Record" sorted="1" id="780">
  151. <value>A barbarian man checking the encampment=barbarian|A barbarian woman patrolling the camp=barbarian|A beautiful young deer=deer|A bedouin chief=chief|A big red lobster=lobster|A big sea horse is dancing in the waves=horse|A black and white penguin=penguin|A black cat=cat|A blonde fairie=fairie|A brown cat=cat|A chitine priest known as 'choldrith'=priest|A chitine warrior=warrior|A creepy-looking crow=crow|A crying bedouin's wife=bedouin|A cute little fairie=fairie|A dark elf air mage=mage|A dark elf earth mage=mage|A dark elf fire mage=mage|A dark elf warrior=warrior|A dark elf water mage=mage|A fat looking bug=bug|A female unicorn=unicorn|A ferocious wolverine=wolverine|A furry squirrel=squirrel|A gargantuan sized spider=spider|A giant starfish is covering the window=starfish|A gigantic sea-shell is making some pearls here=shell|A gray-striped cat=cat|A green suited goblin making trouble=goblin|A happy boy=boy|A happy girl=girl|A happy rabbit=rabbit|A huge bright-red crab=crab|A HUGE bug=bug|A huge cave hog with woolly dark grey fur=hog|A huge shrimp is cackling here=shrimp|A huge white polarbear=bear|A large soldier termite=termite|A long nosed goblin is grinning menacingly=goblin|A male unicorn=unicorn|A mean little goblin is here tricking newbies=goblin|A mother is watching her children=mother|A mutated anteater=anteater|A pitiful worm squirming around=worm|A playful girl=girl|A plump cat=cat|A pudgy boy=boy|A pudgy girl=girl|A reddish cat=cat|A sea animal swimming around=animal|A short boy=boy|A short girl=girl|A shy bedouin's wife=bedouin|A simple farmer=human|A small crab is hunting for food=crab|A small insectoid=insectoid|A small sea urchin=urchin|A smaller shrimp is hiding behind the huge one=shrimp|A soldier termite=termite|A sparrow singing her beautiful songs=sparrow|A swarm of ants=ants|A tall boy=boy|A tall girl=girl|A termite king=king|A termite queen=queen|A termite with wings=termite|A tiny fairie=fairie|A tired camel is chewing hay=camel|A weary looking bedouin=bedouin|A white cat=cat|A white duck is swimming here=duck|A white termite=termite|A worker termite=termite|Big black eunuch=eunuch|Big white elephant=elephant|Blind seeress=seeress|Brontosaurus is chewing leaves here=brontosaurus|Cave troll=troll|Crut, the slimy Lobster=crut|Deadly looking insect guard=guard|Drow warrior=drow|Elite guard of Grandag the Warlord=guard|Elite guard of the city=guard|Fat farmboy=farmboy|Female follower of Asclepius=follower|Female student=student|Female villager=human|Fisherman of village=human|Fourth year male student=student|Guardian gargoyle=gargoyle|Guardian of the valley=guardian|Herbert, the loyal maid of Crut=herbert|Karin, Wendal's wife=karin|Knight of the unicorns=knight|Locust of Kirgith Noll=locust|Male follower of Asclepius=follower|Male student=student|Necrospawn of Kirgith Noll=necrospawn|Old gray elephant=elephant|Royal guardian of the ancient lobster=guardian|Stony gargoyle=gargoyle|Third year female student=student|Third year male student=student|Triceraptor is minding it's own business here=triceraptor|Tyrannosaurus Rex=rex|Vhermaas, the ancient druid=vhermaas|Village Guard=human|Watchman monitoring landscape=soldier|Watchman monitoring the city=soldier|Wendal Guillig, the Parkmaster=wendal|Young farmboy=farmboy</value>
  152. <json>{"A barbarian man checking the encampment":"barbarian","A barbarian woman patrolling the camp":"barbarian","A beautiful young deer":"deer","A bedouin chief":"chief","A big red lobster":"lobster","A big sea horse is dancing in the waves":"horse","A black and white penguin":"penguin","A black cat":"cat","A blonde fairie":"fairie","A brown cat":"cat","A chitine priest known as 'choldrith'":"priest","A chitine warrior":"warrior","A creepy-looking crow":"crow","A crying bedouin's wife":"bedouin","A cute little fairie":"fairie","A dark elf air mage":"mage","A dark elf earth mage":"mage","A dark elf fire mage":"mage","A dark elf warrior":"warrior","A dark elf water mage":"mage","A fat looking bug":"bug","A female unicorn":"unicorn","A ferocious wolverine":"wolverine","A furry squirrel":"squirrel","A gargantuan sized spider":"spider","A giant starfish is covering the window":"starfish","A gigantic sea-shell is making some pearls here":"shell","A gray-striped cat":"cat","A green suited goblin making trouble":"goblin","A happy boy":"boy","A happy girl":"girl","A happy rabbit":"rabbit","A huge bright-red crab":"crab","A HUGE bug":"bug","A huge cave hog with woolly dark grey fur":"hog","A huge shrimp is cackling here":"shrimp","A huge white polarbear":"bear","A large soldier termite":"termite","A long nosed goblin is grinning menacingly":"goblin","A male unicorn":"unicorn","A mean little goblin is here tricking newbies":"goblin","A mother is watching her children":"mother","A mutated anteater":"anteater","A pitiful worm squirming around":"worm","A playful girl":"girl","A plump cat":"cat","A pudgy boy":"boy","A pudgy girl":"girl","A reddish cat":"cat","A sea animal swimming around":"animal","A short boy":"boy","A short girl":"girl","A shy bedouin's wife":"bedouin","A simple farmer":"human","A small crab is hunting for food":"crab","A small insectoid":"insectoid","A small sea urchin":"urchin","A smaller shrimp is hiding behind the huge one":"shrimp","A soldier termite":"termite","A sparrow singing her beautiful songs":"sparrow","A swarm of ants":"ants","A tall boy":"boy","A tall girl":"girl","A termite king":"king","A termite queen":"queen","A termite with wings":"termite","A tiny fairie":"fairie","A tired camel is chewing hay":"camel","A weary looking bedouin":"bedouin","A white cat":"cat","A white duck is swimming here":"duck","A white termite":"termite","A worker termite":"termite","Big black eunuch":"eunuch","Big white elephant":"elephant","Blind seeress":"seeress","Brontosaurus is chewing leaves here":"brontosaurus","Cave troll":"troll","Crut, the slimy Lobster":"crut","Deadly looking insect guard":"guard","Drow warrior":"drow","Elite guard of Grandag the Warlord":"guard","Elite guard of the city":"guard","Fat farmboy":"farmboy","Female follower of Asclepius":"follower","Female student":"student","Female villager":"human","Fisherman of village":"human","Fourth year male student":"student","Guardian gargoyle":"gargoyle","Guardian of the valley":"guardian","Herbert, the loyal maid of Crut":"herbert","Karin, Wendal's wife":"karin","Knight of the unicorns":"knight","Locust of Kirgith Noll":"locust","Male follower of Asclepius":"follower","Male student":"student","Necrospawn of Kirgith Noll":"necrospawn","Old gray elephant":"elephant","Royal guardian of the ancient lobster":"guardian","Stony gargoyle":"gargoyle","Third year female student":"student","Third year male student":"student","Triceraptor is minding it's own business here":"triceraptor","Tyrannosaurus Rex":"rex","Vhermaas, the ancient druid":"vhermaas","Village Guard":"human","Watchman monitoring landscape":"soldier","Watchman monitoring the city":"soldier","Wendal Guillig, the Parkmaster":"wendal","Young farmboy":"farmboy"}</json>
  153. </var>
  154. <trigger priority="2800" id="781">
  155. <pattern>^({@autotarget_db})$</pattern>
  156. <value>#GAG
  157. #echo {%ansi(magenta)%1%ansi(reset) %ansi(high,green)(%ansi(high,blue)+%ansi(reset)%ansi(high,green))%ansi(reset)}
  158. $tmp = @set_target(%db(@autotarget_db,%1))</value>
  159. </trigger>
  160. <trigger priority="4800" regex="true" id="782">
  161. <pattern>^(A (huge|fierce|furious|massive|monstrous|deadly|fearsome|hulking) cave hog with .+ fur)$</pattern>
  162. <value>#GAG
  163. #echo {%ansi(magenta)%1%ansi(reset) %ansi(high,green)(%ansi(high,blue)+%ansi(reset)%ansi(high,green))%ansi(reset)}
  164. $tmp = @set_target(hog)</value>
  165. </trigger>
  166. <trigger priority="4800" regex="true" id="783">
  167. <pattern>^(A (huge|fierce|furious|massive|monstrous|deadly|fearsome|hulking) owlbear with .+ fur)$</pattern>
  168. <value>#GAG
  169. #echo {%ansi(magenta)%1%ansi(reset) %ansi(high,green)(%ansi(high,blue)+%ansi(reset)%ansi(high,green))%ansi(reset)}
  170. $tmp = @set_target(owlbear)</value>
  171. </trigger>
  172. </class>
  173. <alias name="k" id="784">
  174. <value>#IF (%-1) {
  175. @set_target(%-1)
  176. #echo Target changed to: %-1
  177. }
  178. #IF (@attack_method = "use") {
  179. #send @attack_method @attack_skill at @tgt
  180. }
  181.  
  182. #IF (@attack_method = "cast") {
  183. #IF (@soulsteal = 0) {
  184. ss @tgt
  185. } {
  186. #IF (@sp &lt; 3000) {
  187. attack_spell = "beam of chaos"
  188. } {
  189. attack_spell = "demon touch"
  190. }
  191.  
  192. #IF (@attack_spell = "demon touch") {
  193. #send @attack_method @attack_spell at @tgt with electric
  194. } {
  195. #send @attack_method @attack_spell at @tgt
  196. }
  197. }
  198. }
  199.  
  200. #IF (@attack_method = "mortis") {
  201. #send use mortification at @tgt with @mortis_technique
  202. }
  203.  
  204. #sendraw phoenix kill @tgt</value>
  205. </alias>
  206. <func name="target_dead" id="785">
  207. <value>#GAG
  208. #echo {%ansi(high,blue)$tgt is DEAD.%ansi(reset) %ansi(high,grey)[Rounds: %ansi(green)@battle_rounds %ansi(high,grey)Hits: %ansi(green)@battle_hits %ansi(high,grey)Crits: %ansi(green)@battle_crits%ansi(high,grey)]%ansi(reset)}
  209. #var battle_rounds 0
  210. #var battle_hits 0
  211. #var battle_crits 0
  212. in_combat=0
  213.  
  214. #IF (@corpse_delay &gt; 0) {
  215. #ECHO Waiting @corpse_delay sec for corpse handling
  216. #wait @corpse_delay*1000
  217. }
  218.  
  219. #IF (@corpse_feed = "On") {
  220. #SENDRAW phoenix feed
  221. }
  222.  
  223. #IF (@corpse_drain = "On") {
  224. ;;#SENDRAW drain corpse
  225. #IF (@minion1_shape = "EXC") {
  226. #SENDRAW xdrain corpse
  227. } {
  228. #SENDRAW phoenix feed
  229. }
  230. }
  231.  
  232. #IF (@corpse_eat = "On") {
  233. #SENDRAW get corpse
  234. #SENDRAW eat corpse
  235. }
  236.  
  237. #RAISE onKill $tgt
  238. #RAISE onLoot</value>
  239. <arglist>$tgt</arglist>
  240. </func>
  241. <var name="corpse_eat" id="786">Off</var>
  242. <var name="corpse_drain" id="787">Off</var>
  243. <button type="Multistate" priority="2914" id="788">
  244. <caption>Corpses</caption>
  245. <button id="789">
  246. <caption>Drain (@corpse_drain)</caption>
  247. <value>#if (@corpse_drain = "On") {
  248. #echo No more draining corpses
  249. #var corpse_drain Off
  250. } {
  251. #echo Draining corpses
  252. #var corpse_drain On
  253. }</value>
  254. </button>
  255. <button id="790">
  256. <caption>Feed (@corpse_feed)</caption>
  257. <value>#if (@corpse_feed = "On") {
  258. #echo No more feeding corpses
  259. #var corpse_feed Off
  260. } {
  261. #echo Feeding corpses to undead
  262. #var corpse_feed On
  263. }</value>
  264. </button>
  265. <button id="791">
  266. <caption>Eat (@corpse_eat)</caption>
  267. <value>#if (@corpse_eat = "On") {
  268. #echo No more eating corpses
  269. #var corpse_eat Off
  270. } {
  271. #echo Eating corpses
  272. #var corpse_eat On
  273. }</value>
  274. </button>
  275. <button id="792">
  276. <caption>Reset All</caption>
  277. <value>#var corpse_feed Off
  278. #var corpse_drain Off
  279. #var corpse_eat Off
  280. #var corpse_delay 0
  281.  
  282. #echo Corpse handling resetted.</value>
  283. </button>
  284. <button id="793">
  285. <caption>Delay (@corpse_delay)</caption>
  286. <value>#var corpse_delay %pick("p:Pick a delay for corpse handling","o:1",0,0.5,1,1.5,2,2.5,3,3.5,4,4.5,5)
  287. #echo Set delay to @corpse_delay</value>
  288. </button>
  289. </button>
  290. <var name="corpse_delay" type="Integer" id="794">0</var>
  291. <var name="battle_rounds" type="Integer" id="795">0</var>
  292. <var name="battle_crits" type="Integer" id="796">0</var>
  293. <var name="battle_hits" type="Integer" id="797">0</var>
  294. <trigger priority="3000" regex="true" id="798">
  295. <pattern>^You are STUNNED and unable to fight!$</pattern>
  296. <value>#add battle_rounds 1
  297. in_combat=1</value>
  298. </trigger>
  299. <var name="in_combat" type="Integer" id="799">0</var>
  300. <button type="Gauge" autosize="false" width="100" height="30" autopos="false" left="-2" top="-2" color="red" gaugelowcol="lime" gaugebackcol="lime" priority="3384" id="800">
  301. <caption>COMBAT</caption>
  302. <expr>@in_combat</expr>
  303. <gaugemax>1</gaugemax>
  304. <gaugelow>0</gaugelow>
  305. </button>
  306. <alias name="tgt" id="801">
  307. <value>@set_target(%-1)
  308. #echo Target changed to: %-1</value>
  309. </alias>
  310. <trigger priority="4390" id="802">
  311. <pattern>You feel that your body and mind works at lightning speed!</pattern>
  312. <value>#CW YELLOW
  313.  
  314. #SAY HASTE!
  315. #SAY HASTE!
  316. #SAY HASTE!
  317.  
  318. #add hastes 1</value>
  319. </trigger>
  320. <var name="hastes" type="Integer" id="803">15070</var>
  321. <var name="skills" id="804">446182</var>
  322. <button autosize="false" width="100" height="23" toolbar="2" btnenabled="false" priority="4472" id="806">
  323. <caption>@minion1_shape</caption>
  324. </button>
  325. <class name="Spell_Subs" id="807">
  326. <trigger priority="773910" id="808">
  327. <pattern>^An ethereal image of a huge demon dressed in strange regal robes and wearing a tall iron crown covers the features of %1 as * completes the incantation. %2 suddenly cringes in pain and lets out an incomprehensible moan!</pattern>
  328. <value>#sub {%1 casts 'Tyrannize' at %2! (Psionic)}
  329. #cw gray</value>
  330. </trigger>
  331. <trigger priority="773940" id="809">
  332. <pattern>^An ethereal image of a massive demonic woman wreathed in red flames covers the features of %1 as * completes the incantation. With a horrible scream of pain %2 suddenly BURSTS in flames!</pattern>
  333. <value>#sub {%1 casts 'Annihilation' at %2! (Fire)}
  334. #cw gray</value>
  335. </trigger>
  336. <trigger priority="773950" id="810">
  337. <pattern>^%1 grins wickedly as * offers %2 a helping hand.</pattern>
  338. <value>#sub {%1 casts 'Helping Hand' at %2! (Nexus)}
  339. #cw gray</value>
  340. </trigger>
  341. <trigger priority="773960" id="811">
  342. <pattern>^An ethereal image of a massive demonic creature of darkness covers the features of %1 as * completes the incantation. An army of ethereal crows and ravens with burning red eyes materializes all around %2, attacking * mercilessly!</pattern>
  343. <value>#sub {%1 casts 'Death Nnell' at %2! (Nether)}
  344. #cw gray</value>
  345. </trigger>
  346. <trigger priority="773970" id="812">
  347. <pattern>^An ethereal image of a massive demonic creature wielding frosty blades covers the features of %1 as * completes the incantation. Shards of ice gleaming like metal appear out of nothingness, flash through the air and strike %2 unerringly!</pattern>
  348. <value>#sub {%1 casts 'Nemesis' at %2! (Cold)}
  349. #cw gray</value>
  350. </trigger>
  351. <trigger priority="773980" id="813">
  352. <pattern>^An ethereal image of a huge multi-limbed demon covered in hanging chains and bleeding wounds hides %1's features as * completes the incantation. Streams of red lightning erupt from * fingers and strike %2, causing immense pain!</pattern>
  353. <value>#sub {%1 casts 'Excruciate' at %2! (Electricity)}
  354. #cw gray</value>
  355. </trigger>
  356. <trigger priority="773990" id="814">
  357. <pattern>^An ethereal image of a lustful demonic woman hides the features of %1 as * completes the incantation. * eyes take on a mad look filled with twisted passion as * focuses on %2 who suddenly seems to be choking in panic!</pattern>
  358. <value>#sub {%1 casts 'Violation' at %2! (Asphyxiation)}
  359. #cw gray</value>
  360. </trigger>
  361. <trigger priority="774000" id="815">
  362. <pattern>^An ethereal image of a towering cloudlike demon covers the features of %1 as * completes the incantation. The air quivers around %2 and clear liquid condenses all over it. In the blink of an eye * begins to scream as the liquid dissolves it!</pattern>
  363. <value>#sub {%1 casts 'Erode' at %2! (Acid)}
  364. #cw gray</value>
  365. </trigger>
  366. <trigger priority="774020" id="816">
  367. <pattern>^An ethereal image of a massive demonic creature splattered with blood and guts covers the features of %1 as * completes the incantation. In a strange voice * speaks words that echo in the air and you can almost see how they strike %2!</pattern>
  368. <value>#sub {%1 casts 'Oppression' at %2! (Sound)}
  369. #cw gray</value>
  370. </trigger>
  371. </class>
  372. <var name="corpse_feed" id="817">Off</var>
  373. <trigger priority="2130" regex="true" id="818">
  374. <pattern>^You hit (.+) without success\.$</pattern>
  375. <value>#sub {You hit 0 times.}
  376. #add battle_rounds 1
  377. in_combat=1
  378. #RAISE onHit</value>
  379. </trigger>
  380. <alias name="dmg" id="1083">
  381. <value>#IF (%db(@dmgtypes,%1)) {
  382. #echo Type %1 set to: %db(@dmgtypes,%1) !
  383. attack_spell=%db(@dmgtypes,%1)
  384. } {
  385. #echo No such type: %1
  386. }</value>
  387. </alias>
  388. <var name="dmgtypes" type="Record" id="1084">
  389. <value>fireaoe=wrath of aldevan|nether=channel energy|psi=mental twisting|nexus=doom bolt|pois=fog blast|fire=intense heat|elec=short circuit|cold=rimefang|asph=vacuum|acid=corrosion|sound=desperate cry</value>
  390. <json>{"fireaoe":"wrath of aldevan","nether":"channel energy","psi":"mental twisting","nexus":"doom bolt","pois":"fog blast","fire":"intense heat","elec":"short circuit","cold":"rimefang","asph":"vacuum","acid":"corrosion","sound":"desperate cry"}</json>
  391. </var>
  392. <class name="Auraus" id="1150">
  393. <trigger priority="34750" id="1151">
  394. <pattern>^Aura of insight around (*) flashes (*).$</pattern>
  395. <value>$auraus = @auraus(%1,%2)
  396. #sub {$auraus}</value>
  397. </trigger>
  398. <func name="auraus" id="1152">
  399. <value>$ansi = %null
  400. $percent = %null
  401. $aura = %null
  402.  
  403. #if ($color = "white") {
  404. $ansi = white
  405. $percent = 100
  406. }
  407. #if ($color = "light red") {
  408. $ansi = high~,red
  409. $percent = 95
  410. }
  411. #if ($color = "red") {
  412. $ansi = red
  413. $percent = 90
  414. }
  415. #if ($color = "dark red") {
  416. $ansi = red
  417. $percent = 85
  418. }
  419. #if ($color = "light yellow") {
  420. $ansi = high~,yellow
  421. $percent = 80
  422. }
  423. #if ($color = "yellow") {
  424. $ansi = yellow
  425. $percent = 75
  426. }
  427. #if ($color = "dark yellow") {
  428. $ansi = yellow
  429. $percent = 70
  430. }
  431. #if ($color = "light orange") {
  432. $ansi = brown
  433. $percent = 65
  434. }
  435. #if ($color = "orange") {
  436. $ansi = brown
  437. $percent = 60
  438. }
  439. #if ($color = "dark orange") {
  440. $ansi = brown
  441. $percent = 55
  442. }
  443. #if ($color = "light blue") {
  444. $ansi = high~,blue
  445. $percent = 50
  446. }
  447. #if ($color = "blue") {
  448. $ansi = blue
  449. $percent = 45
  450. }
  451. #if ($color = "dark blue") {
  452. $ansi = blue
  453. $percent = 40
  454. }
  455. #if ($color = "light green") {
  456. $ansi = high~,green
  457. $percent = 35
  458. }
  459. #if ($color = "green") {
  460. $ansi = green
  461. $percent = 30
  462. }
  463. #if ($color = "dark green") {
  464. $ansi = green
  465. $percent = 25
  466. }
  467. #if ($color = "light grey") {
  468. $ansi = gray
  469. $percent = 20
  470. }
  471. #if ($color = "grey") {
  472. $ansi = high~,black
  473. $percent = 15
  474. }
  475. #if ($color = "dark grey") {
  476. $ansi = high~,black
  477. $percent = 10
  478. }
  479. #if ($color = "black") {
  480. $ansi = high~,black
  481. $percent = 5
  482. }
  483.  
  484. $aura = %ansi(high,black)Aura flashes around %ansi($ansi) $name %ansi(high,black) ~{%ansi($ansi)$color%ansi(high,black)~} ~[%ansi(high,yellow)$percent~%%ansi(reset)%ansi(high,black)~]%ansi(reset)
  485.  
  486. #return $aura</value>
  487. <arglist>$name,$color</arglist>
  488. </func>
  489. </class>
  490. <var name="minion2_shape" id="1161">N/A</var>
  491. </class>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement