Thread
:
How do I get $mob->SetHP($mob->GetHP()*85); to work right?
View Single Post
#
3
01-06-2009, 08:06 AM
trevius
Developer
Join Date: Aug 2006
Location: USA
Posts: 5,946
Something like this should work. If it doesn't, lemme know.
Code:
my $max_hps = $npc->GetMaxHP(); my $set_hps = ($max_hps * 0.85); $npc->SetHP($set_hps);
__________________
Trevazar/Trevius
Owner of:
Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions)
-
Read It!
trevius
View Public Profile
Send a private message to trevius
Visit trevius's homepage!
Find all posts by trevius