The Dink Network

Reply to Re: Help needed (and patience too)

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:
 
 
May 5th 2007, 05:37 PM
spike.gif
You're welcome.

Yeah, you're right about the problem; The &rage points you gain while having the sword equipped aren't automatically added to the points you had when you equipped the sword.

One way to fix this would be to make another global, and use it when arming and disarming the sword, eg.

arm:
&ragenow = &rage;
&strength += &ragenow;

disarm:
&strength -= &ragenow;

That still doesn't update the sword's strength while you gain rage points when it's armed though. I'm not sure if the following would work

&rage += 1;
arm_weapon();

or just double your strength.