Add a range parameter and make some more interesting cards
This commit is contained in:
parent
8bf99ecae1
commit
47025af8c5
21
Assets/CardDB/Broadsword.tres
Normal file
21
Assets/CardDB/Broadsword.tres
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
[gd_resource type="Resource" load_steps=2 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Assets/CardDB/CardBD.gd" type="Script" id=1]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
script = ExtResource( 1 )
|
||||||
|
name = "Broadsword"
|
||||||
|
type = 0
|
||||||
|
effect_damage_range = 2
|
||||||
|
move_amount_addition = 0
|
||||||
|
move_dice_multiplyer = 1
|
||||||
|
damage_amount_addition = 0
|
||||||
|
damage_dice_multiplyer = 0
|
||||||
|
effects = [ ]
|
||||||
|
accepted_dice = [ ]
|
||||||
|
number_of_dice = 2
|
||||||
|
same_dice_requirement = false
|
||||||
|
addition_dice = false
|
||||||
|
addition_amount = -1
|
||||||
|
description = "Does damage equal to the sum of both dice to all enemies
|
||||||
|
Range: 2 spaces"
|
@ -10,8 +10,6 @@ enum TYPE {
|
|||||||
}
|
}
|
||||||
|
|
||||||
enum EFFECT {
|
enum EFFECT {
|
||||||
NONE
|
|
||||||
|
|
||||||
POISON
|
POISON
|
||||||
BURN
|
BURN
|
||||||
CONFUSION
|
CONFUSION
|
||||||
@ -34,8 +32,12 @@ enum ACCEPTED_DICE {
|
|||||||
DICE_6
|
DICE_6
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export (String) var name = ""
|
||||||
|
|
||||||
export (TYPE) var type
|
export (TYPE) var type
|
||||||
|
|
||||||
|
export (int) var effect_damage_range = 0
|
||||||
|
|
||||||
export (int) var move_amount_addition
|
export (int) var move_amount_addition
|
||||||
export (int) var move_dice_multiplyer
|
export (int) var move_dice_multiplyer
|
||||||
|
|
||||||
|
@ -4,15 +4,17 @@
|
|||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
|
name = "Default"
|
||||||
type = 0
|
type = 0
|
||||||
|
effect_damage_range = 0
|
||||||
move_amount_addition = 0
|
move_amount_addition = 0
|
||||||
move_dice_multiplyer = 0
|
move_dice_multiplyer = 0
|
||||||
damage_amount_addition = 0
|
damage_amount_addition = 0
|
||||||
damage_dice_multiplyer = 1
|
damage_dice_multiplyer = 0
|
||||||
effects = [ ]
|
effects = [ ]
|
||||||
accepted_dice = [ ]
|
accepted_dice = [ ]
|
||||||
number_of_dice = 1
|
number_of_dice = 1
|
||||||
same_dice_requirement = false
|
same_dice_requirement = false
|
||||||
addition_dice = false
|
addition_dice = false
|
||||||
addition_amount = -1
|
addition_amount = -1
|
||||||
description = "Damage Dice Roll"
|
description = "Default Description"
|
@ -4,9 +4,11 @@
|
|||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
type = 3
|
name = "Magic Carving Knife"
|
||||||
|
type = 1
|
||||||
|
effect_damage_range = 0
|
||||||
move_amount_addition = 0
|
move_amount_addition = 0
|
||||||
move_dice_multiplyer = 1
|
move_dice_multiplyer = 0
|
||||||
damage_amount_addition = 0
|
damage_amount_addition = 0
|
||||||
damage_dice_multiplyer = 0
|
damage_dice_multiplyer = 0
|
||||||
effects = [ 4 ]
|
effects = [ 4 ]
|
||||||
@ -15,4 +17,4 @@ number_of_dice = 1
|
|||||||
same_dice_requirement = false
|
same_dice_requirement = false
|
||||||
addition_dice = false
|
addition_dice = false
|
||||||
addition_amount = -1
|
addition_amount = -1
|
||||||
description = "Move Dice Roll + 1"
|
description = "Split your dice in half"
|
21
Assets/CardDB/Poisonous apple.tres
Normal file
21
Assets/CardDB/Poisonous apple.tres
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
[gd_resource type="Resource" load_steps=2 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Assets/CardDB/CardBD.gd" type="Script" id=1]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
script = ExtResource( 1 )
|
||||||
|
name = "Poisonous apple"
|
||||||
|
type = 3
|
||||||
|
effect_damage_range = 3
|
||||||
|
move_amount_addition = 0
|
||||||
|
move_dice_multiplyer = 0
|
||||||
|
damage_amount_addition = 0
|
||||||
|
damage_dice_multiplyer = 0
|
||||||
|
effects = [ 0, 9 ]
|
||||||
|
accepted_dice = [ 0, 1 ]
|
||||||
|
number_of_dice = 1
|
||||||
|
same_dice_requirement = false
|
||||||
|
addition_dice = false
|
||||||
|
addition_amount = -1
|
||||||
|
description = "Poison enemies and reroll your dice
|
||||||
|
Range: 3 spaces"
|
@ -4,7 +4,9 @@
|
|||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
|
name = "Sprint"
|
||||||
type = 4
|
type = 4
|
||||||
|
effect_damage_range = 0
|
||||||
move_amount_addition = 1
|
move_amount_addition = 1
|
||||||
move_dice_multiplyer = 1
|
move_dice_multiplyer = 1
|
||||||
damage_amount_addition = 0
|
damage_amount_addition = 0
|
||||||
@ -15,4 +17,4 @@ number_of_dice = 1
|
|||||||
same_dice_requirement = false
|
same_dice_requirement = false
|
||||||
addition_dice = false
|
addition_dice = false
|
||||||
addition_amount = -1
|
addition_amount = -1
|
||||||
description = "Move Dice Roll + 1"
|
description = "Move your dice roll + 1 spaces"
|
Loading…
Reference in New Issue
Block a user