summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHello=) <hello@themanaworld.org>2024-11-05 07:33:48 +0300
committerHello=) <hello@themanaworld.org>2024-11-05 07:33:48 +0300
commit9b83fd4ab21898c82ae96561b71af9458b00ca71 (patch)
tree48c39f7ae0ad2bd1b193118faf22848319e8c7e2
parent56b3a4d5d182c11e634a15bd1cf86685fec39353 (diff)
downloadserverdata-candor-reward-fix.tar.gz
serverdata-candor-reward-fix.tar.bz2
serverdata-candor-reward-fix.tar.xz
serverdata-candor-reward-fix.zip
Fix candor rewards computing vs difficulty levelcandor-reward-fix
-rw-r--r--world/map/npc/029-3/parua.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/world/map/npc/029-3/parua.txt b/world/map/npc/029-3/parua.txt
index 18b960aa..6142b089 100644
--- a/world/map/npc/029-3/parua.txt
+++ b/world/map/npc/029-3/parua.txt
@@ -401,8 +401,8 @@ L_IdleCheckPassed:
OnReward:
if (isdead())
end;
- set @bp, 100 * 2200 / $@FIGHT_CAVE_MAX_LEVEL;
- set @xp, 100000 * 2200 / $@FIGHT_CAVE_MAX_LEVEL;
+ set @bp, 100 * $@FIGHT_CAVE_MAX_LEVEL / 2200;
+ set @xp, 100000 * $@FIGHT_CAVE_MAX_LEVEL / 2200;
getexp @xp, 0;
set BOSS_POINTS, BOSS_POINTS + @bp;
message strcharinfo(0), "You gain "+ @bp +" Boss Points giving you a total of " + BOSS_POINTS + ".";