Pintados Festival never ends.
This commit is contained in:
Atemo 2016-06-13 15:42:14 +02:00
parent f61535b819
commit aed00e0b33

View File

@ -3,7 +3,7 @@
//===== By: ================================================== //===== By: ==================================================
//= Euphy //= Euphy
//===== Current Version: ===================================== //===== Current Version: =====================================
//= 1.2 //= 1.3
//===== Compatible With: ===================================== //===== Compatible With: =====================================
//= rAthena Project //= rAthena Project
//===== Description: ========================================= //===== Description: =========================================
@ -23,6 +23,7 @@
//= 1.0 Added "Nurse in Port Malaya" and "Pintados Festival" quests. [Euphy] //= 1.0 Added "Nurse in Port Malaya" and "Pintados Festival" quests. [Euphy]
//= 1.1 Added GM management function and NPC. [Euphy] //= 1.1 Added GM management function and NPC. [Euphy]
//= 1.2 Added VIP features. [Euphy] //= 1.2 Added VIP features. [Euphy]
//= 1.3 Fixed Pintados Festival never ends. [Capuche]
//============================================================ //============================================================
// Cautious Village & Daily Quests :: hi_malaya // Cautious Village & Daily Quests :: hi_malaya
@ -8328,16 +8329,16 @@ ma_fild01,1,1,4 script Pintados Manager#pin 894,{
end; end;
// Moved to individual NPCs for smoother processing. // Moved to individual NPCs for smoother processing.
//OnInit: OnInit:
// if ($malaya_pintados_00 > 0) if ($malaya_pintados_00 > 0) {
// donpcevent "Pintados Manager#pin::OnEnableNPC"; // donpcevent "Pintados Manager#pin::OnEnableNPC";
// end; initnpctimer;// unoffical fix
}
end;
OnTimer1800000: OnTimer1800000:
set $malaya_pintados_00, $malaya_pintados_00;
if ($malaya_pintados_00 > 0 && $malaya_pintados_00 < 344) { if ($malaya_pintados_00 > 0 && $malaya_pintados_00 < 344) {
set $malaya_pintados_00,$malaya_pintados_00+1; set $malaya_pintados_00,$malaya_pintados_00+1;
stopnpctimer;
initnpctimer; initnpctimer;
} else { } else {
set $malaya_pintados_00,0; set $malaya_pintados_00,0;
@ -8563,7 +8564,7 @@ ma_fild01,179,260,2 script Festival Helper Boy#pin 577,{
close; close;
} }
mes "[Isco]"; mes "[Isco]";
mes .@str$+"! How many Scarlet Dyestuffs can you give me from the "+countitem(.@item)+" you have?"; mes .@str$+"! How many "+ getitemname(.@item) +" can you give me from the "+countitem(.@item)+" you have?";
next; next;
switch(select("Enter Quantity:All")) { switch(select("Enter Quantity:All")) {
case 1: case 1: