IF
HaveSpell(WIZARD_MINOR_GLOBE_OF_INVULNERABILITY) // SPWI406.SPL (Minor Globe Of Invulnerability)
See(NearestEnemyOf(Myself))
THEN
RESPONSE #100
Spell(Myself,WIZARD_MINOR_GLOBE_OF_INVULNERABILITY) // SPWI406.SPL (Minor Globe Of Invulnerability)
Wait(2)
END
IF
HaveSpell(WIZARD_SPIRIT_ARMOR) // SPWI414.SPL (Spirit Armor)
See(NearestEnemyOf(Myself))
THEN
RESPONSE #100
Spell(Myself,WIZARD_SPIRIT_ARMOR) // SPWI414.SPL (Spirit Armor)
Wait(2)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
HaveSpell(WIZARD_TRUE_SIGHT) // SPWI609.SPL (True Sight)
CheckStat(Myself,0,TRUE_SIGHT)
See([GOODCUTOFF.0.0.0.0.ILLUSIONARY])
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!StateCheck(Myself,STATE_SILENCED)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(Myself,WIZARD_TRUE_SIGHT) // SPWI609.SPL (True Sight)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
HaveSpell(WIZARD_ORACLE) // SPWI515.SPL (Oracle)
CheckStat(Myself,0,TRUE_SIGHT)
See([GOODCUTOFF.0.0.0.0.ILLUSIONARY])
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!StateCheck(Myself,STATE_SILENCED)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(Myself,WIZARD_ORACLE) // SPWI515.SPL (Oracle)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_SPELL_THRUST) // SPWI321.SPL (Spell Thrust)
See(Player1)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_IMMUNITY)
OR(4)
CheckStat(LastSeenBy(Myself),1,MINORGLOBE)
CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_DEFLECTION)
CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_TURNING)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_IMMUNITY)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
!StateCheck(Myself,STATE_SILENCED)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_SPELL_THRUST) // SPWI321.SPL (Spell Thrust)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_SPELL_THRUST) // SPWI321.SPL (Spell Thrust)
See(Player2)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_IMMUNITY)
OR(4)
CheckStat(LastSeenBy(Myself),1,MINORGLOBE)
CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_DEFLECTION)
CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_TURNING)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_IMMUNITY)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
!StateCheck(Myself,STATE_SILENCED)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_SPELL_THRUST) // SPWI321.SPL (Spell Thrust)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_SPELL_THRUST) // SPWI321.SPL (Spell Thrust)
See(Player3)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_IMMUNITY)
OR(4)
CheckStat(LastSeenBy(Myself),1,MINORGLOBE)
CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_DEFLECTION)
CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_TURNING)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_IMMUNITY)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
!StateCheck(Myself,STATE_SILENCED)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_SPELL_THRUST) // SPWI321.SPL (Spell Thrust)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_SPELL_THRUST) // SPWI321.SPL (Spell Thrust)
See(Player4)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_IMMUNITY)
OR(4)
CheckStat(LastSeenBy(Myself),1,MINORGLOBE)
CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_DEFLECTION)
CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_TURNING)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_IMMUNITY)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
!StateCheck(Myself,STATE_SILENCED)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_SPELL_THRUST) // SPWI321.SPL (Spell Thrust)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_SPELL_THRUST) // SPWI321.SPL (Spell Thrust)
See(Player5)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_IMMUNITY)
OR(4)
CheckStat(LastSeenBy(Myself),1,MINORGLOBE)
CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_DEFLECTION)
CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_TURNING)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_IMMUNITY)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
!StateCheck(Myself,STATE_SILENCED)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_SPELL_THRUST) // SPWI321.SPL (Spell Thrust)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_SPELL_THRUST) // SPWI321.SPL (Spell Thrust)
See(Player6)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_IMMUNITY)
OR(4)
CheckStat(LastSeenBy(Myself),1,MINORGLOBE)
CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_DEFLECTION)
CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_TURNING)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_IMMUNITY)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
!StateCheck(Myself,STATE_SILENCED)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_SPELL_THRUST) // SPWI321.SPL (Spell Thrust)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_SECRET_WORD) // SPWI419.SPL (Secret Word)
See(Player1)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_IMMUNITY)
OR(5)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_DEFLECTION)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_TURNING)
CheckStatGT(LastSeenBy(Myself),0,CLERIC_SHIELD_OF_THE_ARCHONS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_IMMUNITY)
CheckStatGT(LastSeenBy(Myself),0,MINORGLOBE)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
!StateCheck(Myself,STATE_SILENCED)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_SECRET_WORD) // SPWI419.SPL (Secret Word)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_SECRET_WORD) // SPWI419.SPL (Secret Word)
See(Player2)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_IMMUNITY)
OR(5)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_DEFLECTION)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_TURNING)
CheckStatGT(LastSeenBy(Myself),0,CLERIC_SHIELD_OF_THE_ARCHONS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_IMMUNITY)
CheckStatGT(LastSeenBy(Myself),0,MINORGLOBE)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
!StateCheck(Myself,STATE_SILENCED)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_SECRET_WORD) // SPWI419.SPL (Secret Word)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_SECRET_WORD) // SPWI419.SPL (Secret Word)
See(Player3)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_IMMUNITY)
OR(5)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_DEFLECTION)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_TURNING)
CheckStatGT(LastSeenBy(Myself),0,CLERIC_SHIELD_OF_THE_ARCHONS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_IMMUNITY)
CheckStatGT(LastSeenBy(Myself),0,MINORGLOBE)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
!StateCheck(Myself,STATE_SILENCED)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_SECRET_WORD) // SPWI419.SPL (Secret Word)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_SECRET_WORD) // SPWI419.SPL (Secret Word)
See(Player4)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_IMMUNITY)
OR(5)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_DEFLECTION)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_TURNING)
CheckStatGT(LastSeenBy(Myself),0,CLERIC_SHIELD_OF_THE_ARCHONS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_IMMUNITY)
CheckStatGT(LastSeenBy(Myself),0,MINORGLOBE)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
!StateCheck(Myself,STATE_SILENCED)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_SECRET_WORD) // SPWI419.SPL (Secret Word)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_SECRET_WORD) // SPWI419.SPL (Secret Word)
See(Player5)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_IMMUNITY)
OR(5)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_DEFLECTION)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_TURNING)
CheckStatGT(LastSeenBy(Myself),0,CLERIC_SHIELD_OF_THE_ARCHONS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_IMMUNITY)
CheckStatGT(LastSeenBy(Myself),0,MINORGLOBE)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
!StateCheck(Myself,STATE_SILENCED)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_SECRET_WORD) // SPWI419.SPL (Secret Word)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_SECRET_WORD) // SPWI419.SPL (Secret Word)
See(Player6)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_IMMUNITY)
OR(5)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_DEFLECTION)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_TURNING)
CheckStatGT(LastSeenBy(Myself),0,CLERIC_SHIELD_OF_THE_ARCHONS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_IMMUNITY)
CheckStatGT(LastSeenBy(Myself),0,MINORGLOBE)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
!StateCheck(Myself,STATE_SILENCED)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_SECRET_WORD) // SPWI419.SPL (Secret Word)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_RUBY_RAY_OF_REVERSAL) // SPWI704.SPL (Ruby Ray of Reversal)
See(Player1)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),8,WIZARD_SPELL_IMMUNITY)
OR(6)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_TRAP)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_DEFLECTION)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_TURNING)
CheckStatGT(LastSeenBy(Myself),0,CLERIC_SHIELD_OF_THE_ARCHONS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_IMMUNITY)
CheckStatGT(LastSeenBy(Myself),0,MINORGLOBE)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!StateCheck(Myself,STATE_SILENCED)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_RUBY_RAY_OF_REVERSAL) // SPWI704.SPL (Ruby Ray of Reversal)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_RUBY_RAY_OF_REVERSAL) // SPWI704.SPL (Ruby Ray of Reversal)
See(Player2)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),8,WIZARD_SPELL_IMMUNITY)
OR(6)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_TRAP)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_DEFLECTION)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_TURNING)
CheckStatGT(LastSeenBy(Myself),0,CLERIC_SHIELD_OF_THE_ARCHONS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_IMMUNITY)
CheckStatGT(LastSeenBy(Myself),0,MINORGLOBE)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!StateCheck(Myself,STATE_SILENCED)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
THEN
RESPONSE #100
SetInterrupt(FALSE)
SetGlobalTimer("OH_Cast","LOCALS",6)
DestroyItem("SCRL8G") // Ruby Ray of Reversal
DisplayStringHead(Myself,40811) // *uses a scroll*
SpellNoDec(LastSeenBy(Myself),WIZARD_RUBY_RAY_OF_REVERSAL) // SPWI704.SPL (Ruby Ray of Reversal)
SetInterrupt(TRUE)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_RUBY_RAY_OF_REVERSAL) // SPWI704.SPL (Ruby Ray of Reversal)
See(Player3)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),8,WIZARD_SPELL_IMMUNITY)
OR(6)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_TRAP)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_DEFLECTION)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_TURNING)
CheckStatGT(LastSeenBy(Myself),0,CLERIC_SHIELD_OF_THE_ARCHONS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_IMMUNITY)
CheckStatGT(LastSeenBy(Myself),0,MINORGLOBE)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!StateCheck(Myself,STATE_SILENCED)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_RUBY_RAY_OF_REVERSAL) // SPWI704.SPL (Ruby Ray of Reversal)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_RUBY_RAY_OF_REVERSAL) // SPWI704.SPL (Ruby Ray of Reversal)
See(Player4)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),8,WIZARD_SPELL_IMMUNITY)
OR(6)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_TRAP)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_DEFLECTION)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_TURNING)
CheckStatGT(LastSeenBy(Myself),0,CLERIC_SHIELD_OF_THE_ARCHONS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_IMMUNITY)
CheckStatGT(LastSeenBy(Myself),0,MINORGLOBE)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!StateCheck(Myself,STATE_SILENCED)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_RUBY_RAY_OF_REVERSAL) // SPWI704.SPL (Ruby Ray of Reversal)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_RUBY_RAY_OF_REVERSAL) // SPWI704.SPL (Ruby Ray of Reversal)
See(Player5)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),8,WIZARD_SPELL_IMMUNITY)
OR(6)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_TRAP)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_DEFLECTION)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_TURNING)
CheckStatGT(LastSeenBy(Myself),0,CLERIC_SHIELD_OF_THE_ARCHONS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_IMMUNITY)
CheckStatGT(LastSeenBy(Myself),0,MINORGLOBE)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!StateCheck(Myself,STATE_SILENCED)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_RUBY_RAY_OF_REVERSAL) // SPWI704.SPL (Ruby Ray of Reversal)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_RUBY_RAY_OF_REVERSAL) // SPWI704.SPL (Ruby Ray of Reversal)
See(Player6)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),8,WIZARD_SPELL_IMMUNITY)
OR(6)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_TRAP)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_DEFLECTION)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_TURNING)
CheckStatGT(LastSeenBy(Myself),0,CLERIC_SHIELD_OF_THE_ARCHONS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_SPELL_IMMUNITY)
CheckStatGT(LastSeenBy(Myself),0,MINORGLOBE)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!StateCheck(Myself,STATE_SILENCED)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_RUBY_RAY_OF_REVERSAL) // SPWI704.SPL (Ruby Ray of Reversal)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_BREACH) // SPWI513.SPL (Breach)
See(Player1)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_IMMUNITY)
OR(5)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_PROTECTION_FROM_MAGIC_WEAPONS)
CheckStatGT(LastSeenBy(Myself),0,CLERIC_CHAOTIC_COMMANDS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_PROTECTION_FROM_MAGIC_ENERGY)
CheckStatGT(LastSeenBy(Myself),0,STONESKINS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_FIRE_SHIELD)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
!StateCheck(Myself,STATE_SILENCED)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_BREACH) // SPWI513.SPL (Breach)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_BREACH) // SPWI513.SPL (Breach)
See(Player2)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_IMMUNITY)
OR(5)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_PROTECTION_FROM_MAGIC_WEAPONS)
CheckStatGT(LastSeenBy(Myself),0,CLERIC_CHAOTIC_COMMANDS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_PROTECTION_FROM_MAGIC_ENERGY)
CheckStatGT(LastSeenBy(Myself),0,STONESKINS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_FIRE_SHIELD)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
!StateCheck(Myself,STATE_SILENCED)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_BREACH) // SPWI513.SPL (Breach)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_BREACH) // SPWI513.SPL (Breach)
See(Player3)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_IMMUNITY)
OR(5)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_PROTECTION_FROM_MAGIC_WEAPONS)
CheckStatGT(LastSeenBy(Myself),0,CLERIC_CHAOTIC_COMMANDS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_PROTECTION_FROM_MAGIC_ENERGY)
CheckStatGT(LastSeenBy(Myself),0,STONESKINS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_FIRE_SHIELD)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
!StateCheck(Myself,STATE_SILENCED)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_BREACH) // SPWI513.SPL (Breach)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_BREACH) // SPWI513.SPL (Breach)
See(Player4)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_IMMUNITY)
OR(5)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_PROTECTION_FROM_MAGIC_WEAPONS)
CheckStatGT(LastSeenBy(Myself),0,CLERIC_CHAOTIC_COMMANDS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_PROTECTION_FROM_MAGIC_ENERGY)
CheckStatGT(LastSeenBy(Myself),0,STONESKINS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_FIRE_SHIELD)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
!StateCheck(Myself,STATE_SILENCED)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_BREACH) // SPWI513.SPL (Breach)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_BREACH) // SPWI513.SPL (Breach)
See(Player5)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_IMMUNITY)
OR(5)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_PROTECTION_FROM_MAGIC_WEAPONS)
CheckStatGT(LastSeenBy(Myself),0,CLERIC_CHAOTIC_COMMANDS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_PROTECTION_FROM_MAGIC_ENERGY)
CheckStatGT(LastSeenBy(Myself),0,STONESKINS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_FIRE_SHIELD)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
!StateCheck(Myself,STATE_SILENCED)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_BREACH) // SPWI513.SPL (Breach)
END
IF
Allegiance(Myself,EVILCUTOFF)
OR(2)
!GlobalTimerNotExpired("OH_Cast","LOCALS")
CheckStatGT(Myself,0,AURACLEANSING)
!GlobalTimerNotExpired("OH_TStop","LOCALS")
HaveSpell(WIZARD_BREACH) // SPWI513.SPL (Breach)
See(Player6)
!StateCheck(LastSeenBy(Myself),STATE_NOT_TARGETABLE)
!CheckStat(LastSeenBy(Myself),1,WIZARD_SPELL_IMMUNITY)
OR(5)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_PROTECTION_FROM_MAGIC_WEAPONS)
CheckStatGT(LastSeenBy(Myself),0,CLERIC_CHAOTIC_COMMANDS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_PROTECTION_FROM_MAGIC_ENERGY)
CheckStatGT(LastSeenBy(Myself),0,STONESKINS)
CheckStatGT(LastSeenBy(Myself),0,WIZARD_FIRE_SHIELD)
CheckStatLT(Myself,50,SPELLFAILUREMAGE)
!CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
!StateCheck(Myself,STATE_SILENCED)
THEN
RESPONSE #100
SetGlobalTimer("OH_Cast","LOCALS",6)
Spell(LastSeenBy(Myself),WIZARD_BREACH) // SPWI513.SPL (Breach)
END
IF
HaveSpell(WIZARD_GHOUL_TOUCH) // SPWI218.SPL (Ghoul Touch)
See(NearestEnemyOf(Myself))
Range(NearestEnemyOf(Myself),5)
RandomNumLT(100,10)
THEN
RESPONSE #100
Spell(LastSeenBy(Myself),WIZARD_GHOUL_TOUCH) // SPWI218.SPL (Ghoul Touch)
Wait(2)
END
IF
HaveSpell(WIZARD_HOLD_PERSON) // SPWI306.SPL (Hold Person)
See(NearestEnemyOf(Myself))
!StateCheck(LastSeenBy(Myself),STATE_HELPLESS)
!Global("CREATURE_STATE_VARBit4","LOCALS",1)
THEN
RESPONSE #100
SetGlobal("CREATURE_STATE_VARBit4","LOCALS",1)
Spell(LastSeenBy(Myself),WIZARD_HOLD_PERSON) // SPWI306.SPL (Hold Person)
Wait(2)
END
IF
HaveSpell(WIZARD_HOLD_PERSON) // SPWI306.SPL (Hold Person)
See(NearestEnemyOf(Myself))
!StateCheck(LastSeenBy(Myself),STATE_HELPLESS)
RandomNumLT(100,5)
THEN
RESPONSE #100
Spell(LastSeenBy(Myself),WIZARD_HOLD_PERSON) // SPWI306.SPL (Hold Person)
Wait(2)
END
IF
See(NearestEnemyOf(Myself))
THEN
RESPONSE #100
ForceSpell(LastSeenBy(Myself),WIZARD_COLOR_SPRAY) // SPWI105.SPL (Color Spray)
Wait(2)
RESPONSE #100
ForceSpell(LastSeenBy(Myself),WIZARD_MAGIC_MISSILE) // SPWI112.SPL (Magic Missile)
Wait(2)
RESPONSE #100
ForceSpell(LastSeenBy(Myself),WIZARD_LARLOCH_MINOR_DRAIN) // SPWI119.SPL (Larloch's Minor Drain)
Wait(2)
RESPONSE #100
ForceSpell(LastSeenBy(Myself),WIZARD_HORROR) // SPWI205.SPL (Horror)
Wait(2)
RESPONSE #100
ForceSpell(LastSeenBy(Myself),WIZARD_LIGHTNING_BOLT) // SPWI308.SPL (Lightning Bolt)
Wait(2)
RESPONSE #100
ForceSpell(LastSeenBy(Myself),WIZARD_SLOW) // SPWI312.SPL (Slow)
Wait(2)
RESPONSE #100
ForceSpell(LastSeenBy(Myself),WIZARD_ICE_STORM) // SPWI404.SPL (Ice Storm)
Wait(2)
RESPONSE #100
ForceSpell(LastSeenBy(Myself),WIZARD_BELTYNS_BURNING_BLOOD) // SPWI422.SPL (Beltyn's Burning Blood)
Wait(2)
RESPONSE #100
ForceSpell(LastSeenBy(Myself),WIZARD_CONE_OF_COLD) // SPWI503.SPL (Cone of Cold)
Wait(2)
RESPONSE #100
ForceSpell(Myself,WIZARD_BLUR) // SPWI201.SPL (Blur)
Wait(2)
RESPONSE #100
ForceSpell(Myself,WIZARD_PROTECTION_FROM_NORMAL_MISSILES) // SPWI311.SPL (Protection From Normal Missiles)
Wait(2)
RESPONSE #100
ForceSpell(Myself,WIZARD_LUCK) // SPWI209.SPL (Luck)
Wait(2)
RESPONSE #100
ForceSpell(Myself,WIZARD_MIRROR_IMAGE) // SPWI212.SPL (Mirror Image)
Wait(2)
END
IF
AttackedBy([GOODCUTOFF],DEFAULT)
THEN
RESPONSE #100
Enemy()
Continue()
END
IF
NumTimesTalkedTo(0)
See([PC])
!Allegiance(Myself,ENEMY)
!StateCheck(Myself,STATE_REALLY_DEAD)
THEN
RESPONSE #100
StartCutSceneMode()
ClearAllActions()
MultiPlayerSync()
StartDialogueNoSet(PartySlot1)
END
IF
ActionListEmpty()
!NearSavedLocation(Myself,"#savedloc",36)
THEN
RESPONSE #100
MoveToSavedLocationn("#savedloc","LOCALS")
END
IF
ActionListEmpty()
THEN
RESPONSE #100
RandomWalk()
Wait(5)
END