Actions
Bug #69
openBug generated during combat when defender has a shield equipped
Start date:
04/01/2020
Due date:
% Done:
0%
Estimated time:
reported_by:
Description
This bug is not presented to the combatants but is visible to Creators and in /log/catch.
*Bad argument 1 to call_other() Expected: string or array or object Got: 0. Object: /secure/save/players/e/exash (/lib/combat.c) at line 947 #0: 'heart_beat' at /domains/MishasCottage/npc/bee#2139 (/lib/object.c) at line 762 #1: 'CATCH' at /domains/MishasCottage/npc/bee#2139 (/lib/object.c) at line 762 #2: '<fake>' at /domains/MishasCottage/npc/bee#2139 (/<driver>) at /(fake):0 #3: 'LIB_COMBAT_heartbeat' at /domains/MishasCottage/npc/bee#2139 (/lib/combat.c) at line 152 #4: 'eventExecuteAttack' at /domains/MishasCottage/npc/bee#2139 (/lib/combat.c) at line 345 #5: 'eventMeleeRound' at /domains/MishasCottage/npc/bee#2139 (/lib/combat.c) at line 676 #6: 'eventMeleeAttack' at /domains/MishasCottage/npc/bee#2139 (/lib/combat.c) at line 748 #7: 'eventReceiveDamage' at /secure/save/players/e/exash (/lib/combat.c) at line 947
146 object shield = shields[random(sizeof(shields))];
147 int p = shield->GetProtection(type);
Actions