mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
[Pets] Add Pet Constants and Methods (#4987)
* [Pets] Add Pet Constants and Methods * Remove GetID * GetPetTypeName() * Cleanup
This commit is contained in:
+2
-2
@@ -1549,7 +1549,7 @@ void Mob::ApplyAABonuses(const AA::Rank &rank, StatBonuses *newbon)
|
||||
break;
|
||||
|
||||
case SE_AddPetCommand:
|
||||
if (base_value && limit_value < PET_MAXCOMMANDS)
|
||||
if (base_value && limit_value < PetCommand::Max)
|
||||
newbon->PetCommands[limit_value] = true;
|
||||
break;
|
||||
|
||||
@@ -1557,7 +1557,7 @@ void Mob::ApplyAABonuses(const AA::Rank &rank, StatBonuses *newbon)
|
||||
if (newbon->FeignedMinionChance < base_value) {
|
||||
newbon->FeignedMinionChance = base_value;
|
||||
}
|
||||
newbon->PetCommands[PET_FEIGN] = true;
|
||||
newbon->PetCommands[PetCommand::Feign] = true;
|
||||
break;
|
||||
|
||||
case SE_AdditionalAura:
|
||||
|
||||
Reference in New Issue
Block a user