summaryrefslogtreecommitdiff
path: root/npc/003-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-30 12:57:41 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-30 12:57:41 -0300
commit88c6478c1aad28119134af0aa8ed7a751a6a25fe (patch)
tree5a8b40a8052bed03975c7ffc6f8e9c96b6cdeadd /npc/003-2
parent4890d6b2987f585e4ae65d906f1657ccd9a33cf2 (diff)
downloadserverdata-88c6478c1aad28119134af0aa8ed7a751a6a25fe.tar.gz
serverdata-88c6478c1aad28119134af0aa8ed7a751a6a25fe.tar.bz2
serverdata-88c6478c1aad28119134af0aa8ed7a751a6a25fe.tar.xz
serverdata-88c6478c1aad28119134af0aa8ed7a751a6a25fe.zip
Wrong operand logic on Lua
Diffstat (limited to 'npc/003-2')
-rw-r--r--npc/003-2/lua.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/003-2/lua.txt b/npc/003-2/lua.txt
index 74bd5fa99..152d2f03d 100644
--- a/npc/003-2/lua.txt
+++ b/npc/003-2/lua.txt
@@ -122,11 +122,11 @@ 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 & 16 && .@m >= 4500, l("Delicious Cookie")),
- rif(!#CRW & 8 && .@m >= 2000, l("Developer Cap")),
- rif(!#CRW & 4 && .@m >= 500, l("Contributor Sweater")),
- rif(!#CRW & 2 && .@m >= 100, l("Community Shirt")),
- rif(!#CRW & 1 && .@m, l("5x Strange Coins")),
+ 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 & 2) && .@m >= 100, l("Community Shirt")),
+ rif(!(#CRW & 1) && .@m, l("5x Strange Coins")),
l("Which rewards are available?"),
l("Ok, thanks.");