summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2023-10-07 11:29:07 -0300
committerJesusaves <cpntb1@ymail.com>2023-10-07 11:29:07 -0300
commitcfc7d8e1f50e7e3552d158239204e9471e7fee2c (patch)
tree33c38f65f6a42e57fb3c56f37d05d31cbf258e8e
parent930afbd0ea7901844db230543abe7468f0d2c001 (diff)
downloadserverdata-cfc7d8e1f50e7e3552d158239204e9471e7fee2c.tar.gz
serverdata-cfc7d8e1f50e7e3552d158239204e9471e7fee2c.tar.bz2
serverdata-cfc7d8e1f50e7e3552d158239204e9471e7fee2c.tar.xz
serverdata-cfc7d8e1f50e7e3552d158239204e9471e7fee2c.zip
Update the record accordingly
-rw-r--r--npc/functions/clientversion.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 93efeaa34..2bc2d7a09 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -1115,6 +1115,21 @@ function script clientupdater {
if (getq3(SQuest_Christmas) && getq(SQuest_Christmas) == gettime(GETTIME_YEAR))
getexp (getq3(SQuest_Christmas) / 150), (getq3(SQuest_Christmas) / 250);
}
+ // Pet Detective Event Update
+ // sáb 07 out 2023 11:27:04 -03
+ if (UPDATE < 1696688824) {
+ UPDATE=1696688824;
+ if (countitem(BhopEgg)) {
+ #EVFEATS = #EVFEATS | EVFEAT_EASTER;
+ }
+ if (countitem(DoggyDog)) {
+ #EVFEATS = #EVFEATS | EVFEAT_EASTER;
+ }
+ if (countitem(CattyCat)) {
+ #EVFEATS = #EVFEATS | EVFEAT_EASTER;
+ }
+ // Black Cat & Pinkie - not yet implemented
+ }
// :// End of Regular Update System
////////////////////////////////////