summaryrefslogtreecommitdiff
path: root/npc/re
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
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')
-rw-r--r--npc/re/merchants/coin_exchange.txt4
-rw-r--r--npc/re/quests/quests_eclage.txt18
2 files changed, 13 insertions, 9 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.";
diff --git a/npc/re/quests/quests_eclage.txt b/npc/re/quests/quests_eclage.txt
index cb57f1681..3d3f8a71d 100644
--- a/npc/re/quests/quests_eclage.txt
+++ b/npc/re/quests/quests_eclage.txt
@@ -13053,26 +13053,26 @@ ecl_tdun01,98,47,5 duplicate(Euncheong#No.1) Euncheong#No.3 4_M_HUBOY,1,1
ecl_tdun03,68,80,3 script New Oz#1 4_M_NEWOZ,1,1,{
if (ep14_2_nines > 5) {
- if ((questprogress(13062,PLAYTIME) == 1) || (questprogress(13064,PLAYTIME) == 1) || (questprogress(13066,PLAYTIME) == 1)) {
+ if ((questprogress(13062,PLAYTIME) == 2) || (questprogress(13064,PLAYTIME) == 2) || (questprogress(13066,PLAYTIME) == 2)) {
cutin "nines01",2;
mes "[New Oz]";
mes "Ah...What a relief...I'm so glad you're here. I was about to leave this tower alone! But I think I'm lost.";
emotion e_gasp;
- if (questprogress(13062,PLAYTIME) == 1) {
+ if (questprogress(13062,PLAYTIME) == 2) {
next;
cutin "nines04",2;
mes "[New Oz]";
mes "I'm hungry again from walking around so much...I'm so hungry that I can't walk anymore.";
erasequest 13062;
}
- if (questprogress(13064,PLAYTIME) == 1) {
+ if (questprogress(13064,PLAYTIME) == 2) {
next;
cutin "nines03",2;
mes "[New Oz]";
mes "Did I walk too much? I'm covered with dust again. It keeps covering my eyes.";
erasequest 13064;
}
- if (questprogress(13066,PLAYTIME) == 1) {
+ if (questprogress(13066,PLAYTIME) == 2) {
next;
cutin "nines02",2;
mes "[New Oz]";
@@ -13088,7 +13088,9 @@ ecl_tdun03,68,80,3 script New Oz#1 4_M_NEWOZ,1,1,{
mes "[New Oz]";
mes "No need to worry about me! ^FF0000I'll definitely go home this time!^000000 Thanks for everything! I'll take you out for a nice meal next time!";
emotion e_thx;
- erasequest 13058;
+ if (questprogress(13058)){
+ erasequest 13058;
+ }
close2;
cutin "",255;
end;
@@ -13104,7 +13106,7 @@ ecl_tdun03,68,80,3 script New Oz#1 4_M_NEWOZ,1,1,{
if (questprogress(13062,PLAYTIME) >= 1) {
next;
mes "[New Oz]";
- if (questprogress(13064,PLAYTIME) == 1) {
+ if (questprogress(13064,PLAYTIME) >= 1) {
mes "I guess I'll have no problem finding my way out of this tower now. I'm full...and I just need to get a few more souvenirs...";
}
else {
@@ -13118,7 +13120,9 @@ ecl_tdun03,68,80,3 script New Oz#1 4_M_NEWOZ,1,1,{
mes "I'm starving to death though... Could you please help me, my friend?";
emotion e_wah;
}
- erasequest 13058;
+ if (questprogress(13058)){
+ erasequest 13058;
+ }
close2;
cutin "",255;
end;