;Taunt Skill

If #MAPID > 996
	If #MAPID < 1000
		If GetUserAccess(#USERID) < 6
			SendCombatMessage(#USERID,"Unknown forces stop you from using this skill! ")
			GoTo END
		EndIf
	EndIf
EndIf

If GetUserMana(#USERID)>=8
	SetUserMana(#USERID,GetUserMana(#USERID)-8)
	If Random(1,2)=1
	CreateEffect(0,500,0,#DIR_RIGHT,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID),0,#USERID,0)
	SetMonsterTarget(GetUserMap(#USERID),0,#USERID)
	SetMonsterTarget(GetUserMap(#USERID),1,#USERID)
	SetMonsterTarget(GetUserMap(#USERID),2,#USERID)
	SetMonsterTarget(GetUserMap(#USERID),3,#USERID)
	SetMonsterTarget(GetUserMap(#USERID),4,#USERID)
	SetMonsterTarget(GetUserMap(#USERID),5,#USERID)
	SetMonsterTarget(GetUserMap(#USERID),6,#USERID)
	SetMonsterTarget(GetUserMap(#USERID),7,#USERID)
	SetMonsterTarget(GetUserMap(#USERID),8,#USERID)
	SetMonsterTarget(GetUserMap(#USERID),9,#USERID)
	SetMonsterTarget(GetUserMap(#USERID),10,#USERID)
	SetMonsterTarget(GetUserMap(#USERID),11,#USERID)
	SetMonsterTarget(GetUserMap(#USERID),12,#USERID)
	SetMonsterTarget(GetUserMap(#USERID),13,#USERID)
	SetMonsterTarget(GetUserMap(#USERID),14,#USERID)
	SetMonsterTarget(GetUserMap(#USERID),15,#USERID)
	
	;SendMessageToMap(GetUserMap(#USERID),GetUserName(#USERID)+" forces all monsters to attack them!",#MSG_CRITICAL)
	SendCombatMessage(#USERID,"You force all monsters to attack you! ")
	Else
		SendCombatMessage(#USERID,"Your taunt fails! ")

	Endif
Else
	
	SendCombatMessage(#USERID,"You need 8 blood. ")

Endif

Label END

Continue = 1