summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-30 12:03:52 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-30 12:03:52 +0000
commit5e005fa9321149912ceb8568c8a1a7bab047e533 (patch)
treef49771d8faa584a2addbd1bc68316a1835c43951 /src/map/skill.c
parent3dabe8fda3dc7aa47ec26b2f5526e133eba7242a (diff)
downloadhercules-5e005fa9321149912ceb8568c8a1a7bab047e533.tar.gz
hercules-5e005fa9321149912ceb8568c8a1a7bab047e533.tar.bz2
hercules-5e005fa9321149912ceb8568c8a1a7bab047e533.tar.xz
hercules-5e005fa9321149912ceb8568c8a1a7bab047e533.zip
Added missing Tiger Knuckle Fist stun time
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@423 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 7676a1380..933a1a40a 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -1266,8 +1266,10 @@ int skill_additional_effect( struct block_list* src, struct block_list *bl,int s
// -- moonsoul (stun ability of new champion skill tigerfist)
//
case CH_TIGERFIST:
- if( rand()%100 < (10 + skilllv*10)*sc_def_vit/100 )
- skill_status_change_start(bl,SC_STAN,skilllv,0,0,0,skill_get_time2(skillid,skilllv),0);
+ if( rand()%100 < (10 + skilllv*10)*sc_def_vit/100 ) {
+ int sec = skill_get_time2 (skillid,skilllv) - (double)battle_get_agi(bl)*0.1;
+ skill_status_change_start(bl,SC_STAN,skilllv,0,0,0,sec,0);
+ }
break;
case LK_SPIRALPIERCE: