Fix SpeciesComponent not taking state CanEquip/CanUnequip/CanChangeDirection into account
This commit is contained in:
@@ -126,6 +126,21 @@ namespace Content.Server.GameObjects
|
|||||||
return CurrentDamageState.CanAttack();
|
return CurrentDamageState.CanAttack();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool IActionBlocker.CanEquip()
|
||||||
|
{
|
||||||
|
return CurrentDamageState.CanEquip();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool IActionBlocker.CanUnequip()
|
||||||
|
{
|
||||||
|
return CurrentDamageState.CanUnequip();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool IActionBlocker.CanChangeDirection()
|
||||||
|
{
|
||||||
|
return CurrentDamageState.CanChangeDirection();
|
||||||
|
}
|
||||||
|
|
||||||
List<DamageThreshold> IOnDamageBehavior.GetAllDamageThresholds()
|
List<DamageThreshold> IOnDamageBehavior.GetAllDamageThresholds()
|
||||||
{
|
{
|
||||||
var thresholdlist = DamageTemplate.DamageThresholds;
|
var thresholdlist = DamageTemplate.DamageThresholds;
|
||||||
|
|||||||
Reference in New Issue
Block a user