summaryrefslogtreecommitdiff
path: root/npc/re/merchants/coin_exchange.txt
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-01-28 10:55:47 +0530
committerDastgir <dastgirpojee@rocketmail.com>2015-01-28 10:55:47 +0530
commit1b0eacd770b128b02d3300b7efe05da136bbed3d (patch)
tree70e6b7df9150bd4b384142d4b2f4aec88c65d1d6 /npc/re/merchants/coin_exchange.txt
parent3a5b0c03e46158e1edd6ec88dfcace45e22c7a91 (diff)
downloadhercules-1b0eacd770b128b02d3300b7efe05da136bbed3d.tar.gz
hercules-1b0eacd770b128b02d3300b7efe05da136bbed3d.tar.bz2
hercules-1b0eacd770b128b02d3300b7efe05da136bbed3d.tar.xz
hercules-1b0eacd770b128b02d3300b7efe05da136bbed3d.zip
Fixes Invalid questprogress condition on Eclage Quests. Fixes Slot Expert rate of success. Bug Report#8511
Diffstat (limited to 'npc/re/merchants/coin_exchange.txt')
-rw-r--r--npc/re/merchants/coin_exchange.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/re/merchants/coin_exchange.txt b/npc/re/merchants/coin_exchange.txt
index 2e9a8a795..f2ee8a506 100644
--- a/npc/re/merchants/coin_exchange.txt
+++ b/npc/re/merchants/coin_exchange.txt
@@ -931,8 +931,8 @@ ecl_in01,64,97,5 script Slot Expert Nattuer#ecl 4_F_FAIRYKID,{
progressbar "0xFFFF00",3;
mes "[Slot Expert]";
delitem Splendide_Coin,5; //Splendide_Coin
- .@luckyday = rand(1,99);
- if ( .@luckyday%20 ){
+ .@luckyday = rand(1,100);
+ if ( (.@luckyday%20) > 0){
emotion e_dots;
delitem .@choice,1;
mes "Shoot, I'm sorry. It failed.";