kent Beginner
Joined: 03 Apr 2006 Posts: 29
|
Posted: Sun Apr 16, 2006 7:39 am
program crashes using this trigger |
Hello i am having a crashing problem when i got against a Mob the have both items on it body. any ideals what the problem is
You receive 0 experience points.
A dark dwarven mage collapses lifeless to the ground.
You take 442 gold coins.
You take a maleficarum root from the corpse of a dark dwarven mage.
You take a black tourmaline from the corpse of a dark dwarven mage.
The Powers give you one gold coin for your sacrifice of the corpse of a dark dwarven mage.
A dark dwarven mage stops following a cave fisher.
This is the class, trigger routine that is causing the problem
#CLASS {RootsNTourms}
#VAR container2 {gnomish |2.gnomish |3.gnomish |rune |2.rune}
#TRIGGER {^(%d) A gnarled and blackened root is on the ground.} {#var rootsgathered {%1+1}}
#TRIGGER {^(%d) A fist-sized, shiny black stone has been uncovered here.} {#var TourmsGathered {%1+1}}
#TRIGGER {^You take (%d) a black tourmaline from the corpse} {#var TourmsGathered {%1+1}}
#TRIGGER {^You take (%d) a maleficarum root from the corpse} {#var rootsgathered {%1+1}}
#TRIGGER {^The master of clans tells you 'Thank you for the (*) gem} {#var rootsgathered {@rootsgathered-%1}}
#TRIGGER {^A maleficarum root crackles and burns!} {#var rootsgathered {@rootsgathered - 1}}
#TRIGGER {You take a maleficarum root from the corpse of *} {#var RootsGathered {%1+1}}
#TRIGGER {^You aren't carrying anything that will fit into {a|an} (*).} {
#VAR @Container2 %delitem( @container2)
open @container2, 1
put all.root @container2, 1
put all.tourm @container2, 1
close @container2, 1
}
#CLASS 0
I tried it with #WAIT x amount of time between roots & tourm |
|