Could be done using what was posted above:
$75 = $mobhp*0.75
$50 = $mobhp*0.5
$25 = $mobhp*0.25
if($mobhp == $75){quest::spawn()}
if($mobhp == $50){quest::spawn()}
if($mobhp == $25){quest::spawn()}
Not perfect, but it could be done with a little effort.
|