Jump to content

Slayer Change


Recommended Posts

What's going on here?

 

REPLACE PLAYER1
IF WEIGHT #8 ~Global("Slayer10","GLOBAL",1)
~ THEN BEGIN 27 // from:
 SAY #55324
 IF ~False()
~ THEN REPLY #55325 DO ~IncrementGlobal("SlayerDeath","GLOBAL",1)
SetGlobal("Slayer10","GLOBAL",2)
SetGlobalTimer("TheSlayerTimer","GLOBAL",60)
ApplySpell(Player1,SLAYER_CHANGE_TWO)
ApplySpell(Player2,DRAIN_PARTY)
ApplySpell(Player3,DRAIN_PARTY)
ApplySpell(Player4,DRAIN_PARTY)
ApplySpell(Player5,DRAIN_PARTY)
ApplySpell(Player6,DRAIN_PARTY)
ForceSpell(Player1,SLAYER_FEAR)
~ EXIT
 IF ~~ THEN REPLY #55326 DO ~SetGlobal("Slayer10","GLOBAL",0)
~ EXIT
 IF ~True()~ THEN DO ~SetGlobal("Slayer10","GLOBAL",2)
SetGlobalTimer("TheSlayerTimer","GLOBAL",60)
ReputationInc(-2)
ApplySpell(Player1,SLAYER_CHANGE_TWO)~ EXIT
END
END

 

This destroys the second response option so the dialog is just weird. What's wrong with:

 

REPLACE PLAYER1
IF WEIGHT #8 ~Global("Slayer10","GLOBAL",1)~ THEN BEGIN 27 // from:
 SAY #55324
 IF ~~ THEN REPLY #55325 DO ~SetGlobal("Slayer10","GLOBAL",2)
SetGlobalTimer("TheSlayerTimer","GLOBAL",60)
ReputationInc(-2)
ApplySpell(Player1,SLAYER_CHANGE_TWO)~ EXIT
 IF ~~ THEN REPLY #55326 DO ~SetGlobal("Slayer10","GLOBAL",0)~ EXIT
END
END

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...