Core/Spells: Implemented SPELL_EFFECT_GIVE_EXPERIENCE and SPELL_EFFECT_GIVE_RESTED_EXPERIENCE_BONUS
Port From (https://github.com/TrinityCore/TrinityCore/commit/ade34a7f484dfcc7e41eddfd1014e7728c8dc2c1)
This commit is contained in:
@@ -246,8 +246,8 @@ namespace Game.Entities
|
||||
SetWatchedFactionIndex(0xFFFFFFFF);
|
||||
|
||||
SetCustomizations(createInfo.Customizations);
|
||||
SetRestState(RestTypes.XP, ((GetSession().IsARecruiter() || GetSession().GetRecruiterId() != 0) ? PlayerRestState.RAFLinked : PlayerRestState.NotRAFLinked));
|
||||
SetRestState(RestTypes.Honor, PlayerRestState.NotRAFLinked);
|
||||
SetRestState(RestTypes.XP, ((GetSession().IsARecruiter() || GetSession().GetRecruiterId() != 0) ? PlayerRestState.RAFLinked : PlayerRestState.Normal));
|
||||
SetRestState(RestTypes.Honor, PlayerRestState.Normal);
|
||||
SetNativeGender(createInfo.Sex);
|
||||
SetInventorySlotCount(InventorySlots.DefaultSize);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user