matt.chugg
Moderator
When mafia is asked to equip a shield without fulfilling the pre-requisites, (in this test case 85 base muscle) it reports it as a failure but updates its internal data and removes the item from inventory as if it was equipped when infact it isn't.
Sorry if that doesn't make sense, I couldn't think of a better way of explaining it!
Sorry if that doesn't make sense, I couldn't think of a better way of explaining it!
Code:
> ash print(item_amount($item[eelskin shield]))
1
Returned: void
> equip eelskin shield
Holding eelskin shield...
You must have at least 85 base Muscle to equip that item.
> ash print(item_amount($item[eelskin shield]))
0
Returned: void
> ash print(equipped_item($slot[off-hand]))
eelskin shield
Returned: void