mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 07:38:36 +00:00
Add Buff infrastructure to go through different logic paths from different patches (#5073)
This commit is contained in:
+3
-3
@@ -2277,7 +2277,7 @@ void Zone::ClearBlockedSpells()
|
||||
zone_total_blocked_spells = 0;
|
||||
}
|
||||
|
||||
bool Zone::IsSpellBlocked(uint32 spell_id, const glm::vec3 &location)
|
||||
bool Zone::IsSpellBlocked(int32 spell_id, const glm::vec3 &location)
|
||||
{
|
||||
if (blocked_spells) {
|
||||
bool exception = false;
|
||||
@@ -2330,7 +2330,7 @@ bool Zone::IsSpellBlocked(uint32 spell_id, const glm::vec3 &location)
|
||||
return false;
|
||||
}
|
||||
|
||||
const char *Zone::GetSpellBlockedMessage(uint32 spell_id, const glm::vec3 &location)
|
||||
const char *Zone::GetSpellBlockedMessage(int32 spell_id, const glm::vec3 &location)
|
||||
{
|
||||
if (blocked_spells) {
|
||||
for (int x = 0; x < GetZoneTotalBlockedSpells(); x++) {
|
||||
@@ -2379,7 +2379,7 @@ void Zone::LoadLDoNTraps()
|
||||
|
||||
t->id = e.id;
|
||||
t->type = static_cast<LDoNChestTypes>(e.type);
|
||||
t->spell_id = static_cast<uint32>(e.spell_id);
|
||||
t->spell_id = e.spell_id;
|
||||
t->skill = e.skill;
|
||||
t->locked = e.locked;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user