summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-10-21 22:31:55 -0300
committerJesusaves <cpntb1@ymail.com>2020-10-21 22:31:55 -0300
commit896e2fef61f4ce23f850496e435e767212d84364 (patch)
tree8cccb206dfa814e6c19da3f0b80f8408b3e6717d
parent9eed4285d5cb57db0c65626dd4fefae2572ab40e (diff)
downloadserverdata-896e2fef61f4ce23f850496e435e767212d84364.tar.gz
serverdata-896e2fef61f4ce23f850496e435e767212d84364.tar.bz2
serverdata-896e2fef61f4ce23f850496e435e767212d84364.tar.xz
serverdata-896e2fef61f4ce23f850496e435e767212d84364.zip
Fix superboss
-rw-r--r--npc/commands/event.txt2
-rw-r--r--npc/functions/hub.txt6
2 files changed, 4 insertions, 4 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index dbfa779ac..608080d16 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -283,7 +283,7 @@ function script GlobalEventMenu {
// Make it a boss
.@md=getunitdata(.@mob, UDT_MODE);
- setunitdata(.@mob, UDT_LEVEL, .@md|32); // 32: MD_BOSS
+ setunitdata(.@mob, UDT_MODE, .@md|MD_BOSS);
logmes "Super spawn completed! (GID "+.@mob+")", LOGMES_ATCOMMAND;
return;
}
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index bb3f16c6b..f108995ae 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -489,14 +489,14 @@ function script HUB_SkillInvoke {
case TMW2_METEORSHOWER:
.@dmg=AdjustSpellpower(150);
.@RG=3+(@skillLv/5);
- areaharm(@skillTarget, .@RG, .@dmg, HARM_MAGI, Ele_Wind);
+ areaharm(@skillTarget, .@RG, .@dmg, HARM_MAGI, Ele_Earth);
break;
case TMW2_GAIABREAK:
// TODO: DEF UP+
.@dmg=AdjustSpellpower(200);
.@dsub=AdjustSpellpower(120);
- harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Holy);
- rectharm(@skillTarget, 2, 5, .@dsub, HARM_MAGI, Ele_Holy);
+ harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Earth);
+ rectharm(@skillTarget, 2, 5, .@dsub, HARM_MAGI, Ele_Earth);
break;
// TODO Assassin skill