Split CanUse into CouldUse & IsPossible
This commit is contained in:
@@ -13,8 +13,11 @@ internal sealed class HeartAndSoul : BaseBuffAction
|
||||
|
||||
public override int CPCost(Simulator s) => 0;
|
||||
|
||||
public override bool CanUse(Simulator s) => s.Input.Stats.IsSpecialist && !s.ActionStates.UsedHeartAndSoul;
|
||||
public override bool IsPossible(Simulator s) =>
|
||||
base.IsPossible(s) && s.Input.Stats.IsSpecialist && !s.ActionStates.UsedHeartAndSoul;
|
||||
|
||||
public override bool CouldUse(Simulator s) => !s.ActionStates.UsedHeartAndSoul;
|
||||
|
||||
public override string GetTooltip(Simulator s, bool addUsability) =>
|
||||
$"{GetBaseTooltip(s, addUsability)}Specialist Only";
|
||||
$"{GetBaseTooltip(s, addUsability)}Specialist Only\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user