Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Entities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,23 +117,23 @@ sPCAppearanceData Player::getAppearanceData() {
return data;
}

bool Player::hasQuestBoost() const {
bool Player::hasHunterBoost() const {
if (AEQUIP_COUNT < AEQUIP_COUNT_WITH_BOOSTERS)
return false;

const sItemBase& booster = Equip[10];
return booster.iID == 153 && booster.iOpt > 0;
}

bool Player::hasHunterBoost() const {
bool Player::hasRacerBoost() const {
if (AEQUIP_COUNT < AEQUIP_COUNT_WITH_BOOSTERS)
return false;

const sItemBase& booster = Equip[11];
return booster.iID == 154 && booster.iOpt > 0;
}

bool Player::hasRacerBoost() const {
bool Player::hasQuestBoost() const {
if (AEQUIP_COUNT < AEQUIP_COUNT_WITH_BOOSTERS)
return false;

Expand Down
2 changes: 1 addition & 1 deletion src/Player.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ struct Player : public Entity, public ICombatant {

sNano* getActiveNano();
sPCAppearanceData getAppearanceData();
bool hasQuestBoost() const;
bool hasHunterBoost() const;
bool hasRacerBoost() const;
bool hasQuestBoost() const;
bool hasSuperBoost() const;
void addCapped(CappedValueType type, int32_t diff);
void subtractCapped(CappedValueType type, int32_t diff);
Expand Down
Loading