summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-01-28 01:55:49 -0300
committerJesusaves <cpntb1@ymail.com>2020-01-28 01:55:49 -0300
commit3420041dc55b10f30eab3167857afc47902763bc (patch)
tree65df19fcbc460bff9f6d8505421d7cdc231a8618 /npc
parent60acea11a6291032c9f8a74797cbcde8ac0195d7 (diff)
downloadserverdata-3420041dc55b10f30eab3167857afc47902763bc.tar.gz
serverdata-3420041dc55b10f30eab3167857afc47902763bc.tar.bz2
serverdata-3420041dc55b10f30eab3167857afc47902763bc.tar.xz
serverdata-3420041dc55b10f30eab3167857afc47902763bc.zip
Valentine Day: Boost rewards
Diffstat (limited to 'npc')
-rw-r--r--npc/003-1/events.txt20
1 files changed, 13 insertions, 7 deletions
diff --git a/npc/003-1/events.txt b/npc/003-1/events.txt
index e7ea8a826..5abc40577 100644
--- a/npc/003-1/events.txt
+++ b/npc/003-1/events.txt
@@ -115,18 +115,24 @@ OnInit:
#VALENTINE_SENT=0;
#VALENTINE_OPENED=0;
#VALENTINE_RECEIVED=0;
- if (strcharinfo(0) == .@name$[0])
+ if (strcharinfo(0) == .@name$[0]) {
makepet DoggyDog;
- else if (strcharinfo(0) == .@name$[1] || strcharinfo(0) == .@name$[2])
getitem PrismGift, 1;
- else if (strcharinfo(0) == .@name$[3] || strcharinfo(0) == .@name$[4])
+ } else if (strcharinfo(0) == .@name$[1] || strcharinfo(0) == .@name$[2]) {
+ getitem PrismGift, 1;
+ getitem GoldenGift, 1;
+ } else if (strcharinfo(0) == .@name$[3] || strcharinfo(0) == .@name$[4]) {
getitem GoldenGift, 1;
- else if (strcharinfo(0) == .@name$[5] || strcharinfo(0) == .@name$[6])
getitem SilverGift, 1;
- else if (strcharinfo(0) == .@name$[7] || strcharinfo(0) == .@name$[8] || strcharinfo(0) == .@name$[9])
+ } else if (strcharinfo(0) == .@name$[5] || strcharinfo(0) == .@name$[6]) {
+ getitem SilverGift, 1;
+ getitem BronzeGift, 1;
+ } else if (strcharinfo(0) == .@name$[7] || strcharinfo(0) == .@name$[8] || strcharinfo(0) == .@name$[9]) {
getitem BronzeGift, 1;
- else
- getitem StrangeCoin, 1;
+ getitem StrangeCoin, 5;
+ } else {
+ getitem StrangeCoin, 5;
+ }
getexp #VALENTINE_SENT+#VALENTINE_RECEIVED, #VALENTINE_SENT;
Zeny=Zeny+#VALENTINE_OPENED;