diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-09 19:06:39 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-09 19:06:39 -0300 |
commit | 134e35a4581057003d53541f936d55ff09b9a57e (patch) | |
tree | b0ee00f41cb3aeb1ba7ceb9d48b197e9180067d9 /npc/config | |
parent | adbd3cbef53a4933540cffadef6fff4f61741aa9 (diff) | |
download | serverdata-134e35a4581057003d53541f936d55ff09b9a57e.tar.gz serverdata-134e35a4581057003d53541f936d55ff09b9a57e.tar.bz2 serverdata-134e35a4581057003d53541f936d55ff09b9a57e.tar.xz serverdata-134e35a4581057003d53541f936d55ff09b9a57e.zip |
summon() now returns gid - as of beta.patch2 v4
Diffstat (limited to 'npc/config')
-rw-r--r-- | npc/config/magic.txt | 2 |
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; |