[Experience] Add exp mod to npc types to let a server op change the exp modifier (#1252)

* Add exp mod to npc types to let a server op change the exp modifier a npc gives (useful for custom content)

* Updated version.h
This commit is contained in:
Alex
2021-02-23 09:50:38 -08:00
committed by GitHub
parent 65704274cb
commit bf3593a60d
8 changed files with 22 additions and 6 deletions
+1
View File
@@ -695,6 +695,7 @@ public:
bool PlotPositionOnArcInFrontOfTarget(Mob *target, float &x_dest, float &y_dest, float &z_dest, float distance, float min_deg = 5.0f, float max_deg = 150.0f);
bool PlotPositionOnArcBehindTarget(Mob *target, float &x_dest, float &y_dest, float &z_dest, float distance);
bool PlotPositionBehindMeFacingTarget(Mob *target, float &x_dest, float &y_dest, float &z_dest, float min_dist = 1.0f, float max_dist = 5.0f);
virtual int GetKillExpMod() const { return 100; }
// aura functions
void MakeAura(uint16 spell_id);