summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-11-09 01:44:49 -0800
committerBen Longbons <b.r.longbons@gmail.com>2014-11-09 01:44:49 -0800
commit185ba15449fd93f938f33905bf598aac5cde301a (patch)
treed4a1ea680dede553353e65aaf66b80bc0bd7e774
parentee919642a19f04ce613ba08000a450850a9deb31 (diff)
downloadserverdata-185ba15449fd93f938f33905bf598aac5cde301a.tar.gz
serverdata-185ba15449fd93f938f33905bf598aac5cde301a.tar.bz2
serverdata-185ba15449fd93f938f33905bf598aac5cde301a.tar.xz
serverdata-185ba15449fd93f938f33905bf598aac5cde301a.zip
Don't overflow the command-argument stack in the script parser
-rw-r--r--world/map/npc/functions/mob_points.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/world/map/npc/functions/mob_points.txt b/world/map/npc/functions/mob_points.txt
index eaf0aba3..7f1cb1db 100644
--- a/world/map/npc/functions/mob_points.txt
+++ b/world/map/npc/functions/mob_points.txt
@@ -130,9 +130,10 @@ function|script|MobPoints
100, // PsiBrain
150, // GeneralKurkan
175, // GeneralRazha
- 200, // GeneralTerogan
- // Add more here
- 0; // END
+ 200 // GeneralTerogan
+ // No more room! script engine is buggy, sorry.
+ // -o11c
+ ; // END
if (MPQUEST == 1)
set Mobpt, Mobpt + @points[@mobID - 1002];