Healing clients on zone entry
I am attempting to over come the hp bug when clients zone. I don't like having a characters hp set to 30k when it should be 45k, this is really annoying for melee who can not heal themselves.
I am attempting to use the player.pl for the script but I know i am doing something wrong. According to the questobjects list i can find the $client can not be used in this manner: Code:
sub EVENT_ENTERZONE { http://www.eqemulator.net/wiki/wikka...a=QuestObjects Which raises the question is that list complete? If not then where can I find a complete list at?. And why can't GetHP(), GetMaxHP() and SetHP() be used on clients, as that could very helpful at times. My search attempts for quest objects didn't yield anything useful. Today I started working on a proximity triggered version of the same script but I think I am using $client in an incorrect manner. Here is the proximity script: Code:
sub EVENT_SPAWN |
Try changing this:
Code:
SetHP($client->GetMaxHP()); Code:
$client->SetHP($client->GetMaxHP()); |
Use player.pl.
Code:
sub EVENT_ENTERZONE { |
try this in the player.pl
sub EVENT_ENTERZONE{ quest::selfcast(13); } |
Thanks for all the help, the healing script is working now.
|
All times are GMT -4. The time now is 10:41 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.