summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-01-08 03:49:44 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-01-08 03:49:44 +0000
commitaaca2ea1b3c25e29fed6a51e999b662192d92d36 (patch)
treebc6a47cea6c1df80158e2adab3e0b0aa2a3c3227 /src/map/skill.c
parentfbd1469bd30b81cddafb69e447db73954edf962f (diff)
downloadhercules-aaca2ea1b3c25e29fed6a51e999b662192d92d36.tar.gz
hercules-aaca2ea1b3c25e29fed6a51e999b662192d92d36.tar.bz2
hercules-aaca2ea1b3c25e29fed6a51e999b662192d92d36.tar.xz
hercules-aaca2ea1b3c25e29fed6a51e999b662192d92d36.zip
* Remove some unnecessary checks in battle.c
* Added some checks to prevent novices still allowed to attack when using Trick Dead git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@936 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index cf99a8615..69033f716 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -9749,6 +9749,9 @@ int skill_status_change_start(struct block_list *bl, int type, int val1, int val
calc_flag = 1;
break;
case SC_TRICKDEAD: /* 死んだふり */
+ if (bl->type == BL_PC) {
+ pc_stopattack((struct map_session_data *)sd);
+ }
break;
case SC_QUAGMIRE: /* クァグマイア */
calc_flag = 1;