CorrieJ98 / HereBeGoblins

HND 2024 Graded Unit - Made in Godot 4.0
GNU General Public License v3.0
2 stars 0 forks source link

Create ability placeholders #11

Closed CorrieJ98 closed 8 months ago

CorrieJ98 commented 8 months ago

Create the necessary framework for the ability system for units and buildings

CorrieJ98 commented 8 months ago

Ability placeholders added inside Ability script. Profilenow reworked to seperate BuildingProfileand UnitProfileboth of which are inheriting (extending) from Ability.

Done

class_name Ability extends Resource

enum UnitBasicAbilities {GATHER,BUILD,}
enum UnitSpecialAbilities{INVISIBLITY, TRUESIGHT}
enum UnitTraits {HERO, WORKER, UNIQUE}

enum BuildingBasicAbilities {RALLYPOINT, }
enum BuildingSpecialAbilities {TRUESIGHT,ATTACK,SPAWNUNITS}
enum BuildingTraits {UNIQUE}