summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-01 11:43:55 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-01 11:43:55 -0300
commit46c45f25ed776881bb90181b358a3d3343ce01a1 (patch)
tree8157b9422272223da95bec02927e1593879a2a56 /npc
parenta3f19a8416c1aced8546e887248350698b730827 (diff)
downloadserverdata-46c45f25ed776881bb90181b358a3d3343ce01a1.tar.gz
serverdata-46c45f25ed776881bb90181b358a3d3343ce01a1.tar.bz2
serverdata-46c45f25ed776881bb90181b358a3d3343ce01a1.tar.xz
serverdata-46c45f25ed776881bb90181b358a3d3343ce01a1.zip
Redo Lua Contributor Rewards
Diffstat (limited to 'npc')
-rw-r--r--npc/003-2/lua.txt36
1 files changed, 22 insertions, 14 deletions
diff --git a/npc/003-2/lua.txt b/npc/003-2/lua.txt
index 2cbbbe504..b487fd1bf 100644
--- a/npc/003-2/lua.txt
+++ b/npc/003-2/lua.txt
@@ -294,10 +294,12 @@ L_Contributor:
mesq l("Ah, welcome @@. You have @@ Contributor Points.", strcharinfo(0), .@m);
mesq l("Let's see if you can pick a reward!");
select
- rif(!(#CRW & 32) && .@m >= 10000 && Zeny > 10000, l("(10,000 GP) Legendary Mount")),
- rif(!(#CRW & 16) && .@m >= 4500, l("Delicious Cookie")),
- rif(!(#CRW & 8) && .@m >= 2000, l("Developer Cap")),
- rif(!(#CRW & 4) && .@m >= 500, l("Contributor Sweater")),
+ rif(!(#CRW & 128) && .@m >= 10000, l("30x Bug Leg")),
+ rif(!(#CRW & 32) && .@m >= 5000 && Zeny > 10000, l("(10,000 GP) Legendary Mount")),
+ rif(!(#CRW & 16) && .@m >= 2000, l("Delicious Cookie")),
+ rif(!(#CRW & 64) && .@m >= 1000, l("20x Bug Leg")),
+ rif(!(#CRW & 8) && .@m >= 500, l("Developer Cap")),
+ rif(!(#CRW & 4) && .@m >= 250, l("Contributor Sweater")),
rif(!(#CRW & 2) && .@m >= 100, l("Community Shirt")),
rif(!(#CRW & 1) && .@m, l("5x Strange Coins")),
l("Which rewards are available?"),
@@ -306,22 +308,28 @@ L_Contributor:
mes "";
switch (@menu) {
case 1:
- Zeny=Zeny-10000; getitembound "LegendaryMount", 1, 1; #CRW=#CRW|32 ; break;
+ getitem BugLeg, 30; #CRW=#CRW|128 ; break;
case 2:
- getitem "DeliciousCookie", 1; #CRW=#CRW|16 ; break;
+ Zeny=Zeny-10000; getitembound "LegendaryMount", 1, 1; #CRW=#CRW|32 ; break;
case 3:
- getitem "DEVCap", 1; #CRW=#CRW|8 ; break;
+ getitem "DeliciousCookie", 1; #CRW=#CRW|16 ; break;
case 4:
- getitem "ContributorSweater", 1; #CRW=#CRW|4 ; break;
+ getitem BugLeg, 20; #CRW=#CRW|64 ; break;
case 5:
- getitem "CommunityShirt", 1; #CRW=#CRW|2 ; break;
+ getitem "DEVCap", 1; #CRW=#CRW|8 ; break;
case 6:
- getitem "StrangeCoin", 5; #CRW=#CRW|1 ; break;
+ getitem "ContributorSweater", 1; #CRW=#CRW|4 ; break;
case 7:
- mes l("10000 (+10,000 GP) - @@", getitemlink(LegendaryTortuga));
- mes l("4500 - @@", getitemlink(DeliciousCookie));
- mes l("2000 - @@", getitemlink(DEVCap));
- mes l("500 - @@", getitemlink(ContributorSweater));
+ getitem "CommunityShirt", 1; #CRW=#CRW|2 ; break;
+ case 8:
+ getitem "StrangeCoin", 5; #CRW=#CRW|1 ; break;
+ case 9:
+ mes l("10000 - 30x @@", getitemlink(BugLeg));
+ mes l("5000 (+10,000 GP) - @@", getitemlink(LegendaryTortuga));
+ mes l("2000 - @@", getitemlink(DeliciousCookie));
+ mes l("1000 - 20x @@", getitemlink(BugLeg));
+ mes l("500 - @@", getitemlink(DEVCap));
+ mes l("250 - @@", getitemlink(ContributorSweater));
mes l("100 - @@", getitemlink(CommunityShirt));
next;
goto L_Contributor;