;"Father Bocceim" NPC script - Altus Vicus

Letter = 103

If HasItem(#USERID, Letter) = 1
	If GetUserFlag(#USERID, 48) = 0
		If GetUserSkill(#USERID, 16) = 0
			TakeItem(#USERID, Letter)
			SendMessageToUser(#USERID,"Father Bocceim says, 'What's this? Hmm, you say this letter belongs to Issae? You were right to bring me this, but trouble yourself no more about it. I'll take care of it.'",#MSG_SAY)
			SendMessageToUser(#USERID,"You give the 'Letter to the Deep' to Father Bocceim",#MSG_TELL)
			SetUserFlag(#USERID, 48, -1)
			GoTo END
		EndIf
	EndIf
EndIf

INCREASE = 10

If GetUserFlag(#USERID, 48) > 0
	SendMessageToUser(#USERID,"Father Bocceim says, 'Come brother, let me heal your wounds.'",#MSG_SAY)
	INCREASE = 25
Else
	SendMessageToUser(#USERID,"Father Bocceim says, 'Come, "+GetUserName(#USERID)+", let me pray for you.'",#MSG_SAY)
EndIf

SendMessageToUser(#USERID,"You are healed, and feel better than ever.'",#MSG_TELL)

UserHP = GetUserMaxHP(#USERID)
UserMP = GetUserMaxMana(#USERID)

SetUserHP(#USERID, UserHP + INCREASE)
SetUserMana(#USERID, UserMP + INCREASE)

Label END

Continue = 1