Page 1 of 1

player.Pet.HP has this stop functioning since last past/svn

Posted: Wed Dec 22, 2010 9:55 am
by fred55555
I find that the below dosnt work any more since the last patch ROM.
When the warden has a pet at full health, it still tries to recast a pet with the below line

if 50 > (player.Pet.HP/player.Pet.MaxHP * 100) then
player:rest(1);
player:cast("WARDEN_SUMMON_OAK_WALKER");
player:rest(8);
end

the below code dsoent seem to work either as if there is no pet it still wont cast to make one

if (player.PetPtr) == 0 then
player:rest(1);
player:cast("WARDEN_SUMMON_OAK_WALKER");
player:rest(8);
end

all this leads me to believe that the function player.petptr is not working any more, can any one verify for me

Re: player.Pet.HP has this stop functioning since last past/

Posted: Wed Dec 22, 2010 12:37 pm
by JackBlonder
Same problem here.
Look at this thread: http://www.solarstrike.net/phpBB3/viewt ... =21&t=1947
I also think the PetPtr has changed.