TrinityCore icon indicating copy to clipboard operation
TrinityCore copied to clipboard

Innkeeper Coryth Stoktron

Open Trisjdc opened this issue 12 years ago • 3 comments

Innkeeper Coryth Stoktron fails to give a hearthstone on 'Make this inn your home' gossip

Happens if the player is neutral to Cenarion Expedition

The reason for this is the following: https://github.com/TrinityCore/TrinityCore/blob/master/src/server/game/Entities/Player/Player.cpp#L2747 GetReputationMgr().GetRank(faction) <= REP_UNFRIENDLY fails

This same code piece also causes issues when trying to take or return quests to NPCs to which we are friendly via force faction effects

Trisjdc avatar May 20 '14 13:05 Trisjdc

You can provide lines in the code like this: https://github.com/TrinityCore/TrinityCore/blob/master/src/server/game/Handlers/NPCHandler.cpp#L441 And where is if (creature->GetReactionTo(this) <= REP_UNFRIENDLY)?

untaught avatar May 20 '14 14:05 untaught

Oh, did not know, thank you! I've edited the first post

Trisjdc avatar May 20 '14 16:05 Trisjdc

#4210

Aokromes avatar May 20 '14 16:05 Aokromes