diff options
author | masao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-13 21:37:44 +0000 |
---|---|---|
committer | masao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-13 21:37:44 +0000 |
commit | 725ec02b01ed0dbc2f2ae50139b0d56d7bedb7a2 (patch) | |
tree | 24d4aa9a18e901e45a5cfeb6d6c2c4f236dd8fe9 | |
parent | 93dd8ad5d0d9e1888ff4b32afa1fb09dbdd80be9 (diff) | |
download | hercules-725ec02b01ed0dbc2f2ae50139b0d56d7bedb7a2.tar.gz hercules-725ec02b01ed0dbc2f2ae50139b0d56d7bedb7a2.tar.bz2 hercules-725ec02b01ed0dbc2f2ae50139b0d56d7bedb7a2.tar.xz hercules-725ec02b01ed0dbc2f2ae50139b0d56d7bedb7a2.zip |
- Follow up r16107 .
* Fixed the additional check for Players in a Party.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16111 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | npc/instances/EndlessTower.txt | 4 | ||||
-rw-r--r-- | npc/instances/NydhoggsNest.txt | 4 | ||||
-rw-r--r-- | npc/instances/OrcsMemory.txt | 4 | ||||
-rw-r--r-- | npc/instances/SealedShrine.txt | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/npc/instances/EndlessTower.txt b/npc/instances/EndlessTower.txt index 43bde99a5..06a287611 100644 --- a/npc/instances/EndlessTower.txt +++ b/npc/instances/EndlessTower.txt @@ -210,7 +210,7 @@ e_tower,81,105,0 script Tower Protection Stone 406,{ set .@md_name$,"Endless Tower"; set .@p_name2$,strcharinfo(0); - getpartymember(.@party_id),1; + getpartymember(.@party_id),2; set .@partymembercount,$@partymembercount; copyarray .@partymembername$[0],$@partymembername$[0],.@partymembercount; @@ -226,7 +226,7 @@ e_tower,81,105,0 script Tower Protection Stone 406,{ set .@dun_s,.@dun_ent_t - ((.@dun_h * 3600) + (.@dun_m * 60)); for(set .@i,0; .@i < .@partymembercount; set .@i,.@i+1){ - if(isloggedin($@partymemberaid[.@i],$@partymembercid[.@i])){ + if(isloggedin($@partymemberaid[.@i])){ set .@loggedin,.@loggedin+1; } } diff --git a/npc/instances/NydhoggsNest.txt b/npc/instances/NydhoggsNest.txt index 2ff7438a1..e80ed4b90 100644 --- a/npc/instances/NydhoggsNest.txt +++ b/npc/instances/NydhoggsNest.txt @@ -127,12 +127,12 @@ nyd_dun02,100,201,3 script Yggdrasil Gatekeeper 111,8,8,{ set .@leader,getpartyleader(.@party,2); set .@md_name$,"Nidhoggur's Nest"; - getpartymember(.@party),1; + getpartymember(.@party),2; set .@partymembercount,$@partymembercount; copyarray .@partymembername$[0],$@partymembername$[0],.@partymembercount; for(set .@i,0; .@i < .@partymembercount; set .@i,.@i+1){ - if(isloggedin($@partymemberaid[.@i],$@partymembercid[.@i])){ + if(isloggedin($@partymemberaid[.@i])){ set .@loggedin,.@loggedin+1; } } diff --git a/npc/instances/OrcsMemory.txt b/npc/instances/OrcsMemory.txt index d3b82f802..83a81b871 100644 --- a/npc/instances/OrcsMemory.txt +++ b/npc/instances/OrcsMemory.txt @@ -43,12 +43,12 @@ gef_fild10,242,202,0 script Dimensional Gorge Piece 406,{ set .@p_reader$,strcharinfo(0); set .@md_name$,"Orc's Memory"; - getpartymember(.@party_id),1; + getpartymember(.@party_id),2; set .@partymembercount,$@partymembercount; copyarray .@partymembername$[0],$@partymembername$[0],.@partymembercount; for(set .@i,0; .@i < .@partymembercount; set .@i,.@i+1){ - if(isloggedin($@partymemberaid[.@i],$@partymembercid[.@i])){ + if(isloggedin($@partymemberaid[.@i])){ set .@loggedin,.@loggedin+1; } } diff --git a/npc/instances/SealedShrine.txt b/npc/instances/SealedShrine.txt index 9ffa659fd..36b76f87f 100644 --- a/npc/instances/SealedShrine.txt +++ b/npc/instances/SealedShrine.txt @@ -91,7 +91,7 @@ monk_test,309,146,3 script Friar Patrick#edq 412,{ if (BaseLevel > 74) { set .@party_id,getcharid(1); - getpartymember(.@party_id),1; + getpartymember(.@party_id),2; set .@partymembercount,$@partymembercount; copyarray .@partymembername$[0],$@partymembername$[0],.@partymembercount; @@ -105,7 +105,7 @@ monk_test,309,146,3 script Friar Patrick#edq 412,{ //set .@ins_bapho_check2,checkquest(3045,PLAYTIME); for(set .@i,0; .@i < .@partymembercount; set .@i,.@i+1){ - if(isloggedin($@partymemberaid[.@i],$@partymembercid[.@i])){ + if(isloggedin($@partymemberaid[.@i])){ set .@loggedin,.@loggedin+1; } } |