mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 09:06:46 +00:00
WIP on auras
Lots to do still Normal buffing auras currently work for the most part
This commit is contained in:
@@ -123,6 +123,18 @@ struct PetRecord {
|
||||
uint32 equipmentset; // default equipment for the pet
|
||||
};
|
||||
|
||||
struct AuraRecord {
|
||||
uint32 npc_type;
|
||||
char name[64]; // name shown in UI if shown and spawn name
|
||||
int spell_id;
|
||||
int distance;
|
||||
int aura_type;
|
||||
int spawn_type;
|
||||
int movement;
|
||||
int duration; // seconds some live for 90 mins (normal) others for 2 mins (traps)
|
||||
int icon; // -1 will use the buffs NEW_ICON
|
||||
};
|
||||
|
||||
// Actual pet info for a client.
|
||||
struct PetInfo {
|
||||
uint16 SpellID;
|
||||
@@ -404,6 +416,7 @@ public:
|
||||
void AddLootDropToNPC(NPC* npc, uint32 lootdrop_id, ItemList* itemlist, uint8 droplimit, uint8 mindrop);
|
||||
uint32 GetMaxNPCSpellsID();
|
||||
uint32 GetMaxNPCSpellsEffectsID();
|
||||
bool GetAuraEntry(uint16 spell_id, AuraRecord &record);
|
||||
|
||||
DBnpcspells_Struct* GetNPCSpells(uint32 iDBSpellsID);
|
||||
DBnpcspellseffects_Struct* GetNPCSpellsEffects(uint32 iDBSpellsEffectsID);
|
||||
|
||||
Reference in New Issue
Block a user