summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-08 15:33:18 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-08 15:33:18 +0000
commit67560f093d726077d558479cee4e46af2c26d91d (patch)
treeccd598ca3253713235c1f69be29ccec88f870e66 /src/map/skill.c
parentbc5f5bce06657ed1899f9635d7d4b353a033569e (diff)
downloadhercules-67560f093d726077d558479cee4e46af2c26d91d.tar.gz
hercules-67560f093d726077d558479cee4e46af2c26d91d.tar.bz2
hercules-67560f093d726077d558479cee4e46af2c26d91d.tar.xz
hercules-67560f093d726077d558479cee4e46af2c26d91d.zip
- Removed config settings display_delay_skill_fail and display_snatcher_skill_fail, replaced them with display_skill_fail, which can be used to determine whether you hide ALL skill-failed messages, those from delay, those from Snatcher or those from Envenom (battle/skill.conf)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8186 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 929d4eb90..530d0ee99 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -1057,8 +1057,8 @@ int skill_additional_effect (struct block_list* src, struct block_list *bl, int
(skill*15 + 55) + pc_checkskill(sd,TF_STEAL)*10 > rand()%1000) {
if(pc_steal_item(sd,bl))
clif_skill_nodamage(src,bl,TF_STEAL,skill,1);
- else if (battle_config.display_snatcher_skill_fail)
- clif_skill_fail(sd,skillid,0,0);
+ else
+ clif_skill_fail(sd,RG_SNATCHER,0,0);
}
// Chance to trigger Taekwon kicks [Dralnu]
if(sd->sc.count && sd->sc.data[SC_COMBO].timer == -1) {