From 7c9def923c3230dc2b9cface610576678697a819 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 30 Jun 2018 15:59:55 -0300 Subject: Disruptive code --- npc/012-1/guards.txt | 169 --------------------------------------------------- 1 file changed, 169 deletions(-) (limited to 'npc/012-1') diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt index 57cb3a7c4..96b2288a5 100644 --- a/npc/012-1/guards.txt +++ b/npc/012-1/guards.txt @@ -66,175 +66,6 @@ L_MKControl: mesn; mes l("Oh noes! You've found the Hurnscald control panel!"); close; -/* - menu - l("Initiate small siege (lv. 20)"), L_MKSmall, - l("Initiate medium siege (lv. 30)"), L_MKMedium, - l("Initiate huge siege (lv. 40)"), L_MKHuge, - l("Abort"), -; - close; - -L_MKSmall: - addmapmask "012-1", MASK_MATTACK; - changemusic "012-1", "mythica.ogg"; - disablenpc("Mana Stone"); - $@SIEGE_HURNS=0; // factor zero - pvpon("012-1"); - pvpon("010-2"); - announce(l("##1WARNING! WARNING! Siege starting at Hurnscald!!"), bc_all); - areamonster("010-2", 0, 0, 79, 81, l("Black Scorpion"), 1074, 15, "Lieutenant Paul::OnBlackScorpionDeath"); - initnpctimer; - close; - -L_MKMedium: - addmapmask "012-1", MASK_MATTACK; - changemusic "012-1", "eric_matyas_ghouls.ogg"; - disablenpc("Mana Stone"); - $@SIEGE_HURNS=1; // factor one - pvpon("012-1"); - pvpon("010-2"); - announce(l("##1WARNING! WARNING! Siege starting at Hurnscald!!"), bc_all); - areamonster("010-2", 0, 0, 79, 81, l("Black Scorpion"), 1074, 25, "Lieutenant Paul::OnBlackScorpionDeath"); - initnpctimer; - close; - -L_MKHuge: - addmapmask "012-1", MASK_MATTACK; - changemusic "012-1", "misuse.ogg"; - disablenpc("Mana Stone"); - $@SIEGE_HURNS=5; // factor five - pvpon("012-1"); - pvpon("010-2"); - announce(l("##1WARNING! WARNING! Siege starting at Hurnscald!!"), bc_all); - areamonster("010-2", 0, 0, 79, 81, l("Black Scorpion"), 1074, 40, "Lieutenant Paul::OnBlackScorpionDeath"); - initnpctimer; - close; - -OnBlackScorpionDeath: - areamonster("010-2", 0, 0, 79, 81, l("Black Scorpion"), 1074, 1, "Lieutenant Paul::OnBlackScorpionDeath"); - if (rand(10000) <= 90+($@SIEGE_HURNS*10)) - getitem StrangeCoin, 1; - end; - -OnBlackScorpion2Death: - areamonster("012-1", 0, 0, 120, 155, l("Black Scorpion"), 1074, 1, "Lieutenant Paul::OnBlackScorpion2Death"); - if (rand(10000) <= 850+($@SIEGE_HURNS*100)) - getitem StrangeCoin, 1; - end; - -OnGreenSlimeDeath: - areamonster("012-1", 0, 0, 120, 155, l("Green Slime"), 1085, 1, "Lieutenant Paul::OnGreenSlimeDeath"); - if (rand(10000) <= 200+($@SIEGE_HURNS*100)) - getitem StrangeCoin, 1; - end; - -OnCandiedSlimeDeath: - areamonster("012-1", 0, 0, 120, 155, l("Candied Slime"), 1089, 1, "Lieutenant Paul::OnCandiedSlimeDeath"); - if (rand(10000) <= 150+($@SIEGE_HURNS*100)) - getitem StrangeCoin, 1; - end; - -OnManaGhostDeath: - areamonster("012-1", 0, 0, 120, 155, l("Mana Ghost"), 1068, 1, "Lieutenant Paul::OnManaGhostDeath"); - if (rand(10000) <= 900+($@SIEGE_HURNS*100)) - getitem StrangeCoin, 1; - end; - -OnLieutenantDeath: - getitem StrangeCoin, 1; - Karma=Karma+1; - mapannounce("012-1", l("##2The Monster Lieutenant was defeated by @@!", strcharinfo(0)), bc_map); - end; - -OnColonelDeath: - getitem StrangeCoin, 1; - Karma=Karma+1; - $MOST_HEROIC$=strcharinfo(0); - mapannounce("012-1", l("##2The Monster Colonel was defeated by @@!", strcharinfo(0)), bc_map); - end; - -OnTimer5000: - areamonster("010-2", 0, 0, 79, 81, "Black Scorpion", 1074, 5+$@SIEGE_HURNS, "Lieutenant Paul::OnBlackScorpionDeath"); - areamonster("012-1", 0, 0, 120, 155, "Black Scorpion", 1074, 5+$@SIEGE_HURNS, "Lieutenant Paul::OnBlackScorpion2Death"); - mapannounce("012-1", "##2Message to all Hurnscald NPCs: Take shelter!", bc_map); - disablenpc "Lynn The Traveler"; - end; - -OnTimer15000: - areamonster("010-2", 0, 0, 79, 81, ("Black Scorpion"), 1074, 5, "Lieutenant Paul::OnBlackScorpionDeath"); - areamonster("012-1", 0, 0, 120, 155, ("Black Scorpion"), 1074, 10, "Lieutenant Paul::OnBlackScorpion2Death"); - end; - -OnTimer60000: - if ($@SIEGE_HURNS == 1) { - mapannounce("012-1", "##1The Monster Lieutenant arrived!", bc_map); - areamonster("012-1", 0, 0, 120, 155, ("Monster Lieutenant"), 1077, 1, "Lieutenant Paul::OnLieutenantDeath"); - } - areamonster("012-1", 0, 0, 120, 155, ("Black Scorpion"), 1074, 3, "Lieutenant Paul::OnBlackScorpion2Death"); - areamonster("012-1", 0, 0, 120, 155, ("Green Slime"), 1085, 10+$@SIEGE_HURNS, "Lieutenant Paul::OnGreenSlimeDeath"); - areamonster("012-1", 0, 0, 120, 155, ("Candied Slime"), 1089, 1+$@SIEGE_HURNS, "Lieutenant Paul::OnCandiedSlimeDeath"); - end; - -OnTimer120000: - if ($@SIEGE_HURNS == 5) { - mapannounce("012-1", "##1The Monster Colonel arrived!", bc_map); - areamonster("012-1", 0, 0, 120, 155, ("Monster Colonel"), 1036, 1, "Lieutenant Paul::OnColonelDeath"); - } - areamonster("012-1", 0, 0, 120, 155, ("Slime Blast"), 1090, 15); - areamonster("012-1", 0, 0, 120, 155, ("Black Scorpion"), 1074, 1, "Lieutenant Paul::OnBlackScorpion2Death"); - areamonster("012-1", 0, 0, 120, 155, ("Green Slime"), 1085, 10, "Lieutenant Paul::OnGreenSlimeDeath"); - areamonster("012-1", 0, 0, 120, 155, ("Mana Ghost"), 1068, 2, "Lieutenant Paul::OnManaGhostDeath"); - end; - -OnTimer180000: - areamonster("012-1", 0, 0, 120, 155, ("Slime Blast"), 1090, 25); - areamonster("012-1", 0, 0, 120, 155, ("Black Scorpion"), 1074, 1, "Lieutenant Paul::OnBlackScorpion2Death"); - areamonster("012-1", 0, 0, 120, 155, ("Candied Slime"), 1089, 10, "Lieutenant Paul::OnCandiedSlimeDeath"); - areamonster("012-1", 0, 0, 120, 155, ("Mana Ghost"), 1068, 2, "Lieutenant Paul::OnManaGhostDeath"); - end; - -OnTimer240000: - areamonster("012-1", 0, 0, 120, 155, ("Slime Blast"), 1090, 25); - areamonster("012-1", 0, 0, 120, 155, ("Black Scorpion"), 1074, 1, "Lieutenant Paul::OnBlackScorpion2Death"); - areamonster("012-1", 0, 0, 120, 155, ("Mana Ghost"), 1068, 2, "Lieutenant Paul::OnManaGhostDeath"); - end; - -OnTimer300000: - areamonster("012-1", 0, 0, 120, 155, ("Slime Blast"), 1090, 5); - areamonster("012-1", 0, 0, 120, 155, ("Candied Slime"), 1089, 1, "Lieutenant Paul::OnCandiedSlimeDeath"); - areamonster("012-1", 0, 0, 120, 155, ("Mana Ghost"), 1068, 1, "Lieutenant Paul::OnManaGhostDeath"); - end; - -OnTimer360000: -OnTimer420000: -OnTimer480000: - areamonster("012-1", 0, 0, 120, 155, ("Slime Blast"), 1090, 5+$@SIEGE_HURNS); - areamonster("012-1", 0, 0, 120, 155, ("Red Slime"), 1092, 1+$@SIEGE_HURNS); - end; - -OnTimer540000: - mapannounce("012-1", "##1The Monster Army is getting tired of resistance!", bc_map); - areamonster("012-1", 0, 0, 120, 155, ("Slime Blast"), 1090, 5+$@SIEGE_HURNS); - areamonster("012-1", 0, 0, 120, 155, ("Mana Ghost"), 1068, 1, "Lieutenant Paul::OnManaGhostDeath"); - end; - -OnTimer600000: - mapannounce("012-1", "##1The Monster King army is preparing to withdraw!", bc_map); - end; - -OnTimer630000: - removemapmask "012-1", MASK_MATTACK; - changemusic "012-1", "dragon_and_toast.ogg"; // Restore to default - enablenpc("Mana Stone"); - $@SIEGE_HURNS$=0; - killmonsterall("012-1", 0); - killmonsterall("010-2", 0); - pvpoff("012-1"); - announce(("Hurnscald siege is over!"), bc_all); - enablenpc "Lynn The Traveler"; - stopnpctimer; - end; -*/ OnSet: .CYCLES=0; -- cgit v1.2.3-70-g09d2