summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/mob_points.txt
diff options
context:
space:
mode:
authorThe Kandiman <kandiman@kandiman.(none)>2011-09-10 20:15:17 -0400
committerThe Kandiman <kandiman@kandiman.(none)>2011-09-11 16:48:18 -0400
commit1cb0e75cbd356485ebe35bb3f5af10e1454e57a5 (patch)
tree594bbf4a1bb428ef527f6ce6ec79e4eb3e478607 /world/map/npc/functions/mob_points.txt
parenta9868851cfe19c503cc72b0289889c564b41dd20 (diff)
downloadserverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.tar.gz
serverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.tar.bz2
serverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.tar.xz
serverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.zip
Tab conversion and formatting project.
npc/functions and npc/items complete.
Diffstat (limited to 'world/map/npc/functions/mob_points.txt')
-rw-r--r--world/map/npc/functions/mob_points.txt217
1 files changed, 111 insertions, 106 deletions
diff --git a/world/map/npc/functions/mob_points.txt b/world/map/npc/functions/mob_points.txt
index a84e24a5..c37bdd25 100644
--- a/world/map/npc/functions/mob_points.txt
+++ b/world/map/npc/functions/mob_points.txt
@@ -1,126 +1,131 @@
// Mob points
-function script MobPoints {
- if (@mobID < 1002) return;
+function|script|MobPoints|{
+ if (@mobID < 1002) return;
- setarray @points,
- 1, // Maggot
- 2, // Scorpion
- 20, // Red Scorpion
- 40, // Green Slime
- 30, // Giant Maggot
- 15, // Yellow Slime
- 25, // Red Slime
- 45, // Black Scorpion
- 50, // Snake
- 6, // Fire Goblin
- 55, // Spider
- 35, // Evil Mushroom
- 35, // Pink Flower
- 40, // Santa Slime
- 15, // Rudolph Slime
- 2, // Bat
- 16, // Pinkie
- 10, // Spiky Mushroom
- 14, // Fluffy
- 25, // Cave Snake
- 200, // Jack O
- 85, // Fire Skull
- 85, // Poison Skull
- 20, // Log Head
- 70, // Mountain Snake
- 15, // Easter Fluffy
- 40, // Mouboo
- 0, // Mauve Plant
- 0, // Cobalt Plant
- 0, // Gamboge Plant
- 0, // Alizarin Plant
- 20, // Sea Slime
- 75, // Grass Snake
- 0, // Silk Worm
- 125, // Zombie
- 0, // Clover Patch
- 5, // Squirrel
- 0, // Fire Lizard
- 80, // Wisp
- 15, // Snail
- 80, // Spectre
- 100, // Skeleton
- 100, // Lady Skeleton
- 150, // Fallen
- 0, // Snake Lord
- 80, // Poltergeist
- 0, // Duck
- 15, // Bee
- 0, // Larvespa
- 0, // Vespa
- 0, // Hivespa
- 0, // Froad
- 0, // Troll
- 15, // Butterfly
- 2, // Cave Maggot
- 10, // Angry Scorpion
- 6, // Ice Goblin
- 20, // Archant
- 40, // Giant Cave Maggot
- 35, // Moggun
- 100, // Terranite
- 10, // Pumpkin
- 10, // Bandit
- 20, // Bandit Lord
- 30, // Vampire Bat
- 20, // Reaper
- 100, // Reaper 2
- 100, // Scythe
- 20, // Ball Lightning
- 60, // Ice Element
- 80, // Yeti
- 100, // The Lost
- 0, // Red Bone
- 0, // Stalker
- 0, // Dreadwing
- 100, // Drunken Skeleton
- 100, // Tipsy Skeleton
- 100, // Drunken Lady Skeleton
- 60, // BlueSpark
- 60, // RedSpark
- 0, // Serqet
- // Add more here
- 0; // END
+ setarray @points,
+ 1, // Maggot
+ 2, // Scorpion
+ 20, // Red Scorpion
+ 40, // Green Slime
+ 30, // Giant Maggot
+ 15, // Yellow Slime
+ 25, // Red Slime
+ 45, // Black Scorpion
+ 50, // Snake
+ 6, // Fire Goblin
+ 55, // Spider
+ 35, // Evil Mushroom
+ 35, // Pink Flower
+ 40, // Santa Slime
+ 15, // Rudolph Slime
+ 2, // Bat
+ 16, // Pinkie
+ 10, // Spiky Mushroom
+ 14, // Fluffy
+ 25, // Cave Snake
+ 200, // Jack O
+ 85, // Fire Skull
+ 85, // Poison Skull
+ 20, // Log Head
+ 70, // Mountain Snake
+ 15, // Easter Fluffy
+ 40, // Mouboo
+ 0, // Mauve Plant
+ 0, // Cobalt Plant
+ 0, // Gamboge Plant
+ 0, // Alizarin Plant
+ 20, // Sea Slime
+ 75, // Grass Snake
+ 0, // Silk Worm
+ 125, // Zombie
+ 0, // Clover Patch
+ 5, // Squirrel
+ 0, // Fire Lizard
+ 80, // Wisp
+ 15, // Snail
+ 80, // Spectre
+ 100, // Skeleton
+ 100, // Lady Skeleton
+ 150, // Fallen
+ 0, // Snake Lord
+ 80, // Poltergeist
+ 0, // Duck
+ 15, // Bee
+ 0, // Larvespa
+ 0, // Vespa
+ 0, // Hivespa
+ 0, // Froad
+ 0, // Troll
+ 15, // Butterfly
+ 2, // Cave Maggot
+ 10, // Angry Scorpion
+ 6, // Ice Goblin
+ 20, // Archant
+ 40, // Giant Cave Maggot
+ 35, // Moggun
+ 100, // Terranite
+ 10, // Pumpkin
+ 10, // Bandit
+ 20, // Bandit Lord
+ 30, // Vampire Bat
+ 20, // Reaper
+ 100, // Reaper 2
+ 100, // Scythe
+ 20, // Ball Lightning
+ 60, // Ice Element
+ 80, // Yeti
+ 100, // The Lost
+ 0, // Red Bone
+ 0, // Stalker
+ 0, // Dreadwing
+ 100, // Drunken Skeleton
+ 100, // Tipsy Skeleton
+ 100, // Drunken Lady Skeleton
+ 60, // BlueSpark
+ 60, // RedSpark
+ 0, // Serqet
+ // Add more here
+ 0; // END
- if (MPQUEST == 1) set Mobpt, Mobpt + @points[@mobID - 1002];
+ if (MPQUEST == 1)
+ set Mobpt, Mobpt + @points[@mobID - 1002];
// Scorpion, Red Scorpion, Black Scorpion, Angry Scorpion
- if ((@mobID == 1003) || (@mobID == 1004) || (@mobID == 1008) || (@mobID == 1057))
- goto L_good;
+ 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)
+ // Attitude adjustment for the witch (can we refactor this to another function? Not sure about max. recursion depth)
- set @value, 0;
+ set @value, 0;
// Fluffy
- if (@mobID == 1020)
- set @value, 3;
+ if (@mobID == 1020)
+ set @value, 3;
// Easter Fluffy
- if (@mobID == 1027)
- set @value, 3;
+ if (@mobID == 1027)
+ set @value, 3;
// Mouboo
- if (@mobID == 1028)
- set @value, 4;
+ if (@mobID == 1028)
+ set @value, 4;
// Squirrel
- if (@mobID == 1038)
- set @value, 2;
+ if (@mobID == 1038)
+ set @value, 2;
- if (@value == 0)
- goto L_end;
+ if (@value == 0)
+ goto L_end;
- callfunc "QuestSagathaAnnoy";
- goto L_end;
+ callfunc "QuestSagathaAnnoy";
+ goto L_end;
L_good:
- set @value, 1;
- callfunc "QuestSagathaHappy";
+ set @value, 1;
+ callfunc "QuestSagathaHappy";
+
L_end:
- set @value, 0;
+ set @value, 0;
}