diff options
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 9 |
1 files changed, 7 insertions, 2 deletions
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:
|