7
0
mirror of https://github.com/RPG-Research/bcirpg.git synced 2024-04-16 14:23:01 +00:00

Refactored Special Abilities Object to be used as a middleware function for UI and other classes

This commit is contained in:
PersonGuyGit
2023-12-17 12:34:25 -07:00
parent c46852df5e
commit 6ac064d16d
4 changed files with 34 additions and 49 deletions
Phase2/Godot_Toolset/Main
middleware
screens

@ -0,0 +1,13 @@
extends Node
func _ready():
print(SpecialAbility.create_ability("Fireball",
["Fire Type", "Projectile"],
1,
10,
5,
3.0,
"strength",
Vector3(1, 2, 3)
))

@ -0,0 +1,6 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://screens/TestScreen/test_scene.gd" type="Script" id=1]
[node name="Node2D" type="Node2D"]
script = ExtResource( 1 )