changeset 456:4c31cd7e3f51

- Nun blast resists. A good beginning.
author Ealoren Pupunen <ealoren@bat.org>
date Wed, 05 Jul 2006 11:38:45 +0000
parents b9d9911a8fec
children 4d37ed961ef6
files ggrtf-nun.tf
diffstat 1 files changed, 27 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ggrtf-nun.tf	Wed Jul 05 10:00:29 2006 +0000
+++ b/ggrtf-nun.tf	Wed Jul 05 11:38:45 2006 +0000
@@ -85,3 +85,30 @@
 	/if ({P1}=~"(") /let _tc=red%;/else /let _tc=green%;/endif%;\
 	/substitute -p @{n}%{PL}| [ @{C%{_tc}}:%{P1}@{n} ]%{PR}
 
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; Blast resists
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+;;; It seems that many messages from nun blasts depends on relic
+;;; used. Please, let me know (Ealoren Pupunen) what relic and what
+;;; messages you get and I'll add those here.
+
+;;; Now tested with:
+;;;   Held: A shappy maple cross (holy) aka Newbie Cross
+;;;   Held: a vial containing the tears of Oxtoth (holy) aka tears of Oxtoth
+
+;; Dispel evil 100% resist
+/def -i -p9999 -mregexp -t"^(Air crackles|Magical mist swirls|White light tangles) around you as dazzling flash erupts from your [A-Za-z ]+ and strikes hard upon ([A-Za-z ,.'-]+)\.$" gnun_dispel_evil_100mana_resist =\
+	/test prspellhit("dispel evil", {P2})%;\
+	/test prspresist(6,{P2})
+
+;; Dispel evil 0% resist (not 100% sure about this)
+/def -i -p9999 -mregexp -t"^(Air crackles|Magical mist swirls|White light tangles) around you as dazzling flash erupts from your [A-Za-z ]+ and strikes with immense power upon ([A-Za-z ,.'-]+)\.$" gnun_dispel_evil_0mana_resist =\
+	/test prspellhit("dispel evil", {P2})%;\
+	/test prspresist(1,{P2})
+
+;; Saintly touch 100% resist (not 100% sure about this)
+/def -i -p9999 -mregexp -t"^Your [A-Za-z ]+ (flashes enchantedly|hums celestial tunes) as a ashy symbol of purify appears into the forehead of ([A-Za-z ,.'-]+)\.$" gnun_saintly_touch_100mana_resist =\
+	/test prspellhit("saintly touch", {P2})%;\
+	/test prspresist(6,{P2})