diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-09 18:57:02 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-09 18:57:02 -0300 |
commit | adbd3cbef53a4933540cffadef6fff4f61741aa9 (patch) | |
tree | 787b8605782694019d39ebd3087e56881cfb569a /npc/config | |
parent | 9c7bc9144eaf91eaca08d46686eaa50d0804c940 (diff) | |
download | serverdata-adbd3cbef53a4933540cffadef6fff4f61741aa9.tar.gz serverdata-adbd3cbef53a4933540cffadef6fff4f61741aa9.tar.bz2 serverdata-adbd3cbef53a4933540cffadef6fff4f61741aa9.tar.xz serverdata-adbd3cbef53a4933540cffadef6fff4f61741aa9.zip |
Bugfixes
Diffstat (limited to 'npc/config')
-rw-r--r-- | npc/config/magic.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt index b21a5e6e9..fddf3cb6e 100644 --- a/npc/config/magic.txt +++ b/npc/config/magic.txt @@ -74,10 +74,12 @@ 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; |