From 0b071db9b1c8c475d7bf51700fbb45f6cb49d283 Mon Sep 17 00:00:00 2001 From: MasterOfMuppets Date: Thu, 16 Mar 2006 16:25:23 +0000 Subject: Restricted the use of GS_BULLSEYE to demi-human and brute targets. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5629 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/map/skill.c b/src/map/skill.c index f0e1b4a14..e094ac595 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3095,8 +3095,13 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl,int s skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,flag); break; case GS_BULLSEYE: - //race check - skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,flag); + { + int race = status_get_race(bl); + if(race == 2 || race == 7) + skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,flag); + else + clif_skill_fail(sd,skillid,0,0); + } break; case GS_DESPERADO: case GS_SPREADATTACK: -- cgit v1.2.3-70-g09d2