Fixed syntax error
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
99315174a8
commit
af611070c5
|
@ -6,7 +6,7 @@ const CreatureLib::Battling::BattleLibrary *CreatureLib::Battling::Battle::GetLi
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CreatureLib::Battling::Battle::CanUse(CreatureLib::Battling::BaseTurnChoice *choice) {
|
bool CreatureLib::Battling::Battle::CanUse(CreatureLib::Battling::BaseTurnChoice *choice) {
|
||||||
if (choice->GetKind() == TurnChoiceKind::Attack)
|
if (choice->GetKind() == TurnChoiceKind::Attack){
|
||||||
//HOOK: change number of uses needed.
|
//HOOK: change number of uses needed.
|
||||||
return static_cast<AttackTurnChoice*>(choice)->GetAttack()->GetRemainingUses() > 1;
|
return static_cast<AttackTurnChoice*>(choice)->GetAttack()->GetRemainingUses() > 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue