summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);