Add Buff infrastructure to go through different logic paths from different patches (#5073)
Build / Linux (push) Waiting to run
Build / Windows (push) Waiting to run

This commit is contained in:
dannuic
2026-05-02 22:53:26 -06:00
committed by GitHub
parent c253734c57
commit 18df055f16
201 changed files with 2856 additions and 3105 deletions
@@ -37,7 +37,7 @@ class BaseBlockedSpellsRepository {
public:
struct BlockedSpells {
int32_t id;
uint32_t spellid;
int32_t spellid;
int8_t type;
int32_t zoneid;
float x;
@@ -37,7 +37,7 @@ class BaseBotBlockedBuffsRepository {
public:
struct BotBlockedBuffs {
uint32_t bot_id;
uint32_t spell_id;
int32_t spell_id;
uint8_t blocked;
uint8_t blocked_pet;
};
@@ -38,7 +38,7 @@ public:
struct BotBuffs {
uint32_t buffs_index;
uint32_t bot_id;
uint32_t spell_id;
int32_t spell_id;
uint8_t caster_level;
uint32_t duration_formula;
uint32_t tics_remaining;
@@ -38,7 +38,7 @@ public:
struct BotPetBuffs {
uint32_t pet_buffs_index;
uint32_t pets_index;
uint32_t spell_id;
int32_t spell_id;
uint32_t caster_level;
uint32_t duration;
};
@@ -37,7 +37,7 @@ class BaseBotPetsRepository {
public:
struct BotPets {
uint32_t pets_index;
uint32_t spell_id;
int32_t spell_id;
uint32_t bot_id;
std::string name;
int32_t mana;
@@ -38,7 +38,7 @@ public:
struct BotSpellSettings {
uint32_t id;
int32_t bot_id;
int16_t spell_id;
int32_t spell_id;
int16_t priority;
int16_t min_hp;
int16_t max_hp;
@@ -38,7 +38,7 @@ public:
struct BotSpellsEntries {
uint32_t id;
int32_t npc_spells_id;
uint16_t spell_id;
int32_t spell_id;
uint32_t type;
uint8_t minlevel;
uint8_t maxlevel;
@@ -42,7 +42,7 @@ public:
uint32_t recast_time;
uint8_t is_spell;
uint8_t is_disc;
uint32_t spell_id;
int32_t spell_id;
uint8_t is_item;
uint32_t item_id;
};
@@ -38,7 +38,7 @@ public:
struct CharacterBuffs {
uint32_t character_id;
uint8_t slot_id;
uint16_t spell_id;
int32_t spell_id;
uint8_t caster_level;
std::string caster_name;
int32_t ticsremaining;
@@ -38,7 +38,7 @@ public:
struct CharacterMemmedSpells {
uint32_t id;
uint16_t slot_id;
uint16_t spell_id;
int32_t spell_id;
};
static std::string PrimaryKey()
@@ -38,7 +38,7 @@ public:
struct CharacterSpells {
uint32_t id;
uint16_t slot_id;
uint16_t spell_id;
int32_t spell_id;
};
static std::string PrimaryKey()
@@ -36,7 +36,7 @@
class BaseDamageshieldtypesRepository {
public:
struct Damageshieldtypes {
uint32_t spellid;
int32_t spellid;
uint8_t type;
};
@@ -38,7 +38,7 @@ public:
struct LdonTrapTemplates {
uint32_t id;
uint8_t type;
uint16_t spell_id;
int32_t spell_id;
uint16_t skill;
uint8_t locked;
};
@@ -38,7 +38,7 @@ public:
struct MercBuffs {
uint32_t MercBuffId;
uint32_t MercId;
uint32_t SpellId;
int32_t SpellId;
uint32_t CasterLevel;
uint32_t DurationFormula;
int32_t TicsRemaining;
@@ -39,7 +39,7 @@ public:
struct MercSpellListEntries {
uint32_t merc_spell_list_entry_id;
uint32_t merc_spell_list_id;
uint32_t spell_id;
int32_t spell_id;
uint32_t spell_type;
uint8_t stance_id;
uint8_t minlevel;
@@ -38,7 +38,7 @@ public:
struct NpcSpellsEntries {
uint32_t id;
int32_t npc_spells_id;
uint16_t spellid;
int32_t spellid;
uint32_t type;
uint8_t minlevel;
uint8_t maxlevel;
@@ -36,7 +36,7 @@
class BaseSpellBucketsRepository {
public:
struct SpellBuckets {
uint32_t spell_id;
int32_t spell_id;
std::string bucket_name;
std::string bucket_value;
uint8_t bucket_comparison;