// creator  : weidu.exe (version 23100)
// argument : IRON13.DLG
// game		 : .
// source	 : ./DATA/DIALOG.BIF
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~IRON13~

IF ~True()
~ THEN BEGIN 0 // from:
  SAY #7600 /* ~Protection From Energy~ */
  IF ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
~ THEN REPLY #7609 /* ~Protected from Magical Weapons~ */ GOTO 1
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #7610 /* ~Protection From Magical Weapons~ */ GOTO 2
  IF ~ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
~ THEN REPLY #7611 /* ~Protection from Magical Weapons (Abjuration) 
Level: 6
Range: Self 
Duration: 4 rounds
Casting Time: 1
Area of Effect: Self
Saving Throw: None 

When the spell is cast it confers complete invulnerability to all magical weapons.  This includes weapons that are blessed or enchanted. The attacks of powerful monsters are also considered magical weapons.  This spell cannot be cast on anyone who is protected from normal weapons as well as anyone protected by mantle, improved mantle, or absolute immunity.  Due to the nature of this spell with the short speed factor and duration it is mainly used to buy the wizard a few rounds in the thick of combat.  This effect lasts for the duration of the spell or until dispelled.~ */ GOTO 3
  IF ~ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #7612 /* ~Mantle~ */ GOTO 4
  IF ~ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
~ THEN REPLY #7613 /* ~Mantle (Abjuration) 
Level: 7
Range: 0
Duration: 4 rounds
Casting Time: 1
Area of Effect: Caster
Saving Throw: None 

When the spell is cast it confers complete invulnerability to all weapons except for those of +3 or better enchantment.  This spell is incredibly powerful yet has a very short duration, and this combined with the very short casting time makes this spell useful only in the thick of intense combat.  It is also important to note that this spell will not work in conjunction with protection from magic weapons.  This effect lasts for the duration of the spell or until dispelled.~ */ GOTO 5
  IF ~ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #7614 /* ~Protected by Mantle~ */ GOTO 6
  IF ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
~ THEN REPLY #7615 /* ~Protected by Improved Mantle~ */ DO ~TakePartyGold(200)
~ GOTO 7
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #7616 /* ~Protected by Absolute Immunity~ */ DO ~TakePartyGold(200)
~ GOTO 8
  IF ~~ THEN REPLY #11827 /* ~Tell me where I am before I smash this glass and take what little life you have!~ */ DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #7601 /* ~Protection From Energy (Abjuration) 
Level: 8
Range: Touch 
Duration: 1 round /level
Casting Time: 8
Area of Effect: Creature touched 
Saving Throw: None 

When the spell is cast it confers 75% immunity against all energy attacks such as fire, cold, acid, magic and electricity whether magical or non-magical such as spells, weapons, wands, breath weapons, etc.  This excludes any physical attacks and spell-created weapons, such as Enchanted weapon and Spiritual Hammer.  In other words, any physical damage such as piercing, blunt or slashing will get through.  This effect lasts for the duration of the spell or until dispelled. Multiple castings of this spell are not cumulative.~ */
  IF ~~ THEN DO ~TakePartyGold(100)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #7602 /* ~Aye, and right quick. <CHARNAME>, make haste! We must head for my father's home in the Government District of Athkatla!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #7603 /* ~As long as I lead this group we will do no such thing. You can do nothing for her so let us continue on our present quest.~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 4 // from: 0.3
  SAY #7604 /* ~I mourn for the loss of your sister Anomen. I am truly sorry. We shall make our way to your father's house with all haste.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 5 // from: 0.4
  SAY #7605 /* ~Though I am saddened to hear of your sister's untimely demise, I have other things that I must look to first.~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 6 // from: 0.5
  SAY #7606 /* ~Protection From Normal Weapons~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 7 // from: 0.6
  SAY #7607 /* ~Protection from Normal Weapons (Abjuration) 
Level: 5
Range: Self 
Duration: 1 round/level
Casting Time: 2
Area of Effect: Self 
Saving Throw: None 

When the spell is cast it confers complete invulnerability to all non-magical weapons.  This does not include weapons that are blessed or enchanted. This spell may not be cast on someone who is protected from magical weapons.  This effect lasts for the duration of the spell or until dispelled.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 8 // from: 0.7
  SAY #7608 /* ~Protected from Normal Weapons~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 9 // from:
  SAY #7617 /* ~Improved Mantle~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 10 // from:
  SAY #9221 /* ~Yes, father.~ */
  IF ~~ THEN EXIT
END
