diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-14 21:21:05 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-14 21:21:05 +0000 |
commit | ea18ac665ccb101300a532f56702d351da133bac (patch) | |
tree | 4cdcd0e01f134d0334d24889d58d4f53b8ecc7d8 /src/map/status.c | |
parent | 5009ef5ed0113460cd7ea8591a948c76dc45821d (diff) | |
download | hercules-ea18ac665ccb101300a532f56702d351da133bac.tar.gz hercules-ea18ac665ccb101300a532f56702d351da133bac.tar.bz2 hercules-ea18ac665ccb101300a532f56702d351da133bac.tar.xz hercules-ea18ac665ccb101300a532f56702d351da133bac.zip |
Fixed @duel problem with Kaizel, bugreport:4795
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15115 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c index 7adc96adc..761287e2e 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1435,6 +1435,8 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, int if(tsc && tsc->count) { + if( tsc->data[SC_INVINCIBLE] ) + return 0; if(!skill_num && !(status->mode&MD_BOSS) && tsc->data[SC_TRICKDEAD]) return 0; if((skill_num == WZ_STORMGUST || skill_num == WZ_FROSTNOVA || skill_num == NJ_HYOUSYOURAKU) |