summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-07-31 15:04:09 -0300
committerJesusaves <cpntb1@ymail.com>2024-07-31 15:04:09 -0300
commit81380998a17735ef886e111a1bbef85345efbbfd (patch)
tree5afe7ae62cca5ab080b801b6240adf1e00bdc5b5
parenta7cc54da9d36e787ab1c6bec3c6664759643f454 (diff)
downloadserverdata-81380998a17735ef886e111a1bbef85345efbbfd.tar.gz
serverdata-81380998a17735ef886e111a1bbef85345efbbfd.tar.bz2
serverdata-81380998a17735ef886e111a1bbef85345efbbfd.tar.xz
serverdata-81380998a17735ef886e111a1bbef85345efbbfd.zip
Just like Iced Bottles can reduce Heat maps and so on...
Active homuns will reduce effect from Over Clocked maps
-rw-r--r--npc/functions/dungeon.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/npc/functions/dungeon.txt b/npc/functions/dungeon.txt
index a9165aa32..492401975 100644
--- a/npc/functions/dungeon.txt
+++ b/npc/functions/dungeon.txt
@@ -216,8 +216,13 @@ OnClocked:
// Determine whenever you'll be afflicted with the Syndrome
// The syndrome duration is 30 seconds
if (rand2(100) < .@chance) {
+ // If you have a Homunculus active, the effect is smaller (5~10%)
+ if (gethominfo(0))
+ .@homun = (homstatus() ? 10 : 20);
+ else
+ .@homun = 10;
// Calculate the effect based on your score (5~15%)
- .@eff = 5 + (.@chance / 10);
+ .@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;