sisgurogames Posted November 5, 2020 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 10 Reputation: 0 Joined: 05/19/20 Last Seen: June 5, 2021 Share Posted November 5, 2020 Hi, When entering warp, there is 5 seconds delay on which you cannot be attacked. How to set-it up so players can be dispel after entering the portal. Thanks! SiguRO Games Quote Link to comment Share on other sites More sharing options...
0 Royr Posted November 6, 2020 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 90 Reputation: 34 Joined: 10/01/18 Last Seen: January 9, 2023 Share Posted November 6, 2020 5 hours ago, sisgurogames said: Hi, When entering warp, there is 5 seconds delay on which you cannot be attacked. How to set-it up so players can be dispel after entering the portal. Thanks! SiguRO Games Just give a try didn't test. // Credits: Stolao function script dispell_Function { while( .@STATUS < 297 ) { if( .@STATUS != SC_WEIGHT50 && .@STATUS != SC_WEIGHT90 && .@STATUS != SC_NOCHAT && .@STATUS != SC_XMAS && .@STATUS != SC_SUMMER && .@STATUS != SC_JAILED && .@STATUS != SC_STRFOOD && .@STATUS != SC_AGIFOOD && .@STATUS != SC_VITFOOD && .@STATUS != SC_INTFOOD && .@STATUS != SC_DEXFOOD && .@STATUS != SC_LUKFOOD && .@STATUS != SC_FLEEFOOD && .@STATUS != SC_BATKFOOD && .@STATUS != SC_WATKFOOD && .@STATUS != SC_MATKFOOD && .@STATUS != SC_SCRESIST && .@STATUS != SC_EXPBOOST && .@STATUS != SC_ITEMBOOST && .@STATUS != SC_BOSSMAPINFO && .@STATUS != SC_LIFEINSURANCE && .@STATUS != SC_JEXPBOOST ) sc_end .@STATUS; .@STATUS++; } return; } // Sample Script geffen, 119, 71, 0 script TestWarp#Sample 45,2,2,{ end; OnTouch: mes "[ Portal ]"; mes "^FF0000WARNING: Once you entered automatically dispelled.^000000"; close2; warp "geffen",119,78; sleep2 2; setpcblock PCBLOCK_IMMUNE|PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM, true; dispbottom "DEBUG: TRUE"; dispell_Function(); addtimer 5000,strnpcinfo(0)+"::OnPass"; end; OnPass: dispbottom "DEBUG: FALSE"; setpcblock PCBLOCK_IMMUNE|PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM, false; end; } 1 Quote Link to comment Share on other sites More sharing options...
0 sisgurogames Posted November 7, 2020 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 10 Reputation: 0 Joined: 05/19/20 Last Seen: June 5, 2021 Author Share Posted November 7, 2020 Thanks Drops, I appreciate your response. What i need is that a Sage can DISPELL a monk during the 5 seconds immunity because of the warp. Thanks! Siguro Games Quote Link to comment Share on other sites More sharing options...
0 Royr Posted November 7, 2020 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 90 Reputation: 34 Joined: 10/01/18 Last Seen: January 9, 2023 Share Posted November 7, 2020 (edited) 7 hours ago, sisgurogames said: Thanks Drops, I appreciate your response. What i need is that a Sage can DISPELL a monk during the 5 seconds immunity because of the warp. Thanks! Siguro Games You never mentioned that in your post. 1. Why would you need the MONK to be dispell in the first place? when "ENTERING THE PORTAL" they'll automatically be dispelled. They can't even use any skills after the 5 second(s).https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L6201 Everything explains here. setpcblock PCBLOCK_IMMUNE|PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM, true; 2. Edited November 7, 2020 by Royr Quote Link to comment Share on other sites More sharing options...
0 sisgurogames Posted November 7, 2020 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 10 Reputation: 0 Joined: 05/19/20 Last Seen: June 5, 2021 Author Share Posted November 7, 2020 We do not want all players to be dispelled when entering the portal. Quote Link to comment Share on other sites More sharing options...
0 Royr Posted November 7, 2020 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 90 Reputation: 34 Joined: 10/01/18 Last Seen: January 9, 2023 Share Posted November 7, 2020 Just now, sisgurogames said: We do not want all players to be dispelled when entering the portal. If you don't like your players to be dispelled simply remove the function . dispell_Function(); Quote Link to comment Share on other sites More sharing options...
Question
sisgurogames
Hi,
When entering warp, there is 5 seconds delay on which you cannot be attacked.
How to set-it up so players can be dispel after entering the portal.
Thanks!
SiguRO Games
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.