Completely refractor the project so the code isn't so terrible #7
@ -1,4 +1,5 @@
|
||||
extends Node
|
||||
class_name Card
|
||||
|
||||
signal return_dice(dice_number)
|
||||
signal do_movement(movement_range)
|
||||
@ -6,7 +7,7 @@ signal do_damage(damage, damage_range)
|
||||
signal do_effect(effect, effect_range)
|
||||
signal card_removed(card_self)
|
||||
|
||||
export (Resource) var card_info
|
||||
export (Resource) var card_info = preload("res://Assets/CardDB/Default.tres")
|
||||
|
||||
var input_dice = []
|
||||
var addition_dice_amount = card_info.addition_amount
|
||||
|
@ -9,6 +9,11 @@
|
||||
config_version=4
|
||||
|
||||
_global_script_classes=[ {
|
||||
"base": "Node",
|
||||
"class": "Card",
|
||||
"language": "GDScript",
|
||||
"path": "res://UI/Card.gd"
|
||||
}, {
|
||||
"base": "Resource",
|
||||
"class": "CardResource",
|
||||
"language": "GDScript",
|
||||
@ -20,6 +25,7 @@ _global_script_classes=[ {
|
||||
"path": "res://Characters/Character.gd"
|
||||
} ]
|
||||
_global_script_class_icons={
|
||||
"Card": "",
|
||||
"CardResource": "",
|
||||
"Character": ""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user