I can't figure out why this skill isn't actually eating the bolts it's told to eat: Code: <spell name="Council's Gift" type="item" downtime="10" consumeItem="1" consumeItemType="bolt" icon="skills/rogue/councils_gift32.png" > <description text="Send an bolt to the Bolt Council and get back a new, improved piece of high-tech ammo!"/> <effect type="spawnitemfromlist"> <option name="Cruelly Barbed Steel Bolt"/> <option name="Cruelly Barbed Steel Bolt"/> <option name="Cruelly Barbed Steel Bolt"/> <option name="Cruelly Barbed Steel Bolt"/> <option name="Poison Bottle Bolt"/> <option name="Tesla's Bolt"/> <option name="Skull Bolt"/> <option name="Clockwork Drill Bolt"/> </effect> <anim sprite="sprites/sfx/glintA/glintA" frames="5" framerate="60" sfx="ping" /> </spell> It correctly spawns a new bolt, but doesn't consume any of the old ones. Any ideas? Thanks!
It only seems to consume items if there's a Code: <effect type="spawn" itemname="Blah" amount="1"/> in the item spell. The 'Blah' item will not be spawned so you'll need to call spawnitemfromlist to actually create the item. Also consumeItemType only seems to work with gems, wands, mushrooms and artifacts. Anything else isn't recognised so it defaults to letting you consume any item.