Fixed appearance validation
Implemented proper facial hair validation Implemented transmog Set fix interaction of spells like Shadowmeld with Threat reducing effects
This commit is contained in:
@@ -5846,6 +5846,18 @@ namespace Game.Spells
|
||||
playerTarget.AddHonorXP((uint)damage);
|
||||
playerTarget.SendPacket(packet);
|
||||
}
|
||||
|
||||
[SpellEffectHandler(SpellEffectName.LearnTransmogSet)]
|
||||
void EffectLearnTransmogSet(uint effIndex)
|
||||
{
|
||||
if (effectHandleMode != SpellEffectHandleMode.HitTarget)
|
||||
return;
|
||||
|
||||
if (!unitTarget || !unitTarget.IsPlayer())
|
||||
return;
|
||||
|
||||
unitTarget.ToPlayer().GetSession().GetCollectionMgr().AddTransmogSet((uint)effectInfo.MiscValue);
|
||||
}
|
||||
}
|
||||
|
||||
public class DispelCharges
|
||||
|
||||
Reference in New Issue
Block a user