mirror of
https://github.com/araxiaonline/azerothshard-core.git
synced 2026-06-13 02:42:24 -04:00
[AZTH-MS] Force soulbound using an unknown flag as workaround
This commit is contained in:
@@ -1120,6 +1120,18 @@ public:
|
||||
{
|
||||
sAZTH->GetAZTHInstanceSave(instanceSave)->saveToDb();
|
||||
}
|
||||
|
||||
bool CanApplySoulboundFlag(Item* item, ItemTemplate const* /*proto*/) override
|
||||
{
|
||||
if (!item)
|
||||
return false;
|
||||
|
||||
// [AZTH] force soulbound using an unknown flag as workaround
|
||||
if (item->HasFlag(ITEM_FIELD_FLAGS, ITEM_FLAG_UNK1))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
class Unit_SC : public UnitScript
|
||||
|
||||
Reference in New Issue
Block a user