diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-07-31 15:44:50 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-07-31 15:44:50 -0300 |
commit | 402a10239abae8f7070bcb588583888314c537cc (patch) | |
tree | 9106bf34d08acccf944ed9d8069e1b7928a89e59 | |
parent | 81380998a17735ef886e111a1bbef85345efbbfd (diff) | |
download | serverdata-402a10239abae8f7070bcb588583888314c537cc.tar.gz serverdata-402a10239abae8f7070bcb588583888314c537cc.tar.bz2 serverdata-402a10239abae8f7070bcb588583888314c537cc.tar.xz serverdata-402a10239abae8f7070bcb588583888314c537cc.zip |
Overclocked maps: Minor tweaks, maximum penalty is 30%
An "Overclocked map" should be a map where EXP/DROP gain can be higher than
other more dangerous maps. In theory, HH Master could be Overclocked...
...But this needs more empirical testing as the goal is balance.
In other words, if performance of an OC map falls below the other maps, then
it is a failure.
-rw-r--r-- | npc/functions/dungeon.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/functions/dungeon.txt b/npc/functions/dungeon.txt index 492401975..20489d0cc 100644 --- a/npc/functions/dungeon.txt +++ b/npc/functions/dungeon.txt @@ -225,16 +225,16 @@ OnClocked: .@eff = 5 + (.@chance / .@homun); // If you already have one running (!!), increase the effect if (getstatus(SC_BOTTER_SYNDROME)) { - .@t = 1 + getstatus(SC_BOTTER_SYNDROME, 5) / 3600000; - .@eff += .@t + min(100, getstatus(SC_BOTTER_SYNDROME, 1)); + .@eff += min(100, getstatus(SC_BOTTER_SYNDROME, 1)); } - // Sanitize the effect (it cannot go past 75%) - .@eff = min(75, .@eff); + // Sanitize the effect (it cannot go past 30%) + // (Note it reaches the cap if it fires at 100% rate twice w/o Homun) + .@eff = min(30, .@eff); SC_Bonus(30, SC_BOTTER_SYNDROME, .@eff); } - // New tick (15~30 seconds fixed cycle) - addtimer2 rand(15000,30000), .name$+"::OnClocked"; + // New tick (14~30 seconds fixed cycle) + addtimer2 rand(14000,30000), .name$+"::OnClocked"; end; |