Support for Eyes Wide Open

This probably needs testing on older clients ...
This commit is contained in:
Michael Cook (mackal)
2015-06-13 17:53:21 -04:00
parent 106e0c69ab
commit 121af489c4
3 changed files with 8 additions and 1 deletions
+6
View File
@@ -113,6 +113,9 @@ void Client::CalcBonuses()
rooted = FindType(SE_Root);
XPRate = 100 + spellbonuses.XPRateMod;
if (GetMaxXTargets() != 5 + aabonuses.extra_xtargets)
SetMaxXTargets(5 + aabonuses.extra_xtargets);
}
int Client::CalcRecommendedLevelBonus(uint8 level, uint8 reclevel, int basestat)
@@ -1389,6 +1392,9 @@ void Client::ApplyAABonuses(const AA::Rank &rank, StatBonuses *newbon)
case SE_ATK:
newbon->ATK += base1;
break;
case SE_IncreaseExtTargetWindow:
newbon->extra_xtargets += base1;
break;
// to do
case SE_PetDiscipline:
break;
+1
View File
@@ -461,6 +461,7 @@ struct StatBonuses {
uint8 AssassinateLevel; // Max Level Assassinate will be effective at.
int32 PetMeleeMitigation; // Add AC to owner's pet.
bool IllusionPersistence; // Causes illusions not to fade.
uint16 extra_xtargets; // extra xtarget entries
};
typedef struct