class 1 warrior_casting_3skill_magical3_revival : warrior_casting_3skill_magical3
{
parameter:
	int	silhouette = 1020130;
	string	ai_type = "warrior";

handler:
	EventHandler ATTACKED(attacker,damage)
	{
		super;
		if( myself::IsNullCreature(myself.top_desire_target) == 0 )
		{
			if( myself.top_desire_target.is_pc == 1 )
			{
				myself.c_ai0 = myself.top_desire_target;
			}
		}
	}

	EventHandler MY_DYING()
	{
		myself::CreateOnePrivateEx(silhouette,ai_type,0,0,myself::FloatToInt(myself.sm.x),myself::FloatToInt(myself.sm.y),myself::FloatToInt(myself.sm.z),0,1000,myself::GetIndexFromCreature(myself.c_ai0),0);
	}

}
