- Fixed a bug in Dancer Quest.
- Some fixes on guild2/schg_cas03.txt git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12937 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
724460c3e0
commit
ec69a21210
@ -896,7 +896,7 @@ OnGuardianStoneDied:
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
OnTimer300000:
|
OnTimer300000:
|
||||||
donpcevent "2nd Guardian Stone#sch03::OnGuardian";
|
donpcevent "2nd Guardian Stone#sch03::OnEnable";
|
||||||
setarray $agit_sc03[1],2; //Global Variable
|
setarray $agit_sc03[1],2; //Global Variable
|
||||||
stopnpctimer;
|
stopnpctimer;
|
||||||
end;
|
end;
|
||||||
@ -1075,7 +1075,7 @@ schg_cas03,376,250,0 script 2nd Guardian Stone#sch03 844,{
|
|||||||
mes "of a magic power conflict.^000000";
|
mes "of a magic power conflict.^000000";
|
||||||
close;
|
close;
|
||||||
case 2:
|
case 2:
|
||||||
mes "You placed the Yellow Gemstone.";
|
mes "^3355FFYou placed the Yellow Gemstone.^000000";
|
||||||
set .@nice,.@nice+10;
|
set .@nice,.@nice+10;
|
||||||
set .@roof0,.@roof0 + 1;
|
set .@roof0,.@roof0 + 1;
|
||||||
specialeffect 18; //"2nd Guardian Stone#sch03" EF_STEAL
|
specialeffect 18; //"2nd Guardian Stone#sch03" EF_STEAL
|
||||||
@ -1462,7 +1462,7 @@ schg_cas03,335,298,0 script control device01#sch03 111,{
|
|||||||
delitem 984,5; //Oridecon
|
delitem 984,5; //Oridecon
|
||||||
close2;
|
close2;
|
||||||
donpcevent "#sch03_RL01::OnEnable";
|
donpcevent "#sch03_RL01::OnEnable";
|
||||||
disablenpc "control device01#sch03";
|
disablenpc "Control Device01#sch03";
|
||||||
mapannounce "schg_cas03","The 1st Fortress Gate has been reconstructed!",bc_map,"0x00ff00";
|
mapannounce "schg_cas03","The 1st Fortress Gate has been reconstructed!",bc_map,"0x00ff00";
|
||||||
setarray $agit_sc03[2],0;
|
setarray $agit_sc03[2],0;
|
||||||
end;
|
end;
|
||||||
@ -1493,19 +1493,19 @@ schg_cas03,335,298,0 script control device01#sch03 111,{
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
OnInit:
|
OnInit:
|
||||||
disablenpc "control device01#sch03";
|
disablenpc "Control Device01#sch03";
|
||||||
end;
|
end;
|
||||||
|
|
||||||
OnEnable:
|
OnEnable:
|
||||||
enablenpc "control device01#sch03";
|
enablenpc "Control Device01#sch03";
|
||||||
end;
|
end;
|
||||||
|
|
||||||
OnDisable:
|
OnDisable:
|
||||||
disablenpc "control device01#sch03";
|
disablenpc "Control Device01#sch03";
|
||||||
end;
|
end;
|
||||||
}
|
}
|
||||||
|
|
||||||
schg_cas03,200,227,0 script control device02#sch03 111,{
|
schg_cas03,200,227,0 script Control Device02#sch03 111,{
|
||||||
set .@GID, GetCastleData("schg_cas03",1);
|
set .@GID, GetCastleData("schg_cas03",1);
|
||||||
if (getcharid(2) == .@GID) {
|
if (getcharid(2) == .@GID) {
|
||||||
if (strcharinfo(0) == getguildmaster(.@GID)) {
|
if (strcharinfo(0) == getguildmaster(.@GID)) {
|
||||||
@ -1699,11 +1699,11 @@ schg_cas03,200,227,0 script control device02#sch03 111,{
|
|||||||
delitem 984,5; //Oridecon
|
delitem 984,5; //Oridecon
|
||||||
close2;
|
close2;
|
||||||
donpcevent "#sch03_RL02::OnEnable";
|
donpcevent "#sch03_RL02::OnEnable";
|
||||||
disablenpc "control device02#sch03";
|
disablenpc "Control Device02#sch03";
|
||||||
mapannounce "schg_cas03","The 2nd Fortress Gate has been reconstructed!",bc_map,"0x00ff00";
|
mapannounce "schg_cas03","The 2nd Fortress Gate has been reconstructed!",bc_map,"0x00ff00";
|
||||||
setarray $agit_sc03[3],0; //Global Variable
|
setarray $agit_sc03[3],0; //Global Variable
|
||||||
setarray $agit_sc03[2],2; //Global Variable
|
setarray $agit_sc03[2],2; //Global Variable
|
||||||
donpcevent "control device01#sch03::OnEnable";
|
donpcevent "Control Device01#sch03::OnEnable";
|
||||||
end;
|
end;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -1732,19 +1732,19 @@ schg_cas03,200,227,0 script control device02#sch03 111,{
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
OnInit:
|
OnInit:
|
||||||
disablenpc "control device02#sch03";
|
disablenpc "Control Device02#sch03";
|
||||||
end;
|
end;
|
||||||
|
|
||||||
OnEnable:
|
OnEnable:
|
||||||
enablenpc "control device02#sch03";
|
enablenpc "Control Device02#sch03";
|
||||||
end;
|
end;
|
||||||
|
|
||||||
OnDisable:
|
OnDisable:
|
||||||
disablenpc "control device02#sch03";
|
disablenpc "Control Ddevice02#sch03";
|
||||||
end;
|
end;
|
||||||
}
|
}
|
||||||
|
|
||||||
schg_cas03,273,205,0 script control device03#sch03 111,{
|
schg_cas03,273,205,0 script Control Device03#sch03 111,{
|
||||||
set .@GID, GetCastleData("schg_cas03",1);
|
set .@GID, GetCastleData("schg_cas03",1);
|
||||||
if (getcharid(2) == .@GID) {
|
if (getcharid(2) == .@GID) {
|
||||||
if (strcharinfo(0) == getguildmaster(.@GID)) {
|
if (strcharinfo(0) == getguildmaster(.@GID)) {
|
||||||
@ -1938,11 +1938,11 @@ schg_cas03,273,205,0 script control device03#sch03 111,{
|
|||||||
delitem 984,5; //Oridecon
|
delitem 984,5; //Oridecon
|
||||||
close2;
|
close2;
|
||||||
donpcevent "#sch03_RL03::OnEnable";
|
donpcevent "#sch03_RL03::OnEnable";
|
||||||
disablenpc "control device03#sch03";
|
disablenpc "Control Device03#sch03";
|
||||||
mapannounce "schg_cas03","The 3rd Fortress Gate has been reconstructed!",bc_map,"0x00ff00";
|
mapannounce "schg_cas03","The 3rd Fortress Gate has been reconstructed!",bc_map,"0x00ff00";
|
||||||
setarray $agit_sc03[4],0;
|
setarray $agit_sc03[4],0;
|
||||||
setarray $agit_sc03[3],2;
|
setarray $agit_sc03[3],2;
|
||||||
donpcevent "control device02#sch03::OnEnable";
|
donpcevent "Control Device02#sch03::OnEnable";
|
||||||
end;
|
end;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -1971,15 +1971,15 @@ schg_cas03,273,205,0 script control device03#sch03 111,{
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
OnInit:
|
OnInit:
|
||||||
disablenpc "control device03#sch03";
|
disablenpc "Control Device03#sch03";
|
||||||
end;
|
end;
|
||||||
|
|
||||||
OnEnable:
|
OnEnable:
|
||||||
enablenpc "control device03#sch03";
|
enablenpc "Control Device03#sch03";
|
||||||
end;
|
end;
|
||||||
|
|
||||||
OnDisable:
|
OnDisable:
|
||||||
disablenpc "control device03#sch03";
|
disablenpc "Control Device03#sch03";
|
||||||
end;
|
end;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2055,7 +2055,7 @@ schg_cas03,346,199,0 script LF-04#schg_cas03 111,{
|
|||||||
case 1:
|
case 1:
|
||||||
warp "schg_cas03",266,263;
|
warp "schg_cas03",266,263;
|
||||||
end;
|
end;
|
||||||
case 3:
|
case 2:
|
||||||
close;
|
close;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2108,7 +2108,7 @@ schg_cas03,301,213,0 script LF-07#schg_cas03 111,{
|
|||||||
mes "Teleport Service. Please";
|
mes "Teleport Service. Please";
|
||||||
mes "choose a destination";
|
mes "choose a destination";
|
||||||
mes "within the stronghold.^000000";
|
mes "within the stronghold.^000000";
|
||||||
switch(select("Gate House Fork:Cancel")) {
|
switch(select("Area 1-2:Area 2-2:Area 3-2:Cancel")) {
|
||||||
case 1:
|
case 1:
|
||||||
warp "schg_cas03",262,323;
|
warp "schg_cas03",262,323;
|
||||||
end;
|
end;
|
||||||
@ -2140,7 +2140,7 @@ schg_cas03,301,209,0 script LF-08#schg_cas03 111,{
|
|||||||
warp "schg_cas03",348,292;
|
warp "schg_cas03",348,292;
|
||||||
end;
|
end;
|
||||||
case 3:
|
case 3:
|
||||||
warp "schg_cas03",226,263;
|
warp "schg_cas03",326,263;
|
||||||
end;
|
end;
|
||||||
case 4:
|
case 4:
|
||||||
close;
|
close;
|
||||||
|
@ -293,8 +293,8 @@ job_duncer,43,93,4 script Aile#da 724,{
|
|||||||
setarray .@count[0], 2,5,20,10,1;
|
setarray .@count[0], 2,5,20,10,1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
set .@size, (getarraysize(.@item)-1);
|
set .@size, getarraysize(.@item);
|
||||||
for( set .@i,0 ; .@i <= .@size && countitem(.@item[.@i]) >= .@count[.@i] ; set .@i,.@i+1 );
|
for( set .@i, 0; .@i < .@size && countitem(.@item[.@i]) >= .@count[.@i]; set .@i, .@i + 1 );
|
||||||
if( .@i == .@size && Zeny > 9999 ) {
|
if( .@i == .@size && Zeny > 9999 ) {
|
||||||
cutin "job_dancer_eir02",2;
|
cutin "job_dancer_eir02",2;
|
||||||
mes "[Aile]";
|
mes "[Aile]";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user