Add dash range limit to dash spell and system
Introduces a maximum dash range to the dash system and spell effect, clamping the dash target if it exceeds the allowed distance. Updates configuration fields and prototype YAML to support the new range parameter.
This commit is contained in:
@@ -9,14 +9,15 @@
|
||||
- type: CP14MagicEffect
|
||||
effects:
|
||||
- !type:CP14SpellDash
|
||||
dashSpeed: 20
|
||||
speed: 20
|
||||
range: 3.5
|
||||
- type: Action
|
||||
icon:
|
||||
sprite: _CP14/Actions/Spells/physical.rsi
|
||||
state: dash
|
||||
- type: TargetAction
|
||||
checkCanAccess: false
|
||||
range: 3.5
|
||||
range: 10 #Thats not dash range, thats interaction clickable zone range
|
||||
- type: WorldTargetAction
|
||||
event: !type:CP14WorldTargetActionEvent
|
||||
cooldown: 5
|
||||
Reference in New Issue
Block a user