summaryrefslogtreecommitdiff
path: root/src/emap
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-01 17:54:52 +0000
committerJesusaves <cpntb1@ymail.com>2020-02-01 17:54:52 +0000
commit541d4d8b90907d0657855fc5ea3b2626dd2ac16b (patch)
tree7e5cffabab48694b4af3202726312ec406e479c4 /src/emap
parent63068d47650898f292aea877ce797e11c3f3404f (diff)
parentbae7e9a5430c0df68cc7172995ddfde47169b484 (diff)
downloadplugin-541d4d8b90907d0657855fc5ea3b2626dd2ac16b.tar.gz
plugin-541d4d8b90907d0657855fc5ea3b2626dd2ac16b.tar.bz2
plugin-541d4d8b90907d0657855fc5ea3b2626dd2ac16b.tar.xz
plugin-541d4d8b90907d0657855fc5ea3b2626dd2ac16b.zip
Merge branch 'jesusalva/extendsi' into 'master'
Extend SI table as needed for serverdata!222 See merge request evol/evol-hercules!19
Diffstat (limited to 'src/emap')
-rw-r--r--src/emap/enum/esitype.h11
-rw-r--r--src/emap/status.c11
2 files changed, 22 insertions, 0 deletions
diff --git a/src/emap/enum/esitype.h b/src/emap/enum/esitype.h
index d1213ad..2791bd4 100644
--- a/src/emap/enum/esitype.h
+++ b/src/emap/enum/esitype.h
@@ -7,6 +7,17 @@
enum esi_type
{
SI_PHYSICAL_SHIELD = 966,
+ //SI_EVOL_INCSTR = 970,
+ SI_EVOL_INCAGI = 971,
+ SI_EVOL_INCVIT = 972,
+ SI_EVOL_INCINT = 973,
+ SI_EVOL_INCDEX = 974,
+ SI_EVOL_INCLUK = 975,
+ SI_EVOL_INCHIT = 976,
+ SI_EVOL_INCFLEE = 977,
+ SI_EVOL_WALKSPEED = 978,
+ SI_EVOL_INCMHPRATE = 979,
+ SI_EVOL_INCMSPRATE = 980,
};
#endif // EVOL_MAP_ENUM_ESITYPE
diff --git a/src/emap/status.c b/src/emap/status.c
index 636a620..8dafaab 100644
--- a/src/emap/status.c
+++ b/src/emap/status.c
@@ -46,6 +46,17 @@ void eInitChangeTables(void)
SI_PHYSICAL_SHIELD,
SCB_DEF | SCB_DEF2 | SCB_ASPD);
+ status->dbs->IconChangeTable[SC_INCAGI] = SI_EVOL_INCAGI;
+ status->dbs->IconChangeTable[SC_INCVIT] = SI_EVOL_INCVIT;
+ status->dbs->IconChangeTable[SC_INCINT] = SI_EVOL_INCINT;
+ status->dbs->IconChangeTable[SC_INCDEX] = SI_EVOL_INCDEX;
+ status->dbs->IconChangeTable[SC_INCLUK] = SI_EVOL_INCLUK;
+
+ status->dbs->IconChangeTable[SC_INCHIT] = SI_EVOL_INCHIT;
+ status->dbs->IconChangeTable[SC_INCFLEE] = SI_EVOL_INCFLEE;
+ status->dbs->IconChangeTable[SC_WALKSPEED] = SI_EVOL_WALKSPEED;
+ status->dbs->IconChangeTable[SC_INCMHPRATE] = SI_EVOL_INCMHPRATE;
+ status->dbs->IconChangeTable[SC_INCMSPRATE] = SI_EVOL_INCMSPRATE;
// status->dbs->DisplayType[SC_PHYSICAL_SHIELD] = true;
}