summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2025-03-15 09:34:22 -0300
committerJesusaves <cpntb1@ymail.com>2025-03-15 09:34:22 -0300
commit40a8ab2da18654e10ca42ac6231ccb7008c5db5c (patch)
tree9abc459f5e8eb00650f8e953f88849506df5ca56
parent7b59f1c31abb8d0fc329ebe744c23567cddf4b4a (diff)
downloadserverdata-40a8ab2da18654e10ca42ac6231ccb7008c5db5c.tar.gz
serverdata-40a8ab2da18654e10ca42ac6231ccb7008c5db5c.tar.bz2
serverdata-40a8ab2da18654e10ca42ac6231ccb7008c5db5c.tar.xz
serverdata-40a8ab2da18654e10ca42ac6231ccb7008c5db5c.zip
4L Clover will now grant you a 1% chance for Funky Hat.
It'll only affect general boost if you fail to get set bonus.
-rw-r--r--npc/014-5/events.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/014-5/events.txt b/npc/014-5/events.txt
index 00773a910..5671d65cb 100644
--- a/npc/014-5/events.txt
+++ b/npc/014-5/events.txt
@@ -116,9 +116,15 @@
.@boost+=25;
.@lucky+=1;
}
+ // 4L Clover also boosts the chance of obtaining the Funky Hat
+ if (getequipid(EQI_ACC_L) == FourLeafClover)
+ .@lucky+=1;
// Full set raises in further 25. Max boost gauge from dye is 150 atm.
+ // Four Leaf Clover complements if you failed to obtain the boost
if (.@boost >= 125)
.@boost+=25;
+ else if (getequipid(EQI_ACC_L) == FourLeafClover)
+ .@boost+=25;
// .@boost, right now, is a number from 0 to 250.
// Randomness factor can make that 20% higher, up to 300.