diff options
author | Charles Miller <shadowmil@gmail.com> | 2011-08-24 19:22:15 -0400 |
---|---|---|
committer | Charles Miller <shadowmil@gmail.com> | 2011-08-24 19:22:15 -0400 |
commit | 7ddfee335696adf1ffd3f87130ca889d94117753 (patch) | |
tree | 1fa0f65af3f14fbf0cd13450c39c6abbf8485685 /world | |
parent | eeb0a7b40ef86fe3cdc0238cf27c4a31ac92d599 (diff) | |
download | serverdata-7ddfee335696adf1ffd3f87130ca889d94117753.tar.gz serverdata-7ddfee335696adf1ffd3f87130ca889d94117753.tar.bz2 serverdata-7ddfee335696adf1ffd3f87130ca889d94117753.tar.xz serverdata-7ddfee335696adf1ffd3f87130ca889d94117753.zip |
Cause the switch to only change the color of the person who touches it
Also some spelling mistakes fixed
Diffstat (limited to 'world')
-rw-r--r-- | world/map/npc/005-4/bossfight.txt | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/world/map/npc/005-4/bossfight.txt b/world/map/npc/005-4/bossfight.txt index 2f0d97d5..506cdeae 100644 --- a/world/map/npc/005-4/bossfight.txt +++ b/world/map/npc/005-4/bossfight.txt @@ -30,9 +30,18 @@ L_Start_Level_1: goto L_Exit; // This one is triggered on talking to the switch. L_Enjoy: - mes "*As you get ready to touch the switch, a spark flys from you to it and causes the switch to flip off then back on quickly*"; - // Random colors for everyone! - areatimer "005-4.gat", 19, 19, 54, 37, 10, "Switch#elecave::onChaos"; + mes "*As you get ready to touch the switch, a spark of the opposite color flys to you. But oddly it doesn't hurt at all.*"; + + if (@ELE_CAVE_COLOR == 1) goto L_Set_Blue; + if (@ELE_CAVE_COLOR == 2) goto L_Set_Red; + +L_Set_Red: + set @ELE_CAVE_COLOR, 1; + goto L_Exit; +L_Set_Blue: + set @ELE_CAVE_COLOR, 2; + goto L_Exit; + L_Exit: close; @@ -168,14 +177,14 @@ L_Heal: onBlueDeath: // Blue players have to kill blue sparks if (@ELE_CAVE_COLOR == 2) end; - message strcharinfo(0), "The dieing spark reacts explosively with you. You should only kill sparks with the same color as you."; + message strcharinfo(0), "The dying spark reacts explosively with you. You should only kill sparks with the same color as you."; heal MaxHp / -2, 0; end; onRedDeath: // Red players have to kill red sparks if (@ELE_CAVE_COLOR == 1) end; - message strcharinfo(0), "The dieing spark reacts explosively with you. You should only kill sparks with teh same color as you."; + message strcharinfo(0), "The dying spark reacts explosively with you. You should only kill sparks with the same color as you."; heal MaxHp / -2, 0; end; |