I think there's room for a cheat here. The result of ConsumeSubstance() shoudl be checked before creating the gold in the backpack. At line 71 CheckGoldAmount(npc, bank_box, amount) checks if the gold is available in the bank box, but even if it's available at that time, it doesn't mean it will be still available at the time ConsumeSubstance() is executed. I didn't test this honestly
Author
Message
Austin POL Developer
Joined: 30 Jan 2006 Posts: 355 Location: San Diego, California