nc5432 847a41eaad Animations and bug fixes
- Converted the rock throw animation to the new system
- Converted the fireball animation to the new system (needs to be inverted still)
- Spell variable now get set to null after use or they get interrupted
- Made some code more readable
2024-05-13 22:38:17 -04:00

19 lines
679 B
Plaintext

[gd_resource type="Resource" script_class="Spell" load_steps=3 format=3 uid="uid://dl6nv6lp460n3"]
[ext_resource type="Script" path="res://Resources/spell.gd" id="1_6330o"]
[ext_resource type="Texture2D" uid="uid://7gkwrxdb1exv" path="res://Sprites/Spells/Stone Spells Pack by Captainskeleto/Stone Spells/Stone Spells33.png" id="1_qg8v4"]
[resource]
script = ExtResource("1_6330o")
icon = ExtResource("1_qg8v4")
name = "Rock Throw"
description = "Throw a rock at your opponent"
animation = "res://Scenes/Animations/rockThrowAnim.tscn"
damage = 0.5
backfireStrength = 1.0
castCombo = Array[String](["down", "up", "up"])
element = 4
stunning = true
timeout = 10.0
cooldown = 2.0