mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 17:19:07 +00:00
feat(Core/Misc): implement ObjectGuid class (port from TC) (#4885)
This commit is contained in:
@@ -1294,7 +1294,7 @@ public:
|
||||
class CorpseExplosionCheck
|
||||
{
|
||||
public:
|
||||
explicit CorpseExplosionCheck(uint64 casterGUID, bool allowGhoul) : _casterGUID(casterGUID), _allowGhoul(allowGhoul) { }
|
||||
explicit CorpseExplosionCheck(ObjectGuid casterGUID, bool allowGhoul) : _casterGUID(casterGUID), _allowGhoul(allowGhoul) { }
|
||||
|
||||
bool operator()(WorldObject* obj) const
|
||||
{
|
||||
@@ -1310,7 +1310,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
uint64 _casterGUID;
|
||||
ObjectGuid _casterGUID;
|
||||
bool _allowGhoul;
|
||||
};
|
||||
|
||||
@@ -2373,12 +2373,12 @@ public:
|
||||
{
|
||||
PrepareSpellScript(spell_dk_scourge_strike_SpellScript);
|
||||
float multiplier;
|
||||
uint64 guid;
|
||||
ObjectGuid guid;
|
||||
|
||||
bool Load() override
|
||||
{
|
||||
multiplier = 1.0f;
|
||||
guid = 0;
|
||||
guid.Clear();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user