Created
June 1, 2012 23:35
-
-
Save o11c/2855776 to your computer and use it in GitHub Desktop.
The results of Alige's suggestion for a mob point formula.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a word diff | |
Key: | |
tilde is a real newline | |
plus, minus, space are added, removed, and identical chunks within a line | |
Note, my script is buggy, so nonexistent monsters are not getting a slot in the array! | |
diff --git i/world/map/npc/functions/mob_points.txt w/world/map/npc/functions/mob_points.txt | |
index a3fe8af..6c83fcc 100644 | |
--- i/world/map/npc/functions/mob_points.txt | |
+++ w/world/map/npc/functions/mob_points.txt | |
@@ -1,108 +1,103 @@ | |
~ | |
// | |
+WARNING: this file is generated, do not hand-edit. | |
~ | |
~ | |
+// | |
Mob points | |
+(and reputation with Sagatha) | |
~ | |
~ | |
function|script|MobPoints|{ | |
~ | |
if (@mobID < 1002) return; | |
~ | |
~ | |
setarray @points, | |
~ | |
~ | |
-1, | |
+4, | |
// Maggot | |
~ | |
-2, | |
+7, | |
// Scorpion | |
~ | |
-20, | |
+29, | |
// RedScorpion | |
~ | |
-40, | |
+43, | |
// GreenSlime | |
~ | |
-30, | |
+27, | |
// GiantMaggot | |
~ | |
-15, | |
+21, | |
// YellowSlime | |
~ | |
-25, | |
+22, | |
// RedSlime | |
~ | |
-45, | |
+39, | |
// BlackScorpion | |
~ | |
-50, | |
+40, | |
// Snake | |
~ | |
-6, | |
+11, | |
// FireGoblin | |
~ | |
-55, | |
+40, | |
// Spider | |
~ | |
-35, | |
+37, | |
// EvilMushroom | |
~ | |
-35, | |
+43, | |
// PinkFlower | |
~ | |
-40, | |
+38, | |
// SantaSlime | |
~ | |
-15, | |
+22, | |
// RudolphSlime | |
~ | |
-2, | |
+11, | |
// Bat | |
~ | |
-16, | |
+13, | |
// Pinkie | |
~ | |
-10, | |
+9, | |
// SpikyMushroom | |
~ | |
-14, | |
+11, | |
// Fluffy | |
~ | |
-25, | |
+12, | |
// CaveSnake | |
~ | |
-200, | |
+124, | |
// JackO | |
~ | |
-85, | |
+73, | |
// FireSkull | |
~ | |
-85, | |
+73, | |
// PoisonSkull | |
~ | |
-20, | |
+17, | |
// LogHead | |
~ | |
-70, | |
+52, | |
// MountainSnake | |
~ | |
-15, | |
+12, | |
// EasterFluffy | |
~ | |
-40, | |
+37, | |
// Mouboo | |
~ | |
-0, | |
+1, | |
// MauvePlant | |
~ | |
-0, | |
+1, | |
// CobaltPlant | |
~ | |
-0, | |
+1, | |
// GambogePlant | |
~ | |
-0, | |
+1, | |
// AlizarinPlant | |
~ | |
-20, | |
+26, | |
// SeaSlime | |
~ | |
-75, | |
+54, | |
// GrassSnake | |
~ | |
-0, | |
+14, | |
// | |
-SilkWorm | |
~ | |
- 125, | |
+Silkworm | |
~ | |
+ 109, | |
// Zombie | |
~ | |
-0, | |
+1, | |
// CloverPatch | |
~ | |
-5, | |
+13, | |
// Squirrel | |
~ | |
-0, // FireLizard | |
~ | |
- 80, | |
+89, | |
// Wisp | |
~ | |
-15, | |
+27, | |
// Snail | |
~ | |
-80, | |
+88, | |
// Spectre | |
~ | |
-100, | |
+72, | |
// Skeleton | |
~ | |
-100, | |
+58, | |
// LadySkeleton | |
~ | |
-150, | |
+107, | |
// Fallen | |
~ | |
-0, | |
+107, | |
// SnakeLord | |
~ | |
-80, | |
+68, | |
// Poltergeist | |
~ | |
-0, // Duck | |
~ | |
- 15, | |
+29, | |
// Bee | |
~ | |
-0, // Larvespa | |
~ | |
- 0, // Vespa | |
~ | |
- 0, // Hivespa | |
~ | |
- 0, // Froad | |
~ | |
- 0, // Troll | |
~ | |
- 15, | |
+27, | |
// Butterfly | |
~ | |
-2, | |
+6, | |
// CaveMaggot | |
~ | |
-10, | |
+9, | |
// AngryScorpion | |
~ | |
-6, | |
+13, | |
// IceGoblin | |
~ | |
-20, | |
+32, | |
// | |
-Archant | |
~ | |
- 40, | |
+GCMaggot | |
~ | |
+ 14, | |
// | |
-GiantCaveMaggot | |
~ | |
- 35, | |
+Archant | |
~ | |
+ 39, | |
// Moggun | |
~ | |
-100, | |
+101, | |
// Terranite | |
~ | |
-10, | |
+1, | |
// Pumpkin | |
~ | |
-10, | |
+17, | |
// Bandit | |
~ | |
-20, | |
+33, | |
// BanditLord | |
~ | |
-30, | |
+11, | |
// VampireBat | |
~ | |
-20, | |
+157, | |
// Reaper | |
~ | |
-100, | |
+140, | |
// Reaper2 | |
~ | |
-100, | |
+126, | |
// Scythe | |
~ | |
-20, | |
+37, | |
// BallLightning | |
~ | |
-60, | |
+63, | |
// IceElement | |
~ | |
-80, | |
+99, | |
// Yeti | |
~ | |
-100, | |
+108, | |
// TheLost | |
~ | |
-0, // RedBone | |
~ | |
- 0, // Stalker | |
~ | |
- 0, // Dreadwing | |
~ | |
- 100, | |
+74, | |
// DrunkenSkeleton | |
~ | |
-100, | |
+74, | |
// TipsySkeleton | |
~ | |
-100, | |
+60, | |
// DrunkenLadySkeleton | |
~ | |
-60, | |
+48, | |
// BlueSpark | |
~ | |
-60, | |
+48, | |
// RedSpark | |
~ | |
-0, | |
+7, | |
// Serqet | |
~ | |
-60, | |
+49, | |
// HuntsmanSpider | |
~ | |
-40, | |
+47, | |
// CrotcherScorpion | |
~ | |
-0, | |
+73, | |
// IceSkull | |
~ | |
-120, | |
+60, | |
// FeyElement | |
~ | |
-10, | |
+57, | |
// Larvern | |
~ | |
-60, | |
+38, | |
// Hyvern | |
~ | |
-20, | |
+11, | |
// HungryFluffy | |
~ | |
-40, | |
+25, | |
// Wolvern | |
~ | |
-50, | |
+60, | |
// BlueSlime | |
~ | |
-0, | |
+12, | |
// SlimeBlast | |
~ | |
-20, | |
+37, | |
// WhiteSlime | |
~ | |
-40, | |
+30, | |
// Reinboo | |
~ | |
-0, | |
+1, | |
// WhiteBell | |
~ | |
~ | |
// Add more here | |
~ | |
0; // END | |
~ | |
~ | |
~ | |
if | |
-(MPQUEST == 1) | |
+(MPQUEST) | |
~ | |
set Mobpt, Mobpt + @points[@mobID - 1002]; | |
~ | |
~ | |
// Scorpion, Red Scorpion, Black Scorpion, Angry Scorpion | |
~ | |
@@ -145,3 +140,4 @@ L_good: | |
L_end: | |
~ | |
set @value, 0; | |
~ | |
} | |
~ | |
~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment