summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/config/magic.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index fddf3cb6e..b21a5e6e9 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -74,12 +74,10 @@ function script SummonMagic {
// The 35~50 is not a defect, remember skill starts at level 1...
for (.@i = 0; .@i < (.@lv+(.@adj-1))/.@adj; .@i++) {
.@mids=summon("Summoned Monster", .@id, rand(35,50)+.@lv*10);
- /* TODO: summon() don't return GID
.@bhp=getunitdata(.@mids, UDT_MAXHP);
.@lvx=max(0, (.@lv-1)*.@bhp/50);
setunitdata(.@mids, UDT_MAXHP, .@bhp+.@lvx);
setunitdata(.@mids, UDT_HP, .@bhp+.@lvx);
- */
}
dispbottom l("All monsters summoned!");
return;