Vote for Islands of Myth on Top Mud Sites
firstprevious1nextlast
Fixed bug: 11922Wed Oct 27 19:09:58 2010 MST
Abeo
admin
offline
avatar
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Report Number: 11922
Original bug report by Abeo on Wed Oct 27 18:39:12 2010

Object: Unknown
Creator: Unknown
Room: /wiz/abeo/workroom

Lesser shield failed to drop on coal, i guess snoop has too awesome prots.
----------------------------------------------------------------------

Abeo wrote on Wed Oct 27 18:39:37 2010
*Bad argument 1 to switch

Expected: string Got: 3.

Object: /std/race/minotaur#9143 (/std/player/bonuses.c) at line 186



#0: 'heart_beat' at /std/race/elf#14081 at line 95

#1: 'heart_beat' at /std/race/elf#14081 (/std/combat/combat.c) at line 2069

#2: 'action' at /obj/spells/remove_shields (/std/inherits/spells/new_spell.c) at line 1726

#3: 'cast' at /obj/spells/remove_shields (/std/inherits/spells/new_spell.c) at line 1072

#4: 'we_succeeded' at /obj/spells/remove_shields (/std/inherits/spells/special_spell.c) at line 65

#5: '<function>' at /obj/spells/remove_shields (<function>) at /:0

#6: 'success' at /obj/spells/remove_shields at line 38

#7: 'remove_abjuration' at /std/race/minotaur#9143 (/std/combat/abjurations.c) at line 787

#8: 'write_add_resist_bonus' at /std/race/minotaur#9143 (/std/player/bonuses.c) at line 186





----------------------------------------------------------------------

Abeo wrote on Wed Oct 27 18:39:57 2010
------/std/player/bonuses.c:186 - write_add_resist_bonus(3)

locals: ""

----------------------------------------------------------------

my_action(s);

}



void write_add_resist_bonus(string what){

string s = "";

=> switch(what){

case "fire": s = "You feel cool.\n"; break;

case "cold": s = "You feel warm.\n"; break;

case "acid": s = "Your skin becomes resistant.\n"; break;

case "holy": s = "You feel closer to the good gods.\n"; break;

case "asphyxiation": s = "Your throat clears.\n"; break;



----------------------------------------------------------------------

Abeo wrote on Wed Oct 27 19:09:58 2010

Fixed

firstprevious1nextlast