Forráskód Böngészése

- Reverted the previous change, chasewalk has no icon, only the str-bonus has that fist icon now.
- Allowed chase-walk to display a skill animation when using it.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8115 54d463be-8e91-2dee-dedb-b68131a5f0ec

skotlex 19 éve
szülő
commit
b0d9f8bbd3
4 módosított fájl, 7 hozzáadás és 3 törlés
  1. 3 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/skill.c
  3. 2 1
      src/map/status.c
  4. 1 1
      src/map/status.h

+ 3 - 0
Changelog-Trunk.txt

@@ -3,6 +3,9 @@ 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
+	* Reverted the previous change, chasewalk has no icon, only the str-bonus
+	  has that fist icon now. [Skotlex]
+	* Allowed chase-walk to display a skill animation when using it. [Skotlex]
 	* Readjusted the Chasewalk icon to be as it should be. [Skotlex]
 	* GS_DESPERADO is now a short-range attack skill. [Skotlex]
 	* Changed the Battle-Orders icon to be the Strength Up icon (for

+ 1 - 1
src/map/skill.c

@@ -4193,7 +4193,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
 			i = status_change_end(bl, type, -1);
 		else
 			i = sc_start(bl,type,100,skilllv,skill_get_time(skillid,skilllv));
-		clif_skill_nodamage(src,bl,skillid,-1,i); // Don't display the skill name as it is a hiding skill
+		clif_skill_nodamage(src,bl,skillid,skilllv,i);
 		break;
 	case TK_RUN:
 			if (tsc && tsc->data[type].timer != -1)

+ 2 - 1
src/map/status.c

@@ -293,7 +293,7 @@ void initChangeTables(void) {
 	set_sc(SN_WINDWALK, SC_WINDWALK, SI_WINDWALK, SCB_FLEE|SCB_SPEED);
 	set_sc(WS_MELTDOWN, SC_MELTDOWN, SI_MELTDOWN, SCB_NONE);
 	set_sc(WS_CARTBOOST, SC_CARTBOOST, SI_CARTBOOST, SCB_SPEED);
-	set_sc(ST_CHASEWALK, SC_CHASEWALK, SI_CHASEWALK, SCB_SPEED);
+	set_sc(ST_CHASEWALK, SC_CHASEWALK, SI_BLANK, SCB_SPEED);
 	set_sc(ST_REJECTSWORD, SC_REJECTSWORD, SI_REJECTSWORD, SCB_NONE);
 	add_sc(ST_REJECTSWORD, SC_AUTOCOUNTER);
 	set_sc(CG_MOONLIT, SC_MOONLIT, SI_MOONLIT, SCB_NONE);
@@ -405,6 +405,7 @@ void initChangeTables(void) {
 	StatusIconChangeTable[SC_ASPDPOTION3] = SI_ASPDPOTION;
 	StatusIconChangeTable[SC_SPEEDUP0] = SI_SPEEDPOTION1;
 	StatusIconChangeTable[SC_SPEEDUP1] = SI_SPEEDPOTION2;
+	StatusIconChangeTable[SC_INCSTR] = SI_INCSTR;
 	StatusIconChangeTable[SC_MIRACLE] = SI_SPIRIT;
 		
 	//Other SC which are not necessarily associated to skills.

+ 1 - 1
src/map/status.h

@@ -381,7 +381,7 @@ enum {
 	SI_MOON_COMFORT		= 170,	
 	SI_STAR_COMFORT		= 171,	
 	SI_PRESERVE		= 181,
-	SI_CHASEWALK	= 182,
+	SI_INCSTR	= 182,
 	SI_INTRAVISION	= 184, //WTF?? creates the black shape of 4_m_02 NPC, with NPC talk cursor. Supposedly intravision shows this.
 	SI_DOUBLECAST		= 186,
 	SI_MAXOVERTHRUST	= 188,