Small correction for checkre script command (#5550)
Removed RENEWAL constant since it doesn't exist
This commit is contained in:
parent
d9fc45231f
commit
b454237d95
@ -3944,8 +3944,8 @@ more:
|
||||
Checks if a renewal feature is enabled or not in renewal.hpp, and returns 1 if
|
||||
enabled and 0 for disabled.
|
||||
|
||||
The renewal feature to check is determined by type.
|
||||
0 - RENEWAL (game renewal server mode)
|
||||
The renewal feature to check is determined by the number <type>.
|
||||
0 - RENEWAL enabled (game renewal server mode)
|
||||
1 - RENEWAL_CAST (renewal cast time)
|
||||
2 - RENEWAL_DROP (renewal drop rate algorithms)
|
||||
3 - RENEWAL_EXP (renewal exp rate algorithms)
|
||||
|
@ -476,7 +476,7 @@ hu_in01,382,382,4 script Guild Receptionist#hnt 732,{
|
||||
mes "[Demon Hunter]";
|
||||
mes "You see, we're having some financial problems. Let's see, we're short on these items...";
|
||||
next;
|
||||
if (checkre(RENEWAL) == true)
|
||||
if (checkre(0) == true)
|
||||
.@i = 1;
|
||||
switch( rand(1,7) ) {
|
||||
case 1:
|
||||
@ -532,7 +532,7 @@ hu_in01,382,382,4 script Guild Receptionist#hnt 732,{
|
||||
close;
|
||||
}
|
||||
else if (HNTR_Q >= 3 && HNTR_Q <= 9) {
|
||||
if (checkre(RENEWAL) == true)
|
||||
if (checkre(0) == true)
|
||||
.@i = 1;
|
||||
switch(HNTR_Q) {
|
||||
case 3:
|
||||
|
@ -315,7 +315,7 @@ function script F_KafTele {
|
||||
else if (@wrpD$[.@j] == "Comodo Pharos Beacon") warp "cmd_fild07", 127, 134;
|
||||
else if (@wrpD$[.@j] == "Geffen") warp "geffen", 120, 39;
|
||||
else if (@wrpD$[.@j] == "Izlude") {
|
||||
if (checkre(RENEWAL) == true)
|
||||
if (checkre(0) == true)
|
||||
warp "izlude", 128, 98;
|
||||
else
|
||||
warp "izlude", 91, 105;
|
||||
@ -340,7 +340,7 @@ function script F_KafCart {
|
||||
mes "[Kafra Employee]";
|
||||
mes "I'm sorry, but the";
|
||||
mes "Pushcart rental service";
|
||||
if (checkre(RENEWAL) == true)
|
||||
if (checkre(0) == true)
|
||||
mes "is only available to Merchant classes.";
|
||||
else {
|
||||
mes "is only available to Merchants,";
|
||||
|
Loading…
x
Reference in New Issue
Block a user