From 912d92088306ac33e2ab1666207208aad3e847b2 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 16 Jun 2018 00:45:21 -0300 Subject: Maintenance to unused code --- npc/012-1/guards.txt | 64 ++++++++++++++++++++++++++-------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'npc') diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt index 902bb0e4f..556e82150 100644 --- a/npc/012-1/guards.txt +++ b/npc/012-1/guards.txt @@ -80,7 +80,7 @@ L_MKSmall: 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 Jacob::OnBlackScorpionDeath"); + areamonster("010-2", 0, 0, 79, 81, l("Black Scorpion"), 1074, 15, "Lieutenant Paul::OnBlackScorpionDeath"); initnpctimer; close; @@ -92,7 +92,7 @@ L_MKMedium: 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 Jacob::OnBlackScorpionDeath"); + areamonster("010-2", 0, 0, 79, 81, l("Black Scorpion"), 1074, 25, "Lieutenant Paul::OnBlackScorpionDeath"); initnpctimer; close; @@ -104,36 +104,36 @@ L_MKHuge: 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 Jacob::OnBlackScorpionDeath"); + 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 Jacob::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 Jacob::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 Jacob::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 Jacob::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 Jacob::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; @@ -152,55 +152,55 @@ OnColonelDeath: end; OnTimer5000: - areamonster("010-2", 0, 0, 79, 81, "Black Scorpion", 1074, 5+$@SIEGE_HURNS, "Lieutenant Jacob::OnBlackScorpionDeath"); - areamonster("012-1", 0, 0, 120, 155, "Black Scorpion", 1074, 5+$@SIEGE_HURNS, "Lieutenant Jacob::OnBlackScorpion2Death"); + 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 Jacob::OnBlackScorpionDeath"); - areamonster("012-1", 0, 0, 120, 155, ("Black Scorpion"), 1074, 10, "Lieutenant Jacob::OnBlackScorpion2Death"); + 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 Jacob::OnLieutenantDeath"); + 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 Jacob::OnBlackScorpion2Death"); - areamonster("012-1", 0, 0, 120, 155, ("Green Slime"), 1085, 10+$@SIEGE_HURNS, "Lieutenant Jacob::OnGreenSlimeDeath"); - areamonster("012-1", 0, 0, 120, 155, ("Candied Slime"), 1089, 1+$@SIEGE_HURNS, "Lieutenant Jacob::OnCandiedSlimeDeath"); + 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 Jacob::OnColonelDeath"); + 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 Jacob::OnBlackScorpion2Death"); - areamonster("012-1", 0, 0, 120, 155, ("Green Slime"), 1085, 10, "Lieutenant Jacob::OnGreenSlimeDeath"); - areamonster("012-1", 0, 0, 120, 155, ("Mana Ghost"), 1068, 2, "Lieutenant Jacob::OnManaGhostDeath"); + 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 Jacob::OnBlackScorpion2Death"); - areamonster("012-1", 0, 0, 120, 155, ("Candied Slime"), 1089, 10, "Lieutenant Jacob::OnCandiedSlimeDeath"); - areamonster("012-1", 0, 0, 120, 155, ("Mana Ghost"), 1068, 2, "Lieutenant Jacob::OnManaGhostDeath"); + 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 Jacob::OnBlackScorpion2Death"); - areamonster("012-1", 0, 0, 120, 155, ("Mana Ghost"), 1068, 2, "Lieutenant Jacob::OnManaGhostDeath"); + 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 Jacob::OnCandiedSlimeDeath"); - areamonster("012-1", 0, 0, 120, 155, ("Mana Ghost"), 1068, 1, "Lieutenant Jacob::OnManaGhostDeath"); + 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: @@ -213,7 +213,7 @@ OnTimer480000: 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 Jacob::OnManaGhostDeath"); + areamonster("012-1", 0, 0, 120, 155, ("Mana Ghost"), 1068, 1, "Lieutenant Paul::OnManaGhostDeath"); end; OnTimer600000: @@ -328,8 +328,7 @@ OnDoEvent: OnSkip: // Here, coins drop rate are based on REMAINING PLAYERS and DEFEATED MONSTER LEVEL. // A level 100 monster can have a 5% drop bonus against a level 0 monster. - // You have 1% of base chance, but 0.5% each player + 0.05% each monster level. - // .coins_rate acts stablishing a basic drop value. Advised value: 600 (up to 10% for normal mobs) + // You have 1% of base chance, plus 0.5% each player + 0.05% each monster level. if (rand(10000) <= 100 + (getmapusers("012-1")*50) + (strmobinfo(3,killedrid)*5)) getmapxy(.@m$, .@x, .@y, 0); makeitem(StrangeCoin, 1, "012-1", .@x, .@y); @@ -487,8 +486,9 @@ OnVictory: stopnpctimer; maptimer("012-1", 10, "Hurnsguard::OnReward"); // Here, coins drop rate are based on REMAINING PLAYERS and DEFEATED MONSTER LEVEL. - // You have 5% of base chance, plus 2% for each living player. - if (rand(10000) <= 500 + (getmapusers("012-1")*200)) + // You have $coinsrate of base chance, plus 2% for each living player. + // $coinsrate is set on Aeros Event Master, and defaults to 6% + if (rand(10000) <= $coinsrate + (getmapusers("012-1")*200)) getmapxy(.@m$, .@x, .@y, 0); makeitem(StrangeCoin, 1, "012-1", .@x, .@y); Karma=Karma+1; -- cgit v1.2.3-60-g2f50