- Updated Novice WoE script, follow-up to r15657 (bugreport:5653)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16012 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
33cad70492
commit
ac925c6f28
@ -63,7 +63,7 @@ function script F_AgitBreak {
|
|||||||
SetCastleData .@map$,1, .@GID;
|
SetCastleData .@map$,1, .@GID;
|
||||||
MapAnnounce .@map$,"The emperium has been destroyed.",bc_map,0x00CCFF;
|
MapAnnounce .@map$,"The emperium has been destroyed.",bc_map,0x00CCFF;
|
||||||
Announce "The [" + GetCastleName(.@map$) + "] castle has been conquered by the [" + GetGuildName(.@GID) + "] guild.",bc_all;
|
Announce "The [" + GetCastleName(.@map$) + "] castle has been conquered by the [" + GetGuildName(.@GID) + "] guild.",bc_all;
|
||||||
GetCastleData .@map$,0,"::OnRecvCastle"+.@castle$;
|
donpcevent "::OnRecvCastle"+.@castle$;
|
||||||
|
|
||||||
disablenpc "Kafra Staff#"+.@castle$;
|
disablenpc "Kafra Staff#"+.@castle$;
|
||||||
|
|
||||||
@ -97,7 +97,7 @@ function script F_AgitEnd {
|
|||||||
// Castle 1 ================================================================
|
// Castle 1 ================================================================
|
||||||
nguild_alde,0,0,0 script Agit_N01 -1,{
|
nguild_alde,0,0,0 script Agit_N01 -1,{
|
||||||
OnInterIfInitOnce:
|
OnInterIfInitOnce:
|
||||||
GetCastleData "nguild_alde",0,"::OnRecvCastleN01";
|
donpcevent "::OnRecvCastleN01";
|
||||||
end;
|
end;
|
||||||
OnRecvCastleN01:
|
OnRecvCastleN01:
|
||||||
RequestGuildInfo GetCastleData("nguild_alde",1);
|
RequestGuildInfo GetCastleData("nguild_alde",1);
|
||||||
@ -124,7 +124,7 @@ OnAgitEnd:
|
|||||||
// Castle 2 ================================================================
|
// Castle 2 ================================================================
|
||||||
nguild_gef,0,0,0 script Agit_N02 -1,{
|
nguild_gef,0,0,0 script Agit_N02 -1,{
|
||||||
OnInterIfInitOnce:
|
OnInterIfInitOnce:
|
||||||
GetCastleData "nguild_gef",0,"::OnRecvCastleN02";
|
donpcevent "::OnRecvCastleN02";
|
||||||
end;
|
end;
|
||||||
OnRecvCastleN02:
|
OnRecvCastleN02:
|
||||||
RequestGuildInfo GetCastleData("nguild_gef",1);
|
RequestGuildInfo GetCastleData("nguild_gef",1);
|
||||||
@ -151,7 +151,7 @@ OnAgitEnd:
|
|||||||
// Castle 3 ================================================================
|
// Castle 3 ================================================================
|
||||||
nguild_pay,0,0,0 script Agit_N03 -1,{
|
nguild_pay,0,0,0 script Agit_N03 -1,{
|
||||||
OnInterIfInitOnce:
|
OnInterIfInitOnce:
|
||||||
GetCastleData "nguild_pay",0,"::OnRecvCastleN03";
|
donpcevent "::OnRecvCastleN03";
|
||||||
end;
|
end;
|
||||||
OnRecvCastleN03:
|
OnRecvCastleN03:
|
||||||
RequestGuildInfo GetCastleData("nguild_pay",1);
|
RequestGuildInfo GetCastleData("nguild_pay",1);
|
||||||
@ -178,7 +178,7 @@ OnAgitEnd:
|
|||||||
// Castle 4 ================================================================
|
// Castle 4 ================================================================
|
||||||
nguild_prt,0,0,0 script Agit_N04 -1,{
|
nguild_prt,0,0,0 script Agit_N04 -1,{
|
||||||
OnInterIfInitOnce:
|
OnInterIfInitOnce:
|
||||||
GetCastleData "nguild_prt",0,"::OnRecvCastleN04";
|
donpcevent "::OnRecvCastleN04";
|
||||||
end;
|
end;
|
||||||
OnRecvCastleN04:
|
OnRecvCastleN04:
|
||||||
RequestGuildInfo GetCastleData("nguild_prt",1);
|
RequestGuildInfo GetCastleData("nguild_prt",1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user