I’m trying to figure out how to block a specific skill for all players when my event starts automatically. For example, I want to stop everyone from using the Warp Skill during the event.
I found the pcblockskill function, which lets you prevent a specific character from casting all his skills. It looks like this:
// Prevents the current char from casting skills.
pcblockskill getcharid(3),1;
But it only works when attached to a player and for one player at a time.
What I really need know is a way to block a skill ID (like the Warp Skill) for everyone at once when the event kicks off.
Does anyone know how I can do this in rAthena? I’d really appreciate any tips or examples!
Question
Jinun
Hello,
I’m trying to figure out how to block a specific skill for all players when my event starts automatically. For example, I want to stop everyone from using the Warp Skill during the event.
I found the
pcblockskill
function, which lets you prevent a specific character from casting all his skills. It looks like this:// Prevents the current char from casting skills. pcblockskill getcharid(3),1;
But it only works when attached to a player and for one player at a time.
What I really need know is a way to block a skill ID (like the Warp Skill) for everyone at once when the event kicks off.
Does anyone know how I can do this in rAthena? I’d really appreciate any tips or examples!
Link to comment
Share on other sites
8 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.