Selaa lähdekoodia

There go the status icons.
What is SI_MAEMI? Or rather, the icon in i_maemi.tga.

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

blackhole89 19 vuotta sitten
vanhempi
commit
1f037dd750
3 muutettua tiedostoa jossa 15 lisäystä ja 5 poistoa
  1. 2 0
      Changelog-Trunk.txt
  2. 5 5
      src/map/status.c
  3. 8 0
      src/map/status.h

+ 2 - 0
Changelog-Trunk.txt

@@ -5,6 +5,8 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.  EV
 GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS
 
 2006/03/09
+	* Added Gunslinger/Ninja Status Change icons. Somebody needs to look into
+	  them though for not all SCs have a matching SI. [blackhole89]
 	* Changed ITEM_NAME_LENGTH to 50. [Skotlex]
 	* Fixed stun's duration not getting reduced by vit + luk/3 [Skotlex]
 	* Fixed #itemlist not taking into consideration crafted/forged items and

+ 5 - 5
src/map/status.c

@@ -278,16 +278,16 @@ void initChangeTables(void) {
 	set_sc(WZ_SIGHTBLASTER,         SC_SIGHTBLASTER,        SI_SIGHTBLASTER);
 	set_sc(DC_WINKCHARM,            SC_WINKCHARM,           SI_WINKCHARM);
 	set_sc(MO_BALKYOUNG,            SC_STUN,                SI_BLANK);
-	//Until they're at right position - gs_set_sc- [Vicious]
-	set_sc(GS_MADNESSCANCEL,        SC_MADNESSCANCEL,       SI_BLANK);
-	set_sc(GS_ADJUSTMENT,           SC_ADJUSTMENT,          SI_BLANK);
+	//Until they're at right position - gs_set_sc- [Vicious] / some of these don't seem to have a status icon adequate [blackhole89]
+	set_sc(GS_MADNESSCANCEL,        SC_MADNESSCANCEL,       SI_MADNESSCANCEL);
+	set_sc(GS_ADJUSTMENT,           SC_ADJUSTMENT,          SI_ADJUSTMENT);
 	set_sc(GS_INCREASING,           SC_INCREASING,          SI_BLANK);
-	set_sc(GS_GATLINGFEVER,         SC_GATLINGFEVER,        SI_BLANK);
+	set_sc(GS_GATLINGFEVER,         SC_GATLINGFEVER,        SI_GATLINGFEVER);
 	set_sc(NJ_TATAMIGAESHI,         SC_TATAMIGAESHI,        SI_BLANK);
 	set_sc(NJ_UTSUSEMI,             SC_UTSUSEMI,            SI_BLANK);
 	set_sc(NJ_KAENSIN,              SC_KAENSIN,             SI_BLANK);
 	set_sc(NJ_SUITON,               SC_SUITON,              SI_BLANK);
-	set_sc(NJ_NEN,                  SC_NEN,                 SI_BLANK);
+	set_sc(NJ_NEN,                  SC_NEN,                 SI_NEN);
 
 	// Storing the target job rather than simply SC_SPIRIT simplifies code later on.
 	SkillStatusChangeTable[SL_ALCHEMIST] =   MAPID_ALCHEMIST,

+ 8 - 0
src/map/status.h

@@ -371,6 +371,14 @@ enum {
 	SI_WINKCHARM		= 199,
 	SI_CLOSECONFINE		= 200,
 	SI_CLOSECONFINE2	= 201,
+	SI_MADNESSCANCEL	= 203,	//[blackhole89]
+	SI_GATLINGFEVER		= 204,
+	// 205 = Gloria again
+	SI_MAEMI			= 206,
+	// 207 = crash
+	SI_NEN				= 208,
+	SI_ADJUSTMENT		= 209,
+	SI_ACCURACY			= 210
 };
 extern int StatusIconChangeTable[];