summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-10 22:41:30 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-10 22:41:30 -0300
commit3c6ab68332fc0ab6486c28ec6ab9b9318d5a8055 (patch)
treee0695ac84087cf069590e32d1d113295212776e4 /npc/commands
parenta083f6afac7e172ecac360d846be6860893458fc (diff)
downloadserverdata-3c6ab68332fc0ab6486c28ec6ab9b9318d5a8055.tar.gz
serverdata-3c6ab68332fc0ab6486c28ec6ab9b9318d5a8055.tar.bz2
serverdata-3c6ab68332fc0ab6486c28ec6ab9b9318d5a8055.tar.xz
serverdata-3c6ab68332fc0ab6486c28ec6ab9b9318d5a8055.zip
Fix bugs on Super Spawns
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/event.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index de1b1483b..89c0d9f2d 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -139,7 +139,7 @@ function script GlobalEventMenu {
return;
.@tmp=(getmonsterinfo(.@mobid, MOB_ATK1)+getmonsterinfo(.@mobid, MOB_ATK2))/2;
- mesc l("Monster ATK (varies 10%), Default %d, use 0 to cancel", .@tmp);
+ mesc l("Monster ATK (varies 10%%), Default %d, use 0 to cancel", .@tmp);
input .@newak;
if (.@newak <= 0)
return;
@@ -186,8 +186,8 @@ function script GlobalEventMenu {
.@mob=monster(.@m$, .@x, .@y, .@name$, .@mobid, 1);
// Reconfigure
- setunitdata(.@mob, UDT_HP, .@newhp);
setunitdata(.@mob, UDT_MAXHP, .@newhp);
+ setunitdata(.@mob, UDT_HP, .@newhp);
setunitdata(.@mob, UDT_SPEED, .@newspd);
setunitdata(.@mob, UDT_DEX, .@newdx);
setunitdata(.@mob, UDT_AGI, .@newag);