Compare commits

...

5 Commits

Author SHA1 Message Date
MacWarrior
6a85d16fb6
Merge 1e92aa1756234db85eeb4263931e3b08770682da into dab83dd19eeee975bb7e8bb70c29064eba3bf334 2025-11-08 11:38:21 +02:00
github-actions[bot]
dab83dd19e chore(DB): import pending files
Referenced commit(s): af779202e623986de4f00fb0f82f61c40dddcc43
2025-11-08 07:04:47 +00:00
Benjamin Jackson
af779202e6
fix(Core): Move and adjust experience modifiers for instanced elite creatures. (#23563) 2025-11-08 02:03:43 -05:00
MacWarrior
1e92aa1756
fix(DB/lang): Update french NPC title & subname 2025-11-06 19:55:57 +01:00
MacWarrior
dd951412f4
fix(DB/lang): Update french NPC title & subname 2025-11-06 19:29:18 +01:00
3 changed files with 16831 additions and 7 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -84,14 +84,9 @@ uint32 Acore::XP::Gain(Player* player, Unit* unit, bool isBattleGround /*= false
if (gain && creature)
{
if (creature->isElite())
{
// Elites in instances have a 2.75x XP bonus instead of the regular 2x world bonus.
if (unit->GetMap() && unit->GetMap()->IsDungeon())
xpMod *= 2.75f;
else
xpMod *= 2.0f;
}
xpMod *= 2.0f;
// Instanced mobs (particularly bosses) oftentimes have higher bonuses, especially in later content levels
xpMod *= creature->GetCreatureTemplate()->ModExperience;
}