summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2011-03-01 16:50:08 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2011-03-01 17:12:44 +0100
commit431b336d7d2f2ee100aeadd20feda702b7f26941 (patch)
tree59e80dfef1b3d84519612aecdd4cb6cb1cd4d4aa /npc
parent4a96a8bf6962c3a389e2b3d2ce40ea9b4be7a905 (diff)
downloadserverdata-431b336d7d2f2ee100aeadd20feda702b7f26941.tar.gz
serverdata-431b336d7d2f2ee100aeadd20feda702b7f26941.tar.bz2
serverdata-431b336d7d2f2ee100aeadd20feda702b7f26941.tar.xz
serverdata-431b336d7d2f2ee100aeadd20feda702b7f26941.zip
Setting mobs which affect Sagatha's mood:
good: scorpion, red scorpion, black scorpion, angry scorpion bad: fluffy, easter fluffy, mouboo, squirrel
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/mob_points.txt31
1 files changed, 7 insertions, 24 deletions
diff --git a/npc/functions/mob_points.txt b/npc/functions/mob_points.txt
index d7fa08b7..54ee47bc 100644
--- a/npc/functions/mob_points.txt
+++ b/npc/functions/mob_points.txt
@@ -82,49 +82,32 @@ function script MobPoints {
100, // Drunken Skeleton
100, // Tipsy Skeleton
100, // Drunken Lady Skeleton
- // Add more here
+ // Add more here
0; // END
if (MPQUEST == 1) set Mobpt, Mobpt + @points[@mobID - 1002];
- if ((@mobID == 1003) || (@mobID == 1004) || (@mobID == 1008) || (@mobID == 1009) || (@mobID == 1010) || (@mobID == 1012) || (@mobID == 1013) || (@mobID == 1022) || (@mobID == 1023) || (@mobID == 1024) || (@mobID == 1026) || (@mobID == 1034) || (@mobID == 1036) || (@mobID == 1043) || (@mobID == 1044) || (@mobID == 1045) || (@mobID == 1046) || (@mobID == 1057) || (@mobID == 1060) || (@mobID == 1064) || (@mobID == 1065) || (@mobID == 1066) || (@mobID == 1067) || (@mobID == 1068) || (@mobID == 1069) || (@mobID == 1073))
+// Scorpion, Red Scorpion, Black Scorpion, Angry Scorpion
+ if ((@mobID == 1003) || (@mobID == 1004) || (@mobID == 1008) || (@mobID == 1057))
goto L_good;
// Attitude adjustment for the witch (can we refactor this to another function? Not sure about max. recursion depth)
set @value, 0;
- if (@mobID == 1014)
- set @value, 3;
- if (@mobID == 1018)
- set @value, 2;
- if (@mobID == 1019)
- set @value, 2;
+// Fluffy
if (@mobID == 1020)
set @value, 3;
+// Easter Fluffy
if (@mobID == 1027)
set @value, 3;
+// Mouboo
if (@mobID == 1028)
set @value, 4;
- if (@mobID == 1029)
- set @value, 1;
- if (@mobID == 1030)
- set @value, 1;
- if (@mobID == 1031)
- set @value, 1;
- if (@mobID == 1032)
- set @value, 1;
- if (@mobID == 1035)
- set @value, 1;
- if (@mobID == 1037)
- set @value, 1;
+// Squirrel
if (@mobID == 1038)
set @value, 2;
- if (@mobID == 1049)
- set @value, 2;
- if (@mobID == 1055)
- set @value, 2;
if (@value == 0)
goto L_end;