Follow up r16557, fixed tabs in my commit (copy/paste fail, sorry).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16558 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
daegaladh 2012-08-02 11:00:24 +00:00
parent 47e59df253
commit 629b4aa612

View File

@ -14,22 +14,22 @@
//= 1.1 Reverted back and optimized. [Daegaladh]
//============================================================
- script Gld_Trea_Protect::Gld_Trea_Protect -1,{
- script Gld_Trea_Protect::Gld_Trea_Protect -1,{
OnTouch:
// Store the Guild ID of castle occupant.
set .@GID, getcastledata(strnpcinfo(2),1);
if (strcharinfo(0) != getguildmaster(.@GID)) {
if (compare(strnpcinfo(2),"aldeg"))
warp "aldebaran",143,112;
else if (compare(strnpcinfo(2),"gefg"))
warp "geffen",120,38;
else if (compare(strnpcinfo(2),"payg"))
warp "payon",100,100;
else if (compare(strnpcinfo(2),"prtg"))
warp "prontera",119,64;
}
end;
if (strcharinfo(0) != getguildmaster(.@GID)) {
if (compare(strnpcinfo(2),"aldeg"))
warp "aldebaran",143,112;
else if (compare(strnpcinfo(2),"gefg"))
warp "geffen",120,38;
else if (compare(strnpcinfo(2),"payg"))
warp "payon",100,100;
else if (compare(strnpcinfo(2),"prtg"))
warp "prontera",119,64;
}
end;
}
prtg_cas01,11,208,0 duplicate(Gld_Trea_Protect) ban_warp#prtg_cas01 -1,6,6