Trigs

From BatWiki
Jump to: navigation, search
  1. CLASS {Prots}
  2. ALIAS poff {#deli prots %-1;#deli sticky %-1;#if (%2!="") {party say ~# %-2 expires (@formattime(@{%1}))} {party say ~# %1 expires (@formattime(@{%1}))};;#unvar "%1" {Prots|timers}}
  3. ALIAS pon {#addi prots {%-1};timer {%-1}}
  4. ALIAS pr {#var timedprots "";#var prots %sort( @prots);#if (@prots="" AND @stickycount > 0) {party say Prots? Yes please. sticky(@stickycount)} {#forall @prots {#if (%ismember( %{i}, @sticky)) {#addi timedprots {%i~{@formattime(@%{i})~}}} {#addi timedprots {%{i}~(@formattime(@%{i})~)}}};#if %ismember( "Unstun(0:00)", @timedprots) {#deli timedprots Unstun(0:00);#addi timedprots Unstun};#if (@stickycount > 0) {#addi timedprots sticky(@stickycount)};#if (@timedprots != "") {party say prots: %expandlist( @timedprots, " ")}};#if (@prots="" AND @stickycount = 0) {party say Prots? %item( @noprots, %random( 1, %numitems( @noprots)))}}
  5. ALIAS spon {#addi prots %1;#addi sticky %1;timer %1;party say ~# %1 up. (sticky);#add stickycount -1}
  6. ALIAS timer {#var %1 {~%eval(~%ctime-%ctime)} {0} {Prots|timers}}
  7. VAR formattime {%if( %1<60, 0, %eval( %1/60)):%if( %mod( %1, 60) < 10, 0%mod( %1, 60), %mod( %1, 60))}
  8. VAR myname {Osku}
  9. VAR prots {}
  10. VAR sticky {}
  11. VAR timedprots {}
  12. VAR conjutype {Force}
  13. VAR camp {No}
  14. VAR stickycount {0} {0}
  15. VAR noprots {Nope, still nothing.|Nothing here.|I wish I had some.|Yes please.|Pretty please?|Just a thick forehead here.|I heard they are for wimps. But I am a wimp.|For this monster? YES.|Why don't I have any?|Only Dogi runs without them.|Gimme some love. Oh and prots too, please.|Nothing to see here.|No antakaa nyt jotain edes!|Kaikilla mausteilla kiitos.|Nothing here, tweak again later.|Nothing here, I wish the conju wasn't afk.}
  16. REGEX {(?:^.\w+ tweaks your nose|^You tweak your own nose)} {pr}
  17. REGEX {^Moving to starting location\.$} {#if (%ctime > 60) {} {#var prots "";#var stickycount 0;#echo Prots cleared.}}
  18. REGEX {^The shimmering blue forcefield vanishes\.$} {poff shelter} "" {disable}
  19. REGEX {^This location is now surrounded in a shimmering blue forcefield\.$} {pon shelter} "" {disable}
  20. REGEX "changename" {^Name: (\w+)} {#var myname %1;#t- changename} "" {notrig}
  21. REGEX {This location is now surrounded in a shimmering blue forcefield\.$} {pon dome} "" {disable}
  22. REGEX {The shimmering blue forcefield vanishes\.$} {poff dome} "" {disable}
  23. REGEX {^([^;]+) appears weakened!} {poff degen;pon degen}
  24. REGEX {^You feel extra sticky for protection\.$} {#add stickycount 1}
  25. CLASS 0
  26. CLASS {Prots|timers}
  27. VAR Aura {0} {0}
  28. VAR Melody {%eval(%ctime-1264)} {0}
  29. VAR War {%eval(%ctime-1213)} {0}
  30. VAR Pff {0} {0}
  31. VAR poison {0} {0}
  32. VAR Ebl {0} {0}
  33. VAR Cold {0} {0}
  34. VAR Fire {0} {0}
  35. VAR Flex {0} {0}
  36. VAR AoA {0} {0}
  37. VAR Unp {0} {0}
  38. VAR hw {0} {0}
  39. VAR elec {0} {0}
  40. CLASS 0
  41. CLASS {Prots|Barbarian-p}
  42. REGEX {^You begin to concentrate on pain threshold\.$} {pon PT}
  43. REGEX {^Your concentration breaks and you feel less protected from physical damage\.$} {poff PT pain threshold}
  44. REGEX {^You no longer feel enraged\.$} {poff Enrage Enrage}
  45. REGEX {^in the air and shout.? 'FOR GROO!'} {pon Enrage} "" {disable}
  46. CLASS 0
  47. CLASS {Prots|Bard-p}
  48. REGEX {^The effect of war ensemble wears off\.$} {poff War war ensemble}
  49. REGEX {^You feel full of battle rage\! Victory is CERTAIN\!$} {pon War}
  50. REGEX {^(?:You embrace yourself with your melody\.|\w+ wraps you into an embracing melody\.)$} {pon Melody}
  51. REGEX {^The embracing melody subsides, leaving you longing for more\.$} {poff Melody}
  52. CLASS 0
  53. CLASS {Prots|Channellers-p}
  54. REGEX {^Suddenly a softly glowing aura of yellow light comes into being around you\.$} {pon Aura}
  55. REGEX {^Tendrils of lightning flit around you as your aura changes from flame red to\n^electric blue\.} {pon Aura}
  56. REGEX {^With a burst of energy, your aura changes from soft yellow to bright red\.$} {pon Aura}
  57. REGEX {^You try your hardest but cannot focus enough energy\.$} {pon Aura}
  58. REGEX {^Your aura is starting to weaken\!$} {#color 15;p' My aura weakens.;#alarm +2:00 {#if (@aura > 119) {#echo Load your aura already!} {}}}
  59. REGEX {^Your aura of glowing light fades to nothing\.$} {poff Aura Energy aura}
  60. REGEX {^You surround yourself by a bubble of force\.$} {pon Pff}
  61. REGEX {^Your field disperses with a soft \*pop\* and is gone\.$} {poff Pff Personal force field}
  62. CLASS 0
  63. CLASS {Prots|Conjurer-p}
  64. VAR conjuminor {fabs|fire|cold|elec|magic|asph|poison|acid|psi}
  65. VAR conjumajor {AoA|Fire|Cold|Elec|Magic|Asph|Poison|Acid|Psi}
  66. VAR spellwords {ztonez des deckers|hot hot not zeis daimons|skaki barictos yetz fiil|kablaaaammmmm bliitz zundfer|meke tul magic|qor monoliftus|morri nam pantoloosa|sulphiraidzik hydrochloodriz gidz zuf|toughen da mind reeez un biis}
  67. VAR flashes {skin brown|burning red|cold white|crackling blue|golden|dull black|green|disgusting yellow|transparent}
  68. VAR shields {crystal clear|crackling red-orange|frosty blue-white|neon purple|flickering golden|swirling foggy white|slimy olive green|bubbling yellow|misty pale blue}
  69. VAR conjutype {elec}
  70. VAR iwcheck {0} {0}
  71. VAR dmp {}
  72. REGEX {^\w+ (?:utter|utters) the magic words '(@spellwords)'$} {#pri {#var conjutype {%item( @conjuminor, %ismember( %1 , @spellwords))}}}
  73. REGEX {^You sense (a|an extra) powerful protective aura around you\.$} {#if ("%1" = "a") {pon @conjutype;party say ~# @conjutype prot. up};#if ("%1" = "an extra") {#addi sticky @conjutype;spon @conjutype}}
  74. REGEX {^A (@flashes) flash momentarily surrounds you and then vanishes\.$} {#var conjutype %item( @conjuminor, %ismember( %1 , @flashes));#if (%ismember( @conjutype, @prots)) {party say ~# @conjutype expires (@formattime(@@conjutype));#deli prots @conjutype;#deli sticky @conjutype} {}}
  75. REGEX {^You see (a|an extra) (@shields) shield fade into existance around you\.$} {#if ("%1" = "an extra") {spon %item( @conjumajor, %ismember( %2, @shields))};#if ("%1" = "a") {pon %item( @conjumajor, %ismember( %2, @shields))}} "" {notrig}
  76. REGEX {^Your (@shields) shield fades out\.$} {poff %item( @conjumajor, %ismember( %1, @shields)) %item( @conjumajor, %ismember( %1, @shields))}
  77. REGEX {^You feel no longer protected from being stunned\.$} {poff IW Iron will}
  78. REGEX {^You feel much more vulnerable\.$} {#forall @conjuminor {#if (%ismember( %i, @prots) AND NOT %ismember( %i, @sticky)) {poff %i %i} {}}}
  79. REGEX {^You feel unprotected\.$} {#forall @conjumajor {#if (%ismember( %i, @prots) AND NOT %ismember( %i, @sticky)) {poff %i %i} {}}}
  80. REGEX {^You feel protected from being stunned\.$} {pon IW}
  81. CLASS 0
  82. CLASS {Prots|Druid-p}
  83. REGEX {^You sense a flex shield covering your body like a second skin\.$} {pon Flex}
  84. REGEX {^Your flex shield wobbles, PINGs and vanishes\.$} {poff Flex Flex Shield}
  85. REGEX {^You feel your metabolism speed up\.$} {pon Regen}
  86. REGEX {^You no longer have a active regeneration spell on you\.$} {poff Regen Regeneration}
  87. REGEX {^The runic sigla '!\( \*\)' fade away\.\. leaving you feeling strange\.$} {poff Ebl Earth Blood}
  88. REGEX {^An icy chill runs through your veins\.} {pon Ebl}
  89. REGEX {^The runic sigla \'\% \!\^\' fade away\.\. leaving you feeling strange\.$} {poff Epow earth power}
  90. REGEX {^You feel your strength changing\. You flex you muscles experimentally\.} {pon Epow}
  91. CLASS 0
  92. CLASS {Prots|Evil Priest-p}
  93. REGEX {^A vile black aura surrounds you\.$} {pon pfg}
  94. REGEX {^You no longer have a vile black aura around you\.$} {poff pfg Protection from good}
  95. CLASS 0
  96. CLASS {Prots|Navigator-p}
  97. REGEX {^You suddenly feel magically heavier\.$} {pon hw}
  98. REGEX {^You feel lighter, but it doesn't seem to affect your weight\!$} {poff hw heavy weight}
  99. REGEX {^You feel magical forces binding the spell to you\.$} {#addi sticky hw}
  100. CLASS 0
  101. CLASS {Prots|Nun-p}
  102. REGEX {as you are surrounded by\n^protective holy aura\.} {pon pfe}
  103. REGEX {^(?:Your glow fades away and you suddenly feel more vulnerable to evil\.|You suddenly feel more vulnerable to evil\.)$} {poff pfe Protection from evil}
  104. REGEX {^(?:\w+ places her hand over you and blesses your soul in the name of Las\.|You spiritually reach out for your soul, protecting it with holy force\.)$} {pon soul}
  105. REGEX {^Your soul feels suddenly more vulnerable\.$} {poff soul soul shield}
  106. REGEX {vibrates under magical pressure as you are suddenly$\n^surrounded by millions of dazzling white particles dancing enchantedly around$\n^(?:your|her) body\.$} {pon Hprot}
  107. REGEX {^Holy particles slow down, rapidly fading away\.$} {poff Hprot Heavenly protection}
  108. CLASS 0
  109. CLASS {Prots|Poison-p}
  110. REGEX {^You shiver and suffer from POISON\!\!} {gnnn} "" {disable}
  111. REGEX {^You feel poison leaving your veins\.$} {piss;say It's gone!}
  112. CLASS 0
  113. CLASS {Prots|Psionicist-p}
  114. REGEX {^Your armour feels thinner\.$} {poff fsh force shield}
  115. REGEX {^@myname glows with a blue aura for a while\.$} {pon fsh}
  116. REGEX {^A fog lifts from your mind\. You can remember things clearly now\.$} {party say ~# forget removed!}
  117. REGEX {^You form a psionic shield of force around your body\.$} {pon fsh}
  118. CLASS 0
  119. CLASS {Prots|Tarmalen-p}
  120. TRIGGER {^You feel strong - like you could carry whole flat world on your back!$} {pon BoT}
  121. REGEX {^\w+'s chanting appears to do absolutely nothing\.$} {#addi prots Unstun;party say ~# Unstun UP}
  122. REGEX {^It doesn't hurt at all!$} {party say ~# Unstun USED;#deli prots Unstun}
  123. REGEX {^You are no longer stunned\.$} {#deli prots Unstun;party say ~# My stun wore off!}
  124. REGEX {^You feel weaker\.$} {#if (%ismember( Ki, @prots)) {poff Ki} {poff BoT Blessing of Tarmalen}}
  125. REGEX {^You start concentranting and feel the power flowing into your hands\.$} {pon Ki}
  126. REGEX {^You feel your will returning normal\.$} {poff Unp Unpain}
  127. REGEX {^You feel your will getting stronger\.$} {pon Unp}
  128. CLASS 0
  129. CLASS {Prots|Templar-p} {enable}
  130. TRIGGER {^Your glow disappears.} {poff SoF Shield of Faith}
  131. TRIGGER {^You are surrounded by divine glow!} {pon SoF}
  132. CLASS 0
  133. CLASS {Prots|zMisc-p}
  134. REGEX {^You feel light\.} {pon wwalk}
  135. REGEX {^You feel heavier\.$} {poff wwalk Water walking}
  136. TRIGGER {^Your feel excruciating pain in your head.} {p' my magic got suppressed. :(;pon suppress}
  137. TRIGGER {^You feel relieved.} {poff suppress suppress magic}
  138. CLASS 0