From bae7e9a5430c0df68cc7172995ddfde47169b484 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 1 Feb 2020 17:54:52 +0000 Subject: Extend SI table as needed for serverdata!222 (Original code from ML - Please blame Saulc if anything breaks) --- src/emap/enum/esitype.h | 11 +++++++++++ src/emap/status.c | 11 +++++++++++ 2 files changed, 22 insertions(+) (limited to 'src/emap') 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; } -- cgit v1.2.3-70-g09d2