mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Support for Eyes Wide Open
This probably needs testing on older clients ...
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user