Explorar o código

Effect State Update

rAthenaAPI %!s(int64=4) %!d(string=hai) anos
pai
achega
faadc80042
Modificáronse 2 ficheiros con 250 adicións e 4 borrados
  1. 120 0
      src/map/script_constants.hpp
  2. 130 4
      src/map/status.hpp

+ 120 - 0
src/map/script_constants.hpp

@@ -3508,12 +3508,18 @@
 	export_constant(EFST_KAUTE);
 	export_constant(EFST_JPNONLY_TACTICS);
 	export_constant(EFST_MADOGEAR);
+	export_constant(EFST_DEADLY_DEFEASANCE);
+	export_constant(EFST_CLIMAX_DES_HU);
+	export_constant(EFST_CLIMAX);
 	export_constant(EFST_LUXANIMA);
 	export_constant(EFST_BATH_FOAM_A);
 	export_constant(EFST_BATH_FOAM_B);
 	export_constant(EFST_BATH_FOAM_C);
 	export_constant(EFST_AROMA_OIL);
 	export_constant(EFST_REUSE_LIMIT_LUXANIMA);
+	export_constant(EFST_POWERFUL_FAITH);
+	export_constant(EFST_SINCERE_FAITH);
+	export_constant(EFST_FIRM_FAITH);
 	export_constant(EFST_AIRSHIP_PIPE);
 	export_constant(EFST_PIECES_OF_SHADOW);
 	export_constant(EFST_HELLS_PLANT_ARMOR);
@@ -3530,11 +3536,119 @@
 	export_constant(EFST_BIG_SCAR);
 	export_constant(EFST_VIGOR);
 	export_constant(EFST_PRESSURE);
+	export_constant(EFST_CLIMAX_EARTH);
+	export_constant(EFST_CLIMAX_BLOOM);
+	export_constant(EFST_CLIMAX_CRYIMP);
 	export_constant(EFST_MD_Me_Potion);
 	export_constant(EFST_MD_Ma_Potion);
 	export_constant(EFST_MD_Ta_Potion);
 	export_constant(EFST_MD_Ra_Potion);
+	export_constant(EFST_HOLY_OIL);
+	export_constant(EFST_CRYSTAL_IMPACT);
+	export_constant(EFST_SHADOW_EXCEED);
+	export_constant(EFST_DANCING_KNIFE);
+	export_constant(EFST_POTENT_VENOM);
+	export_constant(EFST_SHADOW_SCAR);
+	export_constant(EFST_E_SLASH_COUNT);
+	export_constant(EFST_MEDIALE);
+	export_constant(EFST_A_VITA);
+	export_constant(EFST_A_TELUM);
+	export_constant(EFST_PRE_ACIES);
+	export_constant(EFST_COMPETENTIA);
+	export_constant(EFST_GUARD_STANCE);
+	export_constant(EFST_ATTACK_STANCE);
+	export_constant(EFST_GUARDIAN_S);
+	export_constant(EFST_HANDICAPSTATE_DEEPBLIND);
+	export_constant(EFST_HANDICAPSTATE_DEEPSILENCE);
+	export_constant(EFST_HANDICAPSTATE_LASSITUDE);
+	export_constant(EFST_HANDICAPSTATE_FROSTBITE);
+	export_constant(EFST_HANDICAPSTATE_SWOONING);
+	export_constant(EFST_HANDICAPSTATE_LIGHTNINGSTRIKE);
+	export_constant(EFST_HANDICAPSTATE_CRYSTALLIZATION);
+	export_constant(EFST_HANDICAPSTATE_CONFLAGRATION);
+	export_constant(EFST_HANDICAPSTATE_MISFORTUNE);
+	export_constant(EFST_HANDICAPSTATE_DEADLYPOISON);
+	export_constant(EFST_HANDICAPSTATE_DEPRESSION);
+	export_constant(EFST_HANDICAPSTATE_HOLYFLAME);
+	export_constant(EFST_REBOUND_S);
+	export_constant(EFST_SHIELD_MASTERY);
+	export_constant(EFST_SPEAR_SWORD_M);
+	export_constant(EFST_HOLY_S);
+	export_constant(EFST_ULTIMATE_S);
+	export_constant(EFST_SPEAR_SCAR);
+	export_constant(EFST_SHIELD_POWER);
+	export_constant(EFST_RELIGIO);
+	export_constant(EFST_BENEDICTUM);
 	export_constant(EFST_MVPCARD_KIEL);
+	export_constant(EFST_FIRST_BRAND);
+	export_constant(EFST_SECOND_BRAND);
+	export_constant(EFST_SECOND_JUDGE);
+	export_constant(EFST_THIRD_EXOR_FLAME);
+	export_constant(EFST_FIRST_FAITH_POWER);
+	export_constant(EFST_AXE_STOMP);
+	export_constant(EFST_A_MACHINE);
+	export_constant(EFST_D_MACHINE);
+	export_constant(EFST_MT_M_MACHINE_OPERATOR);
+	export_constant(EFST_TWOAXEDEF);
+	export_constant(EFST_DAGGER_AND_BOW_M);
+	export_constant(EFST_MAGIC_SWORD_M);
+	export_constant(EFST_SHADOW_STRIP);
+	export_constant(EFST_ABYSS_DAGGER);
+	export_constant(EFST_ABYSSFORCEWEAPON);
+	export_constant(EFST_ABYSS_SLAYER);
+	export_constant(EFST_PROTECTSHADOWEQUIP);
+	export_constant(EFST_RESEARCHREPORT);
+	export_constant(EFST_BO_HELL_DUSTY);
+	export_constant(EFST_WINDSIGN);
+	export_constant(EFST_CRESCIVEBOLT);
+	export_constant(EFST_CALAMITYGALE);
+	export_constant(EFST_STAGE_MANNER);
+	export_constant(EFST_RETROSPECTION);
+	export_constant(EFST_MYSTIC_SYMPHONY);
+	export_constant(EFST_KVASIR_SONATA);
+	export_constant(EFST_SOUNDBLEND);
+	export_constant(EFST_GEF_NOCTURN);
+	export_constant(EFST_AIN_RHAPSODY);
+	export_constant(EFST_MUSICAL_INTERLUDE);
+	export_constant(EFST_JAWAII_SERENADE);
+	export_constant(EFST_PRON_MARCH);
+	export_constant(EFST_ROSEBLOSSOM);
+	export_constant(EFST_ACIDIFIED_ZONE_WATER);
+	export_constant(EFST_ACIDIFIED_ZONE_GROUND);
+	export_constant(EFST_ACIDIFIED_ZONE_WIND);
+	export_constant(EFST_ACIDIFIED_ZONE_FIRE);
+	export_constant(EFST_MAGIC_BOOK_M);
+	export_constant(EFST_SPELL_ENCHANTING);
+	export_constant(EFST_SUMMON_ELEMENTAL_ARDOR);
+	export_constant(EFST_SUMMON_ELEMENTAL_DILUVIO);
+	export_constant(EFST_SUMMON_ELEMENTAL_PROCELLA);
+	export_constant(EFST_SUMMON_ELEMENTAL_TERREMOTUS);
+	export_constant(EFST_SUMMON_ELEMENTAL_SERPENS);
+	export_constant(EFST_FLAMETECHNIC);
+	export_constant(EFST_FLAMETECHNIC_OPTION);
+	export_constant(EFST_FLAMEARMOR);
+	export_constant(EFST_FLAMEARMOR_OPTION);
+	export_constant(EFST_COLD_FORCE);
+	export_constant(EFST_COLD_FORCE_OPTION);
+	export_constant(EFST_CRYSTAL_ARMOR);
+	export_constant(EFST_CRYSTAL_ARMOR_OPTION);
+	export_constant(EFST_GRACE_BREEZE);
+	export_constant(EFST_GRACE_BREEZE_OPTION);
+	export_constant(EFST_EYES_OF_STORM);
+	export_constant(EFST_EYES_OF_STORM_OPTION);
+	export_constant(EFST_EARTH_CARE);
+	export_constant(EFST_EARTH_CARE_OPTION);
+	export_constant(EFST_STRONG_PROTECTION);
+	export_constant(EFST_STRONG_PROTECTION_OPTION);
+	export_constant(EFST_DEEP_POISONING);
+	export_constant(EFST_DEEP_POISONING_OPTION);
+	export_constant(EFST_POISON_SHIELD);
+	export_constant(EFST_POISON_SHIELD_OPTION);
+	export_constant(EFST_ABR_BATTLE_WARIOR);
+	export_constant(EFST_ABR_DUAL_CANNON);
+	export_constant(EFST_ABR_MOTHER_NET);
+	export_constant(EFST_ABR_INFINITY);
+	export_constant(EFST_ELEMENTAL_VEIL);
 	export_constant(EFST_HOMUN_TIME);
 	export_constant(EFST_POWER_ACCELERATION);
 	export_constant(EFST_MAX_HP_SP_AVOID);
@@ -3542,6 +3656,12 @@
 	export_constant(EFST_AID_PERIOD_POWER_ACCELERATION);
 	export_constant(EFST_AID_PERIOD_MAX_HP_SP_AVOID);
 	export_constant(EFST_AID_PERIOD_ADD_ALL_STATE);
+	export_constant(EFST_POISON_MIST);
+	export_constant(EFST_STONE_WALL);
+	export_constant(EFST_OVERBRANDREADY);
+	export_constant(EFST_SHIELDSPELL);
+	export_constant(EFST_CLOUD_POISON);
+	export_constant(EFST_SPORE_EXPLOSION_DEBUFF);
 /// @APIHOOK_END
 /// Do not modify code above this, since it will be automatically generated by the API again
 	export_constant(EFST_MAX);

+ 130 - 4
src/map/status.hpp

@@ -2036,6 +2036,9 @@ enum efst_types : short{
 	EFST_JPNONLY_TACTICS = 1147,
 
 	EFST_MADOGEAR = 1149,
+	EFST_DEADLY_DEFEASANCE,
+	EFST_CLIMAX_DES_HU,
+	EFST_CLIMAX,
 
 	EFST_LUXANIMA = 1154,
 	EFST_BATH_FOAM_A,
@@ -2043,8 +2046,10 @@ enum efst_types : short{
 	EFST_BATH_FOAM_C,
 	EFST_AROMA_OIL,
 	EFST_REUSE_LIMIT_LUXANIMA,
-
-	EFST_AIRSHIP_PIPE = 1163,
+	EFST_POWERFUL_FAITH,
+	EFST_SINCERE_FAITH,
+	EFST_FIRM_FAITH,
+	EFST_AIRSHIP_PIPE,
 	EFST_PIECES_OF_SHADOW,
 	EFST_HELLS_PLANT_ARMOR,
 	EFST_RELIEVE_DAMAGE,
@@ -2063,12 +2068,124 @@ enum efst_types : short{
 
 	EFST_PRESSURE = 1180,
 
-	EFST_MD_Me_Potion = 1185,
+	EFST_CLIMAX_EARTH = 1182,
+	EFST_CLIMAX_BLOOM,
+	EFST_CLIMAX_CRYIMP,
+	EFST_MD_Me_Potion,
 	EFST_MD_Ma_Potion,
 	EFST_MD_Ta_Potion,
 	EFST_MD_Ra_Potion,
 
-	EFST_MVPCARD_KIEL = 1229,
+	EFST_HOLY_OIL = 1190,
+	EFST_CRYSTAL_IMPACT,
+	EFST_SHADOW_EXCEED,
+	EFST_DANCING_KNIFE,
+	EFST_POTENT_VENOM,
+	EFST_SHADOW_SCAR,
+	EFST_E_SLASH_COUNT,
+	EFST_MEDIALE,
+	EFST_A_VITA,
+	EFST_A_TELUM,
+	EFST_PRE_ACIES,
+	EFST_COMPETENTIA,
+	EFST_GUARD_STANCE,
+	EFST_ATTACK_STANCE,
+	EFST_GUARDIAN_S,
+	EFST_HANDICAPSTATE_DEEPBLIND,
+	EFST_HANDICAPSTATE_DEEPSILENCE,
+	EFST_HANDICAPSTATE_LASSITUDE,
+	EFST_HANDICAPSTATE_FROSTBITE,
+	EFST_HANDICAPSTATE_SWOONING,
+	EFST_HANDICAPSTATE_LIGHTNINGSTRIKE,
+	EFST_HANDICAPSTATE_CRYSTALLIZATION,
+	EFST_HANDICAPSTATE_CONFLAGRATION,
+	EFST_HANDICAPSTATE_MISFORTUNE,
+	EFST_HANDICAPSTATE_DEADLYPOISON,
+	EFST_HANDICAPSTATE_DEPRESSION,
+	EFST_HANDICAPSTATE_HOLYFLAME,
+	EFST_REBOUND_S,
+	EFST_SHIELD_MASTERY,
+	EFST_SPEAR_SWORD_M,
+	EFST_HOLY_S,
+	EFST_ULTIMATE_S,
+	EFST_SPEAR_SCAR,
+	EFST_SHIELD_POWER,
+
+	EFST_RELIGIO = 1227,
+	EFST_BENEDICTUM,
+	EFST_MVPCARD_KIEL,
+	EFST_FIRST_BRAND,
+	EFST_SECOND_BRAND,
+	EFST_SECOND_JUDGE,
+	EFST_THIRD_EXOR_FLAME,
+	EFST_FIRST_FAITH_POWER,
+	EFST_AXE_STOMP,
+	EFST_A_MACHINE,
+	EFST_D_MACHINE,
+	EFST_MT_M_MACHINE_OPERATOR,
+	EFST_TWOAXEDEF,
+	EFST_DAGGER_AND_BOW_M,
+	EFST_MAGIC_SWORD_M,
+	EFST_SHADOW_STRIP,
+	EFST_ABYSS_DAGGER,
+	EFST_ABYSSFORCEWEAPON,
+	EFST_ABYSS_SLAYER,
+
+	EFST_PROTECTSHADOWEQUIP = 1247,
+	EFST_RESEARCHREPORT,
+	EFST_BO_HELL_DUSTY,
+	EFST_WINDSIGN,
+	EFST_CRESCIVEBOLT,
+	EFST_CALAMITYGALE,
+
+	EFST_STAGE_MANNER = 1254,
+	EFST_RETROSPECTION,
+	EFST_MYSTIC_SYMPHONY,
+	EFST_KVASIR_SONATA,
+	EFST_SOUNDBLEND,
+	EFST_GEF_NOCTURN,
+	EFST_AIN_RHAPSODY,
+	EFST_MUSICAL_INTERLUDE,
+	EFST_JAWAII_SERENADE,
+	EFST_PRON_MARCH,
+	EFST_ROSEBLOSSOM,
+
+	EFST_ACIDIFIED_ZONE_WATER = 1266,
+	EFST_ACIDIFIED_ZONE_GROUND,
+	EFST_ACIDIFIED_ZONE_WIND,
+	EFST_ACIDIFIED_ZONE_FIRE,
+	EFST_MAGIC_BOOK_M,
+	EFST_SPELL_ENCHANTING,
+	EFST_SUMMON_ELEMENTAL_ARDOR,
+	EFST_SUMMON_ELEMENTAL_DILUVIO,
+	EFST_SUMMON_ELEMENTAL_PROCELLA,
+	EFST_SUMMON_ELEMENTAL_TERREMOTUS,
+	EFST_SUMMON_ELEMENTAL_SERPENS,
+	EFST_FLAMETECHNIC,
+	EFST_FLAMETECHNIC_OPTION,
+	EFST_FLAMEARMOR,
+	EFST_FLAMEARMOR_OPTION,
+	EFST_COLD_FORCE,
+	EFST_COLD_FORCE_OPTION,
+	EFST_CRYSTAL_ARMOR,
+	EFST_CRYSTAL_ARMOR_OPTION,
+	EFST_GRACE_BREEZE,
+	EFST_GRACE_BREEZE_OPTION,
+	EFST_EYES_OF_STORM,
+	EFST_EYES_OF_STORM_OPTION,
+	EFST_EARTH_CARE,
+	EFST_EARTH_CARE_OPTION,
+	EFST_STRONG_PROTECTION,
+	EFST_STRONG_PROTECTION_OPTION,
+	EFST_DEEP_POISONING,
+	EFST_DEEP_POISONING_OPTION,
+	EFST_POISON_SHIELD,
+	EFST_POISON_SHIELD_OPTION,
+	EFST_ABR_BATTLE_WARIOR,
+	EFST_ABR_DUAL_CANNON,
+	EFST_ABR_MOTHER_NET,
+	EFST_ABR_INFINITY,
+	EFST_ELEMENTAL_VEIL,
 
 	EFST_HOMUN_TIME = 1303,
 	EFST_POWER_ACCELERATION,
@@ -2077,6 +2194,15 @@ enum efst_types : short{
 	EFST_AID_PERIOD_POWER_ACCELERATION,
 	EFST_AID_PERIOD_MAX_HP_SP_AVOID,
 	EFST_AID_PERIOD_ADD_ALL_STATE,
+	EFST_POISON_MIST,
+
+	EFST_STONE_WALL = 1313,
+
+	EFST_OVERBRANDREADY = 1315,
+	EFST_SHIELDSPELL,
+
+	EFST_CLOUD_POISON = 1318,
+	EFST_SPORE_EXPLOSION_DEBUFF,
 /// @APIHOOK_END
 /// Do not modify code above this, since it will be automatically generated by the API again
 	EFST_MAX,