summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog.txt1
-rw-r--r--src/map/skill.c6
2 files changed, 5 insertions, 2 deletions
diff --git a/Changelog.txt b/Changelog.txt
index 91e5af76f..e6bc82398 100644
--- a/Changelog.txt
+++ b/Changelog.txt
@@ -7,6 +7,7 @@ Date Added
- Updated Weapon Repair :- uses different materials depending on repaired item
(Iron Ore/Iron/Steel/Rough Oridecon)
- Fixed sp recovery problem, thanks to OutSider for pointing it out
+ - Updated Tiger Knuckle Fist stun time
11/29
* Fixed crash in src/char_sql/char.c when setting chars offline [MouseJstr]
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: