mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-01-22 02:17:18 +01:00
aura_script.gd now overrides the proper (new) methods.
This commit is contained in:
parent
ffafdbcef0
commit
7d57bbbd56
@ -6,13 +6,13 @@
|
|||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
resource_name = "Aspect of Scorpions"
|
resource_name = "Aspect of Scorpions"
|
||||||
icon = ExtResource( 3 )
|
|
||||||
rank = 1
|
rank = 1
|
||||||
|
icon = ExtResource( 3 )
|
||||||
|
text_name = "Aspect of Scorpions"
|
||||||
aura_time = 30.0
|
aura_time = 30.0
|
||||||
aura_tick = 3.0
|
aura_tick = 3.0
|
||||||
aura_debuff = true
|
aura_debuff = true
|
||||||
aura_group = ExtResource( 2 )
|
aura_group = ExtResource( 2 )
|
||||||
text_name = "Aspect of Scorpions"
|
|
||||||
aura_text_description = "Deals %%damage_min to %%damage_max damage every %%tick sec, and increases damage taken by 10% for 30 sec."
|
aura_text_description = "Deals %%damage_min to %%damage_max damage every %%tick sec, and increases damage taken by 10% for 30 sec."
|
||||||
aura_damage_enabled = true
|
aura_damage_enabled = true
|
||||||
aura_damage_type = 8
|
aura_damage_type = 8
|
||||||
|
@ -7,14 +7,14 @@
|
|||||||
[resource]
|
[resource]
|
||||||
resource_name = "Aspect of Wolves"
|
resource_name = "Aspect of Wolves"
|
||||||
id = 2
|
id = 2
|
||||||
|
rank = 10
|
||||||
icon = ExtResource( 3 )
|
icon = ExtResource( 3 )
|
||||||
|
text_name = "Aspect of Wolves"
|
||||||
aura_time = 22.0
|
aura_time = 22.0
|
||||||
aura_tick = 2.0
|
aura_tick = 2.0
|
||||||
aura_debuff = true
|
aura_debuff = true
|
||||||
rank = 10
|
|
||||||
aura_type = 1
|
aura_type = 1
|
||||||
aura_group = ExtResource( 2 )
|
aura_group = ExtResource( 2 )
|
||||||
text_name = "Aspect of Wolves"
|
|
||||||
aura_text_description = "Deals 280 to 330 damage every 2 sec, and reduces melee and spell damage by 10% for 22 sec."
|
aura_text_description = "Deals 280 to 330 damage every 2 sec, and reduces melee and spell damage by 10% for 22 sec."
|
||||||
aura_damage_enabled = true
|
aura_damage_enabled = true
|
||||||
aura_damage_type = 16
|
aura_damage_type = 16
|
||||||
|
@ -7,14 +7,14 @@
|
|||||||
[resource]
|
[resource]
|
||||||
resource_name = "Aspect of Bees"
|
resource_name = "Aspect of Bees"
|
||||||
id = 3
|
id = 3
|
||||||
|
rank = 10
|
||||||
icon = ExtResource( 3 )
|
icon = ExtResource( 3 )
|
||||||
|
text_name = "Aspect of Bees"
|
||||||
aura_time = 21.0
|
aura_time = 21.0
|
||||||
aura_tick = 3.0
|
aura_tick = 3.0
|
||||||
aura_debuff = true
|
aura_debuff = true
|
||||||
rank = 10
|
|
||||||
aura_type = 1
|
aura_type = 1
|
||||||
aura_group = ExtResource( 2 )
|
aura_group = ExtResource( 2 )
|
||||||
text_name = "Aspect of Bees"
|
|
||||||
aura_text_description = "Deals 460 to 540 damage every 3 sec, healing you for 80% of the damage."
|
aura_text_description = "Deals 460 to 540 damage every 3 sec, healing you for 80% of the damage."
|
||||||
aura_damage_enabled = true
|
aura_damage_enabled = true
|
||||||
aura_damage_type = 16
|
aura_damage_type = 16
|
||||||
|
@ -6,12 +6,12 @@
|
|||||||
[resource]
|
[resource]
|
||||||
resource_name = "Rejuvenation"
|
resource_name = "Rejuvenation"
|
||||||
id = 4
|
id = 4
|
||||||
|
rank = 10
|
||||||
icon = ExtResource( 2 )
|
icon = ExtResource( 2 )
|
||||||
|
text_name = "Rejuvenation"
|
||||||
aura_time = 30.0
|
aura_time = 30.0
|
||||||
aura_tick = 3.0
|
aura_tick = 3.0
|
||||||
rank = 10
|
|
||||||
aura_type = 1
|
aura_type = 1
|
||||||
text_name = "Rejuvenation"
|
|
||||||
aura_text_description = "Heals you for 400 to 450 every 3 sec for 30 sec."
|
aura_text_description = "Heals you for 400 to 450 every 3 sec for 30 sec."
|
||||||
aura_heal_enabled = true
|
aura_heal_enabled = true
|
||||||
aura_heal_min = 400
|
aura_heal_min = 400
|
||||||
|
@ -7,10 +7,10 @@
|
|||||||
resource_name = "Close Wounds"
|
resource_name = "Close Wounds"
|
||||||
id = 5
|
id = 5
|
||||||
icon = ExtResource( 2 )
|
icon = ExtResource( 2 )
|
||||||
|
text_name = "Close Wounds"
|
||||||
aura_time = 21.0
|
aura_time = 21.0
|
||||||
aura_tick = 3.0
|
aura_tick = 3.0
|
||||||
aura_type = 1
|
aura_type = 1
|
||||||
text_name = "Close Wounds"
|
|
||||||
aura_text_description = "Heals you for 720 to 780 every 3 sec for 21 sec."
|
aura_text_description = "Heals you for 720 to 780 every 3 sec for 21 sec."
|
||||||
aura_heal_enabled = true
|
aura_heal_enabled = true
|
||||||
aura_heal_min = 720
|
aura_heal_min = 720
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
resource_name = "Ironbark"
|
resource_name = "Ironbark"
|
||||||
id = 6
|
id = 6
|
||||||
icon = ExtResource( 2 )
|
icon = ExtResource( 2 )
|
||||||
|
text_name = "Ironbark"
|
||||||
aura_time = 6.0
|
aura_time = 6.0
|
||||||
aura_type = 1
|
aura_type = 1
|
||||||
text_name = "Ironbark"
|
|
||||||
aura_text_description = "Reduces damage taken by 70%. This spell is not on the global cooldown."
|
aura_text_description = "Reduces damage taken by 70%. This spell is not on the global cooldown."
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
|
@ -8,11 +8,11 @@
|
|||||||
resource_name = "Nature's Swiftness"
|
resource_name = "Nature's Swiftness"
|
||||||
id = 7
|
id = 7
|
||||||
icon = ExtResource( 3 )
|
icon = ExtResource( 3 )
|
||||||
|
text_name = "Nature's Swiftness"
|
||||||
aura_time = 10.0
|
aura_time = 10.0
|
||||||
aura_type = 1
|
aura_type = 1
|
||||||
text_name = "Nature's Swiftness"
|
|
||||||
aura_text_description = "Increases your movement speed by 60% for 6 sec. This spell is not on the global cooldown."
|
|
||||||
aura_visual_spell_effects = ExtResource( 2 )
|
aura_visual_spell_effects = ExtResource( 2 )
|
||||||
|
aura_text_description = "Increases your movement speed by 60% for 6 sec. This spell is not on the global cooldown."
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
does_stack = true
|
does_stack = true
|
||||||
mod_speed = 40.0
|
mod_speed = 40.0
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
resource_name = "Improved Strike"
|
resource_name = "Improved Strike"
|
||||||
icon = ExtResource( 2 )
|
|
||||||
rank = 1
|
rank = 1
|
||||||
|
icon = ExtResource( 2 )
|
||||||
|
text_name = "Improved Strike"
|
||||||
aura_type = 6
|
aura_type = 6
|
||||||
aura_hide = true
|
aura_hide = true
|
||||||
text_name = "Improved Strike"
|
|
||||||
aura_text_description = "Reduces the cast time of Aspect of Scorpions by %%reduction_value seconds."
|
aura_text_description = "Reduces the cast time of Aspect of Scorpions by %%reduction_value seconds."
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
spell_name = "Strike"
|
spell_name = "Strike"
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
resource_name = "Improved Strike"
|
resource_name = "Improved Strike"
|
||||||
icon = ExtResource( 2 )
|
|
||||||
rank = 1
|
rank = 1
|
||||||
|
icon = ExtResource( 2 )
|
||||||
|
text_name = "Improved Strike"
|
||||||
aura_type = 6
|
aura_type = 6
|
||||||
aura_hide = true
|
aura_hide = true
|
||||||
text_name = "Improved Strike"
|
|
||||||
aura_text_description = "Reduces the cast time of Aspect of Scorpions by %%reduction_value seconds."
|
aura_text_description = "Reduces the cast time of Aspect of Scorpions by %%reduction_value seconds."
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
spell_name = "Strike"
|
spell_name = "Strike"
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
resource_name = "Improved Strike"
|
resource_name = "Improved Strike"
|
||||||
icon = ExtResource( 2 )
|
|
||||||
rank = 1
|
rank = 1
|
||||||
|
icon = ExtResource( 2 )
|
||||||
|
text_name = "Improved Strike"
|
||||||
aura_type = 6
|
aura_type = 6
|
||||||
aura_hide = true
|
aura_hide = true
|
||||||
text_name = "Improved Strike"
|
|
||||||
aura_text_description = "Reduces the cast time of Aspect of Scorpions by %%reduction_value seconds."
|
aura_text_description = "Reduces the cast time of Aspect of Scorpions by %%reduction_value seconds."
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
spell_name = "Strike"
|
spell_name = "Strike"
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
resource_name = "Improved Strike"
|
resource_name = "Improved Strike"
|
||||||
icon = ExtResource( 2 )
|
|
||||||
rank = 1
|
rank = 1
|
||||||
|
icon = ExtResource( 2 )
|
||||||
|
text_name = "Improved Strike"
|
||||||
aura_type = 6
|
aura_type = 6
|
||||||
aura_hide = true
|
aura_hide = true
|
||||||
text_name = "Improved Strike"
|
|
||||||
aura_text_description = "Reduces the cast time of Aspect of Scorpions by %%reduction_value seconds."
|
aura_text_description = "Reduces the cast time of Aspect of Scorpions by %%reduction_value seconds."
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
spell_name = "Strike"
|
spell_name = "Strike"
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
resource_name = "Improved Strike"
|
resource_name = "Improved Strike"
|
||||||
icon = ExtResource( 2 )
|
|
||||||
rank = 1
|
rank = 1
|
||||||
|
icon = ExtResource( 2 )
|
||||||
|
text_name = "Improved Strike"
|
||||||
aura_type = 6
|
aura_type = 6
|
||||||
aura_hide = true
|
aura_hide = true
|
||||||
text_name = "Improved Strike"
|
|
||||||
aura_text_description = "Reduces the cast time of Aspect of Scorpions by %%reduction_value seconds."
|
aura_text_description = "Reduces the cast time of Aspect of Scorpions by %%reduction_value seconds."
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
spell_name = "Strike"
|
spell_name = "Strike"
|
||||||
|
@ -21,7 +21,7 @@ class_name AuraGD
|
|||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
|
|
||||||
func _sapply(info : AuraApplyInfo) -> void:
|
func _aura_sapply(info : AuraApplyInfo) -> void:
|
||||||
# var add : bool = false
|
# var add : bool = false
|
||||||
var ad : AuraData = info.target.aura_gets_by(info.caster, info.aura.id)
|
var ad : AuraData = info.target.aura_gets_by(info.caster, info.aura.id)
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ func _sapply(info : AuraApplyInfo) -> void:
|
|||||||
ad.remaining_time = aura_time
|
ad.remaining_time = aura_time
|
||||||
|
|
||||||
|
|
||||||
func _sdeapply(data : AuraData) -> void:
|
func _aura_sdeapply(data : AuraData) -> void:
|
||||||
for i in range(aura_stat_attribute_get_count()):
|
for i in range(aura_stat_attribute_get_count()):
|
||||||
data.owner.stat_mod(aura_stat_attribute_get_stat(id), -aura_stat_attribute_get_base_mod(i), -aura_stat_attribute_get_bonus_mod(i), -aura_stat_attribute_get_percent_mod(i))
|
data.owner.stat_mod(aura_stat_attribute_get_stat(id), -aura_stat_attribute_get_base_mod(i), -aura_stat_attribute_get_bonus_mod(i), -aura_stat_attribute_get_percent_mod(i))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user