SN_SHARPSHOOTING (Focused Arrow Strike)

kyeme

High Council
Messages
500
Points
0
Github
kyeme
Emulator
How to make this skill can also target party and guildmates/ally?

I changed to Friend from Enemy in skill.conf but no luck..

    SkillType: {
       Friend: true
    }




Thanks.
 

 
Last edited by a moderator:
@vBrenth How about to target only the Party member (and Enemy) in your guilds.

example: 
  You and Player 2 (Player 2 is not in your party) = You cannot SharpShoot Player 2

  You and Player 3 (Player 3 is in your party) = You can target with Sharp Shoot Player 3

Thank you.

 
state &= ~BCT_GUILD;
state &= ~BCT_PARTY;


You can test by removing guild so it can only hit party?

 
It's not working. I can't hit my party members in my guilds.

 

Code:
		if (src && (map->list[m].flag.gvg_castle || map->list[m].flag.gvg)
			&& (battle->get_current_skill(src) == SN_SHARPSHOOTING)) {
			state |= BCT_ENEMY;
			state &= ~BCT_PARTY;
		}
 
Back
Top