mirror of
https://github.com/Relintai/broken_seals_2d.git
synced 2024-11-11 20:35:10 +01:00
10 lines
302 B
GDScript
10 lines
302 B
GDScript
extends SpellGD
|
|
|
|
export(String) var spell_name : String
|
|
export(float) var reduction_value : float
|
|
|
|
func _notification_aura_ccasta(what : int, data : AuraData, info: SpellCastInfo):
|
|
if SpellEnums.NOTIFICATION_CAST_STARTED:
|
|
if info.spell.get_name() == spell_name:
|
|
info.cast_time -= reduction_value
|