mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
Fix a few settings for Nature's Switfness. And small tweaks.
This commit is contained in:
parent
8168adc914
commit
c294b4a008
@ -9,7 +9,7 @@ resource_name = "Nature's Swiftness"
|
||||
id = 8
|
||||
spell_type = 8
|
||||
target_type = 520
|
||||
target_relation_type = 393653346
|
||||
target_relation_type = 1
|
||||
rank = 1
|
||||
icon = ExtResource( 3 )
|
||||
caster_aura_applys = [ ExtResource( 1 ) ]
|
||||
@ -18,6 +18,7 @@ text_description = "Instant.
|
||||
Cooldown: %%cooldown_cooldown sec
|
||||
Increases your movement speed by 60% for 6 sec. This spell is not on the global cooldown."
|
||||
cooldown_cooldown = 20.0
|
||||
cooldown_global_cooldown_enabled = false
|
||||
aoe_targetType = 520
|
||||
aoe_colliderType = 186459648
|
||||
script = ExtResource( 2 )
|
||||
|
@ -91,7 +91,7 @@ func _cast_starts(info : SpellCastInfo) -> void:
|
||||
|
||||
if info.target:
|
||||
info.target.notification_scast(SpellEnums.NOTIFICATION_CAST_FINISHED_TARGET, info)
|
||||
|
||||
|
||||
handle_cooldown(info)
|
||||
|
||||
# if projectile != null:
|
||||
@ -152,8 +152,8 @@ func handle_effect(info : SpellCastInfo) -> void:
|
||||
# if not ok:
|
||||
# return
|
||||
|
||||
elif target_type == SPELL_TARGET_TYPE_SELF:
|
||||
info.target = info.caster
|
||||
# elif target_type == SPELL_TARGET_TYPE_SELF:
|
||||
# info.target = info.caster
|
||||
|
||||
if damage_enabled and info.target:
|
||||
var sdi : SpellDamageInfo = SpellDamageInfo.new()
|
||||
|
Loading…
Reference in New Issue
Block a user