// creator  : weidu.exe (version 23600)
// argument : SURGEO.DLG
// game     : .
// source   : ./DATA/DIALOG.BIF
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

BEGIN ~SURGEO~

IF ~  NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #824 /* ~It is not often that I meet travelers in these parts of the wilderness.~ */
  IF ~~ THEN GOTO 2
END

IF ~  False()
~ THEN BEGIN 1 // from:
  SAY #825 /* ~You would seem to require my skills once again.~ */
  IF ~~ THEN GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 1.0 0.0
  SAY #826 /* ~If you desire, I have the skills necessary to heal you.~ */
  IF ~  HPPercentLT(MostDamagedOf(Myself),100)
~ THEN REPLY #830 /* ~We would appreciate that.~ */ GOTO 4
  IF ~~ THEN REPLY #831 /* ~We don't need any healing, old man.~ */ GOTO 3
  IF ~  Global("SurgeonStory","GLOBAL",0)
~ THEN REPLY #832 /* ~Certainly, we do need your healing. But first, could you tell us who you are?~ */ DO ~SetGlobal("SurgeonStory","GLOBAL",1)
~ GOTO 5
END

IF ~~ THEN BEGIN 3 // from: 2.1
  SAY #827 /* ~If that is your want, then I will leave.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 4 // from: 5.0 2.0
  SAY #828 /* ~Lie still and allow me to do my work.~ */
  IF ~~ THEN DO ~ForceSpell(MostDamagedOf(Myself),CLERIC_CURE_LIGHT_WOUNDS)
Wait(1)
ForceSpell(MostDamagedOf(Myself),CLERIC_CURE_LIGHT_WOUNDS)
Wait(1)
ForceSpell(MostDamagedOf(Myself),CLERIC_CURE_LIGHT_WOUNDS)
Wait(1)
ForceSpell(MostDamagedOf(Myself),CLERIC_CURE_LIGHT_WOUNDS)
Wait(1)
ForceSpell(MostDamagedOf(Myself),CLERIC_CURE_LIGHT_WOUNDS)
Wait(1)
ForceSpell(MostDamagedOf(Myself),CLERIC_CURE_LIGHT_WOUNDS)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 5 // from: 2.2
  SAY #829 /* ~You may call me the Surgeon. I heal others in penance for what I have done in my past. Many have died because of a foolish act of charity on my part. I have a brother, an evil man by the name of Davaeorn. He lives because I was too weak-hearted to kill him when I had the chance. Many have died at his hands, including... including our own father. I have heard that he has come to this region, and I hope to meet him one day, to rectify my previous mistake. Your group seem to be composed of adventurers. Perhaps you might come to fight my brother. This may be wishful thinking on my part, but take this. It would help you in any fight against magic users.~ */
  IF ~~ THEN DO ~GiveItem("POTN34",LastTalkedToBy)
ForceSpell(MostDamagedOf(Myself),CLERIC_CURE_LIGHT_WOUNDS)
Wait(1)
ForceSpell(MostDamagedOf(Myself),CLERIC_CURE_LIGHT_WOUNDS)
Wait(1)
ForceSpell(MostDamagedOf(Myself),CLERIC_CURE_LIGHT_WOUNDS)
Wait(1)
ForceSpell(MostDamagedOf(Myself),CLERIC_CURE_LIGHT_WOUNDS)
Wait(1)
ForceSpell(MostDamagedOf(Myself),CLERIC_CURE_LIGHT_WOUNDS)
Wait(1)
ForceSpell(MostDamagedOf(Myself),CLERIC_CURE_LIGHT_WOUNDS)
EscapeArea()
~ GOTO 4
END
