Reply to Re: Stat Reliant Stats
If you don't have an account, just leave the password field blank.
December 31st 2005, 01:36 AM

toa


"The only problem with that is that it would raise by too much because each time it runs it would add an ammount and eacg ammount would stake."
An easy way is (to add half of your stat to defense):
&defense -= &mystat_modval;
&mystat_modval = &mystat_val;
&mystat_modval / 2;
&defense += &mystat_modval;
In other words, subtract the old modifier value before adding the new modifier value. If the calculation between the subtract/add is done without a wait(), then the status display shouldn't get all jumpy (displaying a lower val then a higher val).
An easy way is (to add half of your stat to defense):
&defense -= &mystat_modval;
&mystat_modval = &mystat_val;
&mystat_modval / 2;
&defense += &mystat_modval;
In other words, subtract the old modifier value before adding the new modifier value. If the calculation between the subtract/add is done without a wait(), then the status display shouldn't get all jumpy (displaying a lower val then a higher val).