;'Sprite Change Capes' - Equip script

SendMessageToUser(#USERID,"You are wrapped in illusions.",#MSG_SERVER)
;SendCombatMessage(#USERID,"The cloak wraps you in illusions. ")

SetUserSprite(#USERID, GetItemFlag1(#TARGETID))

If GetItemFlag4(#TARGETID) > 0
	Timer5(GetItemFlag4(#TARGETID),0,#USERID,#TARGETID,#TARGETINDEX,0,1)
EndIf

;NOT NEEDED AS OF 0.86 - WarpUser(#USERID,#MAPID,#XPOS,#YPOS)

Label END

Continue = 1