mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-02-08 14:50:05 +01:00
Fix method call.
This commit is contained in:
parent
197dbcc1e3
commit
9d0feb2379
@ -1,10 +1,10 @@
|
|||||||
[gd_resource type="Spell" load_steps=7 format=2]
|
[gd_resource type="Spell" load_steps=7 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://modules/core/entity_resources/1_mana_resource.tres" type="EntityResource" id=1]
|
[ext_resource path="res://modules/core/entity_resources/1_mana_resource.tres" type="EntityResource" id=1]
|
||||||
[ext_resource path="res://modules/entity_classes/naturalist/auras/10_aspect_of_scorpions_rank_1.tres" type="Spell" id=2]
|
|
||||||
[ext_resource path="res://modules/entity_classes/naturalist/effect_data/aspect_of_scorpions.tres" type="SpellEffectVisual" id=3]
|
[ext_resource path="res://modules/entity_classes/naturalist/effect_data/aspect_of_scorpions.tres" type="SpellEffectVisual" id=3]
|
||||||
[ext_resource path="res://scripts/spells/gd_spell_script.gd" type="Script" id=4]
|
[ext_resource path="res://scripts/auras/aura_script.gd" type="Script" id=4]
|
||||||
[ext_resource path="res://modules/entity_classes/naturalist/icons/aspect_of_scorpions.tres" type="Texture" id=5]
|
[ext_resource path="res://modules/entity_classes/naturalist/icons/aspect_of_scorpions.tres" type="Texture" id=5]
|
||||||
|
[ext_resource path="res://modules/entity_classes/naturalist/aura_groups/1_aspect_of_scorpions.tres" type="AuraGroup" id=6]
|
||||||
|
|
||||||
[sub_resource type="EntityResourceCostDataResource" id=1]
|
[sub_resource type="EntityResourceCostDataResource" id=1]
|
||||||
cost = 34
|
cost = 34
|
||||||
@ -17,7 +17,6 @@ spell_type = 8
|
|||||||
rank = 1
|
rank = 1
|
||||||
icon = ExtResource( 5 )
|
icon = ExtResource( 5 )
|
||||||
visual_spell_effects = ExtResource( 3 )
|
visual_spell_effects = ExtResource( 3 )
|
||||||
spells_cast_on_target = [ ExtResource( 2 ) ]
|
|
||||||
text_name = "Aspect of Scorpions"
|
text_name = "Aspect of Scorpions"
|
||||||
text_description = "Range: 26m.
|
text_description = "Range: 26m.
|
||||||
Casttime: %%cast_cast_time .
|
Casttime: %%cast_cast_time .
|
||||||
@ -29,4 +28,13 @@ heal_enabled = true
|
|||||||
heal_min = 123
|
heal_min = 123
|
||||||
heal_max = 333
|
heal_max = 333
|
||||||
resource_cost = SubResource( 1 )
|
resource_cost = SubResource( 1 )
|
||||||
|
aura_time = 30.0
|
||||||
|
aura_tick = 3.0
|
||||||
|
aura_debuff = true
|
||||||
|
aura_group = ExtResource( 6 )
|
||||||
|
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_type = 8
|
||||||
|
aura_damage_min = 23
|
||||||
|
aura_damage_max = 26
|
||||||
script = ExtResource( 4 )
|
script = ExtResource( 4 )
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
resource_name = "Aspect of Wasps"
|
resource_name = "Aspect of Wasps"
|
||||||
spell_type = 8
|
spell_type = 8
|
||||||
level = 2
|
level = 2
|
||||||
rank = 1
|
rank = 10
|
||||||
icon = ExtResource( 3 )
|
icon = ExtResource( 3 )
|
||||||
text_name = "Aspect of Wasps"
|
text_name = "Aspect of Wasps"
|
||||||
text_description = "Range: 26m.
|
text_description = "Range: 26m.
|
||||||
@ -16,4 +16,8 @@ Deals 230 to 270 damage every 3 sec, this damage increases over the duration, fo
|
|||||||
range_range = 26.0
|
range_range = 26.0
|
||||||
aoe_targetType = 541
|
aoe_targetType = 541
|
||||||
aoe_colliderType = 541
|
aoe_colliderType = 541
|
||||||
|
aura_time = 21.0
|
||||||
|
aura_tick = 1.0
|
||||||
|
aura_debuff = true
|
||||||
|
aura_type = 1
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
||||||
|
@ -178,7 +178,7 @@ func handle_effect(info : SpellCastInfo) -> void:
|
|||||||
var ad : AuraData = AuraData.new()
|
var ad : AuraData = AuraData.new()
|
||||||
|
|
||||||
if aura_get_aura_group():
|
if aura_get_aura_group():
|
||||||
ad = info.target.aura_gets_with_group_by_bind(info.caster, aura_get_aura_group())
|
ad = info.target.aura_gets_with_group_by(info.caster, aura_get_aura_group())
|
||||||
else:
|
else:
|
||||||
ad = info.target.aura_gets_by(info.caster, id)
|
ad = info.target.aura_gets_by(info.caster, id)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user