-----------------------------------
-- Area: Carpenters' Landing
-- NPC:  Cryptonberry_Assassin
-----------------------------------

-----------------------------------
-- onMobSpawn Action
-----------------------------------

function OnMobSpawn(mob)
end;

-----------------------------------
-- onMobFight Action
-----------------------------------

function onMobFight(mob,target)	
end;

-----------------------------------
-- onMobDeath
-----------------------------------

function onMobDeath(mob, killer)

	local mobID=mob:getID();

	if(killer:getCurrentMission(COP) == CALM_BEFORE_THE_STORM and killer:getVar("Cryptonberry_Executor_KILL")~= 2)then

	switch (mobID) : 
	caseof {
	        [16785711] = function (x) 
			   if(killer:getVar("Cryptonberry_Assassins-1_KILL") == 0)then
			        killer:setVar("Cryptonberry_Assassins-1_KILL",1);
			   end
	        end,
	        [16785712] = function (x)
			   if(killer:getVar("Cryptonberry_Assassins-2_KILL") == 0)then
			        killer:setVar("Cryptonberry_Assassins-2_KILL",1);
			   end
	        end,
	        [16785713] = function (x) 
			   if(killer:getVar("Cryptonberry_Assassins-3_KILL") == 0)then
			        killer:setVar("Cryptonberry_Assassins-3_KILL",1);
			   end
	        end,	
           	}

	end
end;