- Some adjustments so that the last-skill-used will be correctly cleared when your combo-time ends.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8101 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex
2006-08-03 15:30:48 +00:00
parent b34ef7be7c
commit 5f6f6ff55e
2 changed files with 5 additions and 3 deletions

View File

@@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/08/03
* Some adjustments so that the last-skill-used will be correctly cleared
when your combo-time ends. [Skotlex]
* Fix a bug in atcommand_charspeed [Toms]
* Fixed a logic error preventing from cooking anything [DracoRPG]
* Cleaned up the last NJ update code. [Skotlex]

View File

@@ -1892,11 +1892,11 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds
case TK_STORMKICK:
case TK_DOWNKICK:
case TK_COUNTER:
//set this skill as previous one.
sd->skillid_old = skillid;
sd->skilllv_old = skilllv;
if (pc_famerank(sd->char_id,MAPID_TAEKWON))
{ //Extend combo time.
sd->skillid_old = skillid; //Set as previous so you can't repeat
sd->skilllv_old = skilllv;
sd->sc.data[SC_COMBO].val1 = skillid; //Update combo-skill
delete_timer(sd->sc.data[SC_COMBO].timer, status_change_timer);
sd->sc.data[SC_COMBO].timer = add_timer(
tick+sd->sc.data[SC_COMBO].val4,