diff options
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/map/skill.c | 9 |
2 files changed, 9 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 57be3cbaa..d9f53fa03 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EVERYTHING ELSE
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS
+2006/03/16
+ * Restricted GS_BULLSEYE to only be used on demi-human or brute monster targets [MasterOfMuppets]
2006/03/15
* mob_chat_sub fix. Added buildin_pcblockmove. [Lance]
* BL_PC and BL_MOB control script commands (experimental) [Lance]
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:
|