I’m getting this bug log on the test port with one of my items and don’t know the fix. Please help.
Log: [*****] BUG: Affect_modify: an object with an APPLY_AC vnum
AFFECT APPLY_AC Bug Log
AFFECT APPLY_AC Bug Log
Lathander,
Commander of Creativity
Commander of Creativity
Re: AFFECT APPLY_AC Bug Log
Post the complete code for the object, please?
It should look something like this:
It should look something like this:
#1234
sweet metal hat~
{60}sweet metal hat~
{60}A sweet metal hit abides here.~
ITEM_TYPE_ARMOR
FLAG_MAGIC|FLAG_MASTERWORK
CAN_WEAR_TAKE|CAN_WEAR_HEAD
QUALITY_HIGH MATERIAL_STEEL COND_PERFECT SIZE_MEDIUM
0 BODY_HUMANOID LAYER_ARMOR ARMOR_TYPE_FULL_PLATE 0 0
A
APPLY_AC_ARMOUR 1
"A man may die yet still endure if his work enters the greater work, for time is carried upon a current of forgotten deeds, and events of great moment are but the culmination of a single carefully placed thought." - Chime of Eons
Re: AFFECT APPLY_AC Bug Log
Here ya go!
Code: Select all
#7917
dragon dragonhide hide red rich vest~
{90}a rich red dragonhide vest~
{90}A rich red dragonhide vest lies here.~
~
ITEM_TYPE_ARMOR
FLAG_MAGIC|FLAG_MASTERWORK|FLAG_PROTOTYPE
CAN_WEAR_TAKE|CAN_WEAR_BODY
QUALITY_HIGH MATERIAL_DRAGON_HIDE COND_PERFECT SIZE_MEDIUM
0 BODY_HUMANOID LAYER_ARMOR ARMOR_TYPE_LEATHER 0 0
A
APPLY_SAVE_VS_FIRE 2
A
APPLY_AC 1
E
dragon hide dragonhide rich red vest~
{90}This long, thick vest is made from the hide of a red dragon.
All of the scales have been removed and the remaining hide
worked into a supple leather. It gives off a small amount of
warmth and retains some of the dragon's innate protection from
fire.
~
Lathander,
Commander of Creativity
Commander of Creativity
Re: AFFECT APPLY_AC Bug Log
Simple fix. Should be APPLY_AC_ARMOUR #, not APPLY_AC #.
"A man may die yet still endure if his work enters the greater work, for time is carried upon a current of forgotten deeds, and events of great moment are but the culmination of a single carefully placed thought." - Chime of Eons