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
+4 -4
View File
@@ -29,15 +29,15 @@ struct NewSpawn_Struct;
class Horse : public NPC {
public:
Horse(Client* c, uint16 spell_id, const glm::vec4& position);
Horse(Client* c, int32 spell_id, const glm::vec4& position);
virtual void FillSpawnStruct(NewSpawn_Struct* ns, Mob* m);
static bool IsHorseSpell(uint16 spell_id);
static bool IsHorseSpell(int32 spell_id);
protected:
Client* owner;
static std::map<uint16, const NPCType*> horse_types;
static const NPCType* GetHorseType(uint16 spell_id);
static const NPCType* BuildHorseType(uint16 spell_id);
static const NPCType* GetHorseType(int32 spell_id);
static const NPCType* BuildHorseType(int32 spell_id);
};