class 1 buffalo : warrior_passive_physicalspecial
{
handler:
	EventHandler MY_DYING(c1,last_attacker,target)
	{
		myself::SetCurrentQuestID(662);
		c1 = myself::GetLastAttacker();
		if( c1.master )
		{
			c1 = c1.master;
		}
		if( myself::HaveMemo(c1,662) )
		{
			if( gg::Rand(100) > 64 )
			{
				c1.quest_last_reward_time = myself::GetCurrentTick();
				myself::GiveItem1(c1,8765,1);
				myself::SoundEffect(c1,"ItemSound.quest_itemget");
			}
		}
		super;
	}

}
