*** monster.talk.c.orig Thu Sep 16 20:11:41 1993
--- monster.talk.c Sat Aug 21 20:04:58 1993
***************
*** 57,63 ****
int random_pick;
! int spell_chance, spell_dam;
string spell_mess1, spell_mess2;
object me;
object create_room;
--- 57,63 ----
int random_pick;
! int spell_chance, spell_damage;
string spell_mess1, spell_mess2;
object me;
object create_room;
***************
*** 127,133 ****
spell_chance > random(100)) {
say(spell_mess1 + "\n", attacker_ob);
tell_object(attacker_ob, spell_mess2 + "\n");
! call_other(attacker_ob, "hit_player", random(spell_dam));
}
attack();
if (attacker_ob && whimpy && hit_point < max_hp/5)
--- 127,133 ----
spell_chance > random(100)) {
say(spell_mess1 + "\n", attacker_ob);
tell_object(attacker_ob, spell_mess2 + "\n");
! call_other(attacker_ob, "hit_player", random(spell_damage));
}
attack();
if (attacker_ob && whimpy && hit_point < max_hp/5)
***************
*** 258,264 ****
spell_mess2 = m;
}
set_spell_dam(d) {
! spell_dam = d;
}
/* Set the frog curse. */
--- 258,264 ----
spell_mess2 = m;
}
set_spell_dam(d) {
! spell_damage = d;
}
/* Set the frog curse. */