SoF-era con system. New rule, UseOldConSystem to disable this functionality.

This commit is contained in:
E Spause
2017-03-13 15:07:56 -04:00
committed by Michael Cook (mackal)
parent 989a638693
commit cb8c3595b7
11 changed files with 259 additions and 169 deletions
+1 -1
View File
@@ -531,7 +531,7 @@ public:
//AI
static uint32 GetLevelCon(uint8 mylevel, uint8 iOtherLevel);
inline uint32 GetLevelCon(uint8 iOtherLevel) const {
return this ? GetLevelCon(GetLevel(), iOtherLevel) : CON_GREEN; }
return this ? GetLevelCon(GetLevel(), iOtherLevel) : CON_GRAY; }
virtual void AddToHateList(Mob* other, uint32 hate = 0, int32 damage = 0, bool iYellForHelp = true,
bool bFrenzy = false, bool iBuffTic = false, uint16 spell_id = SPELL_UNKNOWN);
bool RemoveFromHateList(Mob* mob);