summaryrefslogtreecommitdiff
path: root/npc/config
diff options
context:
space:
mode:
Diffstat (limited to 'npc/config')
-rw-r--r--npc/config/magic.txt13
1 files changed, 4 insertions, 9 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index 0ec8dd99b..9ad6d0b9a 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -34,15 +34,10 @@ function script SummonMagic {
heal 0, 0-.@mp;
// Cause effect
- getmapxy(.@map$,.@x,.@y,0);
- monster(.@map$, .@x, .@y, "Summoned Monster", .@id, getskilllv(.@sk), .@scr, Size_Medium, 1);
+ // Summoned monsters live from 45 to 60 seconds, and each skill levels grants 10s extra life
+ // The 35~50 is not a defect, remember skill starts at level 1...
+ for (.@i = 0; .@i < (getskilllv(.@sk)+1)/2; .@i++)
+ summon("Summoned Monster", .@id, rand(35000,50000)+getskilllv(.@sk)*10000);
dispbottom l("All monsters summoned!");
- /* AI Options
- 0 = none (default)
- 1 = attack/friendly
- 2 = sphere (Alchemist skill)
- 3 = flora (Alchemist skill)
- 4 = zanzou (Kagerou/Oboro skill)
- */
}