variables and math functions

Posted by Meekah on Thu 05 Jun 2003 10:45 PM — 1 posts, 9,757 views.

USA #0
Mortal says 'I have 42525/42525 hp 17675/17675 mana 7749/7749 mv 3960000 xp.'


I need to take the 42525 hp, and have it

enchant float hit -30000
enchant float hit -12525


one line of enchant can't be more then 30000 or -30000

I figured out how to make the 42525 a variable, I'm just not sure what to do with it after that

if anyone can offer any suggestions I'd be grateful