mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 09:06:46 +00:00
Add Buff infrastructure to go through different logic paths from different patches (#5073)
This commit is contained in:
+4
-4
@@ -1221,7 +1221,7 @@ bool ZoneDatabase::SaveCharacterCurrency(uint32 character_id, PlayerProfile_Stru
|
||||
);
|
||||
}
|
||||
|
||||
bool ZoneDatabase::SaveCharacterMemorizedSpell(uint32 character_id, uint32 spell_id, uint32 slot_id){
|
||||
bool ZoneDatabase::SaveCharacterMemorizedSpell(uint32 character_id, int32 spell_id, uint32 slot_id){
|
||||
if (!IsValidSpell(spell_id)) {
|
||||
return false;
|
||||
}
|
||||
@@ -1231,12 +1231,12 @@ bool ZoneDatabase::SaveCharacterMemorizedSpell(uint32 character_id, uint32 spell
|
||||
CharacterMemmedSpellsRepository::CharacterMemmedSpells{
|
||||
.id = character_id,
|
||||
.slot_id = static_cast<uint16_t>(slot_id),
|
||||
.spell_id = static_cast<uint16_t>(spell_id)
|
||||
.spell_id = spell_id
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
bool ZoneDatabase::SaveCharacterSpell(uint32 character_id, uint32 spell_id, uint32 slot_id)
|
||||
bool ZoneDatabase::SaveCharacterSpell(uint32 character_id, int32 spell_id, uint32 slot_id)
|
||||
{
|
||||
if (!IsValidSpell(spell_id)) {
|
||||
return false;
|
||||
@@ -1247,7 +1247,7 @@ bool ZoneDatabase::SaveCharacterSpell(uint32 character_id, uint32 spell_id, uint
|
||||
CharacterSpellsRepository::CharacterSpells{
|
||||
.id = character_id,
|
||||
.slot_id = static_cast<uint16_t>(slot_id),
|
||||
.spell_id = static_cast<uint16_t>(spell_id)
|
||||
.spell_id = spell_id
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user