diff options
Diffstat (limited to 'npc/functions/dungeon.txt')
-rw-r--r-- | npc/functions/dungeon.txt | 7 |
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; |