EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Mob Depopping / Repopping mid fight (https://www.eqemulator.org/forums/showthread.php?t=32053)

cylynex2 09-07-2010 07:57 PM

Mob Depopping / Repopping mid fight
 
Trying to get this encounter to work. The mob depops at 50% and some adds show up. When they die, the boss repops. That part all works.

What I'm trying to do is get him to pop the 2nd time already at 50% hp like he was before I depopped him.

Caryatis 09-07-2010 08:24 PM

This exact scenario is given as an example on the questobjects page...

Code:

$mob->sethp($mob->GetMaxHP() * .5);

Secrets 09-07-2010 09:34 PM

Quote:

Originally Posted by Caryatis (Post 191807)
This exact scenario is given as an example on the questobjects page...

Code:

$mob->sethp($mob->GetMaxHP() * .5);

SetHP is case sensitive.


All times are GMT -4. The time now is 03:19 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.