summaryrefslogtreecommitdiff
path: root/world
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-04-25 21:16:01 -0300
committerJesusaves <cpntb1@ymail.com>2022-04-25 21:16:01 -0300
commitc7f23178ecac6554a569c6a0b618d34143f72c2c (patch)
treea422cf70d21e9d051a005b37ab8d41d5f20aff59 /world
parentdbd6750203eadadd4f7c89da0e1305b61eaa7031 (diff)
downloadserverdata-c7f23178ecac6554a569c6a0b618d34143f72c2c.tar.gz
serverdata-c7f23178ecac6554a569c6a0b618d34143f72c2c.tar.bz2
serverdata-c7f23178ecac6554a569c6a0b618d34143f72c2c.tar.xz
serverdata-c7f23178ecac6554a569c6a0b618d34143f72c2c.zip
Nerf upmarmu (UNTESTED). Remove broken code.
Diffstat (limited to 'world')
-rw-r--r--world/map/npc/functions/doomsday.txt2
-rw-r--r--world/map/npc/magic/level2-magic-knuckles.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/world/map/npc/functions/doomsday.txt b/world/map/npc/functions/doomsday.txt
index 6d5cabe3..474b5937 100644
--- a/world/map/npc/functions/doomsday.txt
+++ b/world/map/npc/functions/doomsday.txt
@@ -371,7 +371,7 @@ L_MenhirUpdate:
disablenpc "Soul Menhir#hurnscald";
disablenpc "Soul Menhir#nivalis";
disablenpc "Soul Menhir#tulimshar";
- enablenpc "Chest#Zealite";
+ //enablenpc "Chest#Zealite";
end;
/////// Act 3 sieges
diff --git a/world/map/npc/magic/level2-magic-knuckles.txt b/world/map/npc/magic/level2-magic-knuckles.txt
index acc3405d..2063ad12 100644
--- a/world/map/npc/magic/level2-magic-knuckles.txt
+++ b/world/map/npc/magic/level2-magic-knuckles.txt
@@ -14,10 +14,10 @@
set Sp, Sp - 20;
misceffect FX_MAGIC_KNUCKLE_CAST, strcharinfo(0);
setarray @upmarmuspell[0],
- BASE_ATK, // dmg
+ max(1, BASE_ATK - 100 + min(100, Int)), // dmg
((@spellpower/10) + ((Dex * 8)/(sqrt(BaseLevel + 34)) + 20)), // charges (you get more at lower levels)
(sqrt(300 - (Agi * 2)) + (5/2)), // delay
- Agi, // dmg bonus
+ ((Agi + Int) / 2), // dmg bonus
(((BaseLevel/5) + Str) * 2); // do not allow to equip light armor, cast, and then switch to heavy armor to get bonus str
callfunc "magic_exp";
goto L_FreeRecast;