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
756 B
Plaintext

[gd_resource type="Resource" script_class="Spell" load_steps=3 format=3 uid="uid://bmpu6k55bckdv"]
[ext_resource type="Texture2D" uid="uid://c3e14oly7elf3" path="res://Sprites/Spells/Ice & Fire Spells Pack by Captainskeleto/Fire Spell Pack by Captainskeleto/Fire Spells/Fire Spell Pack52.png" id="1_8gs1u"]
[ext_resource type="Script" path="res://Resources/spell.gd" id="1_iewgb"]
[resource]
script = ExtResource("1_iewgb")
icon = ExtResource("1_8gs1u")
name = "Fireball"
description = "An enourmous ball of fire"
animation = "res://Scenes/Animations/fireballAnim.tscn"
damage = 8.0
backfireStrength = 6.0
castCombo = Array[String](["up", "down", "down", "left", "right", "left", "right", "up"])
element = 1
stunning = true
timeout = 5.0
cooldown = 10.0