Lines Matching refs:Game_Battler

57 Game_BattleAlgorithm::AlgorithmBase::AlgorithmBase(Type ty, Game_Battler* source, Game_Battler* tar…  in AlgorithmBase()
58 AlgorithmBase(ty, source, std::vector<Game_Battler*>{ target }) {} in AlgorithmBase()
60 …ttleAlgorithm::AlgorithmBase::AlgorithmBase(Type ty, Game_Battler* source, std::vector<Game_Battle… in AlgorithmBase()
76 Game_BattleAlgorithm::AlgorithmBase::AlgorithmBase(Type ty, Game_Battler* source, Game_Party_Base* … in AlgorithmBase()
116 std::vector<Game_Battler*> anim_targets; in PlayAnimation()
119 …if (!target->IsHidden() && (IsTargetValid(*target) || (target->GetType() == Game_Battler::Type_All… in PlayAnimation()
131 Game_Battler* Game_BattleAlgorithm::AlgorithmBase::GetTarget() const { in GetTarget()
317 bool Game_BattleAlgorithm::AlgorithmBase::IsTargetValid(const Game_Battler& target) const { in IsTargetValid()
381 void Game_BattleAlgorithm::AlgorithmBase::AddTarget(Game_Battler* target, bool set_current) { in AddTarget()
476 bool Game_BattleAlgorithm::AlgorithmBase::IsReflected(const Game_Battler&) const { in IsReflected()
529 Game_BattleAlgorithm::None::None(Game_Battler* source) : in None()
534 Game_BattleAlgorithm::Normal::Normal(Game_Battler* source, Game_Battler* target, int hits_multiplie… in Normal()
540 Game_BattleAlgorithm::Normal::Normal(Game_Battler* source, Game_Party_Base* target, int hits_multip… in Normal()
550 Game_Battler::Weapon Game_BattleAlgorithm::Normal::GetWeapon() const { in GetWeapon()
552 return Game_Battler::WeaponAll; in GetWeapon()
554 …return GetCurrentRepeat() >= weapon_style ? Game_Battler::WeaponSecondary : Game_Battler::WeaponPr… in GetWeapon()
561 if (source->GetType() == Game_Battler::Type_Ally && style == Style_MultiHit) { in Init()
564 auto hits = hits_multiplier * ally->GetNumberOfAttacks(Game_Battler::WeaponPrimary); in Init()
566 hits += hits_multiplier * ally->GetNumberOfAttacks(Game_Battler::WeaponSecondary); in Init()
600 if (source->GetType() == Game_Battler::Type_Ally) { in GetAnimationId()
612 if (source->GetType() == Game_Battler::Type_Enemy in GetAnimationId()
658 if (source.GetType() == Game_Battler::Type_Ally) { in vExecute()
719 if (GetSource()->GetType() == Game_Battler::Type_Enemy && hits_multiplier == 2) { in GetStartMessage()
728 return weapon == Game_Battler::WeaponSecondary in GetSourcePose()
736 if (source->GetType() == Game_Battler::Type_Ally) { in GetCBAMovement()
753 if (source->GetType() == Game_Battler::Type_Ally) { in GetCBAAfterimage()
770 if (source->GetType() == Game_Battler::Type_Ally) { in GetWeaponAnimationData()
787 if (source->GetType() == Game_Battler::Type_Ally) { in GetWeaponData()
800 if (Player::IsRPG2k() && GetSource()->GetType() == Game_Battler::Type_Enemy) { in GetStartSe()
806 Game_BattleAlgorithm::Skill::Skill(Game_Battler* source, Game_Battler* target, const lcf::rpg::Skil… in Skill()
812 Game_BattleAlgorithm::Skill::Skill(Game_Battler* source, Game_Party_Base* target, const lcf::rpg::S… in Skill()
818 Game_BattleAlgorithm::Skill::Skill(Game_Battler* source, const lcf::rpg::Skill& skill, const lcf::r… in Skill()
840 bool Game_BattleAlgorithm::Skill::IsTargetValid(const Game_Battler& target) const { in IsTargetValid()
1117 if (source->GetType() == Game_Battler::Type_Ally) { in GetSourcePose()
1128 if (source->GetType() == Game_Battler::Type_Ally) { in GetCBAMovement()
1139 if (source->GetType() == Game_Battler::Type_Ally) { in GetCBAAfterimage()
1165 bool Game_BattleAlgorithm::Skill::IsReflected(const Game_Battler& target) const { in IsReflected()
1182 …if (source->GetType() == Game_Battler::Type_Enemy && target && target->GetType() == source->GetTyp… in ActionIsPossible()
1190 Game_BattleAlgorithm::Item::Item(Game_Battler* source, Game_Battler* target, const lcf::rpg::Item& … in Item()
1195 Game_BattleAlgorithm::Item::Item(Game_Battler* source, Game_Party_Base* target, const lcf::rpg::Ite… in Item()
1205 Game_BattleAlgorithm::Item::Item(Game_Battler* source, const lcf::rpg::Item& item) : in Item()
1208 bool Game_BattleAlgorithm::Item::IsTargetValid(const Game_Battler&) const { in IsTargetValid()
1224 …if (GetTarget()->GetType() == Game_Battler::Type_Ally && !static_cast<Game_Actor*>(GetTarget())->I… in vExecute()
1279 if (source->GetType() == Game_Battler::Type_Ally) { in GetCBAMovement()
1299 Game_BattleAlgorithm::Defend::Defend(Game_Battler* source) : in Defend()
1308 } else if (GetSource()->GetType() == Game_Battler::Type_Enemy) { in GetStartMessage()
1319 Game_BattleAlgorithm::Observe::Observe(Game_Battler* source) : in Observe()
1328 } else if (GetSource()->GetType() == Game_Battler::Type_Enemy) { in GetStartMessage()
1335 Game_BattleAlgorithm::Charge::Charge(Game_Battler* source) : in Charge()
1344 } else if (GetSource()->GetType() == Game_Battler::Type_Enemy) { in GetStartMessage()
1355 Game_BattleAlgorithm::SelfDestruct::SelfDestruct(Game_Battler* source, Game_Party_Base* target) : in SelfDestruct()
1364 } else if (GetSource()->GetType() == Game_Battler::Type_Enemy) { in GetStartMessage()
1401 if (animate && source->GetType() == Game_Battler::Type_Enemy) { in ApplyCustomEffect()
1409 Game_BattleAlgorithm::Escape::Escape(Game_Battler* source) : in Escape()
1418 } else if (GetSource()->GetType() == Game_Battler::Type_Enemy) { in GetStartMessage()
1431 if (source->GetType() == Game_Battler::Type_Ally) { in GetStartSe()
1439 if (source->GetType() == Game_Battler::Type_Enemy) { in ApplyCustomEffect()
1446 Game_BattleAlgorithm::Transform::Transform(Game_Battler* source, int new_monster_id) : in Transform()
1461 if (source->GetType() == Game_Battler::Type_Enemy) { in ApplyCustomEffect()
1468 Game_BattleAlgorithm::DoNothing::DoNothing(Game_Battler* source) : in DoNothing()