/// <summary> /// /// </summary> /// <param name="name"></param> /// <param name="health"></param> /// <param name="armor"></param> public void SetBaseStats(string _name = "Base", int _health = 100, int _armor = 100, int _resource = 100, float dmg = 1.0f, float _attackSpeed = 2.0f, CLASS_SPECIFIC_TYPE _class = CLASS_SPECIFIC_TYPE.ALL) { displayName = _name; health = _health; maxHealth = _health; armor = _armor; maxArmor = _armor; damage = dmg; resource = _resource; maxResource = _resource; classType = _class; attackSpeed = _attackSpeed; }
public void SetSpell(string name = "Base Spell", float _power = 0, float _coolDown = .1f, float _castTime = .1f, float _duration = 1, float _resourceCost = 10, float _interval = 0.0f, bool _isStackable = false, string _path = "", SPELL_SCHOOL _school = SPELL_SCHOOL.BASE, SPELL_TYPE _spellType = SPELL_TYPE.HEAL, CLASS_SPECIFIC_TYPE _classType = CLASS_SPECIFIC_TYPE.ALL) { power = _power; displayName = name; coolDown = _coolDown; castTime = _castTime; duration = _duration; interval = _interval; resourceCost = _resourceCost; isStackable = _isStackable; spellSchool = _school; spellType = _spellType; classType = _classType; imagePath = _path; }