added missing OnTouch to Guild Wars script. removed extra set @xxxx
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10674 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
13ec24b95d
commit
1b6f10f6b6
@ -1,5 +1,7 @@
|
|||||||
Date Added
|
Date Added
|
||||||
======
|
======
|
||||||
|
2007/06/04
|
||||||
|
* Added missing OnTouch to Prontera "Guild Treasure room guard" [Lupus]
|
||||||
2007/06/03
|
2007/06/03
|
||||||
* Rev. 10669 Updated 2006 headgear quests to semi-official dialog. [L0ne_W0lf]
|
* Rev. 10669 Updated 2006 headgear quests to semi-official dialog. [L0ne_W0lf]
|
||||||
* Various updates to the various guild Castle scripts. [L0ne_W0lf[
|
* Various updates to the various guild Castle scripts. [L0ne_W0lf[
|
||||||
|
@ -96,6 +96,5 @@ function script F_GldTreasSw {
|
|||||||
// Treasure Room Protrection
|
// Treasure Room Protrection
|
||||||
//===============================================================
|
//===============================================================
|
||||||
function script F_TreasProtect {
|
function script F_TreasProtect {
|
||||||
set @GID, GetCastleData(getarg(0),1);
|
if (strcharinfo(0) != getguildmaster( GetCastleData(getarg(0),1) )) warp getarg(1),getarg(2),getarg(3);
|
||||||
if (strcharinfo(0) != getguildmaster(@GID)) warp getarg(1),getarg(2),getarg(3);
|
|
||||||
}
|
}
|
||||||
|
@ -105,6 +105,7 @@ prtg_cas03,193,130,0 script Switch#TresPt03 111,{
|
|||||||
|
|
||||||
// Treasure Room Protection ------------------------------------------------
|
// Treasure Room Protection ------------------------------------------------
|
||||||
prtg_cas03,189,132,0 script ban_warp#3 -1,6,6,{
|
prtg_cas03,189,132,0 script ban_warp#3 -1,6,6,{
|
||||||
|
OnTouch:
|
||||||
callfunc "F_TreasProtect", "prtg_cas03", "prontera",109,179;
|
callfunc "F_TreasProtect", "prtg_cas03", "prontera",109,179;
|
||||||
end;
|
end;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user