Hey, I'm making a rpg where the weapons are the things that define the attacks, like, when you get a weapon, the game decides 3 different moves from a pool of a lot of attacks to add to the weapon. How should I do this?
Also there are diferent weapon types as a the type1 and a magic type as type 2. I want to make so there are specific attacks corresponding to each type
This is the code of the resource I made just to define the weapon types
enum ItemType{
sword,
lance,
dagger,
staff,
hammer
}
enum MagicType{
light,
dark,
water,
fire,
ground,
grass,
air,
technological,
none
}
@export var Item_Type: ItemType = ItemType.sword
@export var Magic_Type: MagicType = MagicType.none```