Bug #194
closed/lib/body.c, line 1261
0%
Description
when attacking (buffet) the banshee in the caves (in Yilth), it says an error occurred. For each attack line it repeats the bug message.
*Can't take element from empty array. Object: /domains/TytansCave/monsters/banshee1#6308 (/lib/body.c) at line 1261 'heart_beat' at /secure/save/players/g/glade (/lib/object.c) at line 729 'CATCH' at /secure/save/players/g/glade (/lib/object.c) at line 729 '<fake>' at /secure/save/players/g/glade (/<driver>) at /(fake):0 'LIB_COMBAT_heartbeat' at /secure/save/players/g/glade (/lib/combat.c) at line 152 'eventExecuteAttack' at /secure/save/players/g/glade (/lib/combat.c) at line 342 'eventWeaponRound' at /secure/save/players/g/glade (/lib/combat.c) at line 411 'eventWeaponAttack' at /secure/save/players/g/glade (/lib/combat.c) at line 436 'GetRandomLimb' at /domains/TytansCave/monsters/banshee1#6308 (/lib/body.c) at line 1261
Updated by Hilapdatus 19 days ago
- Has duplicate Bug #202: Fishing in grotto of destruction (death falls) no spawn of demon spawn added
Updated by Hilapdatus 19 days ago
- Has duplicate deleted (Bug #202: Fishing in grotto of destruction (death falls) no spawn of demon spawn)
Updated by Hilapdatus 19 days ago
Banshee had no limbs. Ion fixed this by changing SetRace("human", 1) to SetRace("human"); SetUndead(1)
Something about the 2nd arg to SetRace() is causing issues.
Updated by Hilapdatus 19 days ago
Hilapdatus wrote in #note-3:
Something about the 2nd arg to SetRace() is causing issues.
The 1st arg specifies the actual body type to use, this is what defines the limbs and such. The 2nd arg is basically just a label. Something like SetRace("bear", "giant hamster") might be a decent example. Passing a numeric 1 as the 2nd arg to SetRace(), as was the case with the banshee, makes no sense, hence the error.
Updated by Hilapdatus 19 days ago
- Status changed from New to Closed
Fixed. I also updated the keyname, ids, adjs, and race of the banshees to match their descriptions. I also updated the bugplate armor so that it can be worn by thr'keen.