From ef5e8039265bd8b3e55de5903a1215b2ff4db8b7 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 15 Jul 2021 12:30:58 -0300 Subject: Magic reset OR bugfix. Fix missing code to close #61 (Terranite Counting) --- npc/functions/mob_points.txt | 41 ++++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-) (limited to 'npc/functions/mob_points.txt') diff --git a/npc/functions/mob_points.txt b/npc/functions/mob_points.txt index f4cbedf0..b4361f0a 100644 --- a/npc/functions/mob_points.txt +++ b/npc/functions/mob_points.txt @@ -52,32 +52,39 @@ function script MobPoints { // Attitude adjustment for Sagatha switch (@mobId) { - case 1018: - case 1020: - case 1027: - case 1094: - case 1112: - case 1113: + case Pinkie: + case Fluffy: + case EasterFluffy: + case Reinboo: + case Santaboo: + case Pollett: QuestSagathaAnnoy(3); break; - case 1028: + case Mouboo: QuestSagathaAnnoy(4); break; - case 1038: + case Squirrel: QuestSagathaAnnoy(2); break; - case 1003: - case 1004: - case 1009: - case 1057: - case 1104: - case 1105: - case 1106: - case 1107: + case Scorpion: + case RedScorpion: + case BlackScorpion: + case AngryScorpion: + case DemonicMouboo: + case ViciousSquirrel: + case WickedMushroom: + case Bluepar: QuestSagathaHappy(1); break; } if (QL_CELESTIA >= 5 && QL_CELESTIA < 205 && @mobId == Yeti) { - QL_CELESTIA = QL_CELESTIA + 1; + QL_CELESTIA += 1; if (QL_CELESTIA == 205) message strcharinfo(0), "Yeti : ##3This should be enough yetis killed to please Celestia."; } + + if (TERRAC > 1 && TERRAC < 1500 && @mobId == Terranite) { + if (TERRAC % 100 == 0) + dispbottom("Terranite : ##3"+l("Total Terranites Slain: %s", fnum(TERRAC))); + TERRAC += 1; + } + return; } -- cgit v1.2.3-60-g2f50