-----------------------------------	
-- Area: Bhaflau Thickets
-- NM:  Nis_Puk
-- @pos -155.319 -15.959 -599.366 52
-----------------------------------	

require("/scripts/zones/Bhaflau_Thickets/MobIDs");
	
-----------------------------------	
-- onMobDeath	
-----------------------------------	
	
function onMobDeath(mob,killer)	

    -- Set NP's ToD
    SetServerVariable("[POP]Nis_Puk", os.time(t) + 43200); -- 12 hours
    DeterMob(mob:getID(), true);

    -- Set PH back to normal, then set to respawn spawn
    PH = GetServerVariable("[PH]Nis_Puk");
    SetServerVariable("[PH]Nis_Puk", 0);
    DeterMob(PH, false);
    GetMobByID(PH):setRespawnTime(GetMobRespawnTime(PH));
  
end;
