The Dink Network

Reply to cur_weapon/cur_magic not arming correctly

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
January 25th, 07:24 PM
maiden.gif
I'm currently trying to set current weapon/magic to an item you've just received, but I'm having a little trouble. While I can get both to show up in your hot bar, the weapon won't do anything when pressing the attack button, and the magic will not charge up (generating dnomagic responses if you try and press the spell button). Is there something I'm missing that's required to make this work?

My test code, starting from an empty inventory, looks like this:
add_item("item-sw1",438, 7);
add_magic("item-fb",437, 1);
wait(1)
&cur_weapon = 1
&cur_magic = 1
draw_status();