Refactored unit
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
class_name UnitMatchingCombatTacticRange extends CombatTacticRange
|
||||
|
||||
func is_valid_range(distance: int, unit: Unit) -> bool:
|
||||
return distance <= unit.current_stats.atk_range
|
||||
return distance <= unit.stats.atk_range
|
||||
|
||||
Reference in New Issue
Block a user