public AttackCommand(BattleChar instigator, AttackSkill skill) : base(instigator) { this.skill = skill; battle = game._battle; combat = game._combat; ui = game._ui; typeDatabase = game._typeDatabase; normalDelay = battle._delay; smallDelay = 0.33f * normalDelay; commandType = CommandType.Skill; }
public AttackCommand(BattleChar instigator, DamageItem item) : base(instigator) { this.item = item; battle = game._battle; combat = game._combat; ui = game._ui; typeDatabase = game._typeDatabase; normalDelay = battle._delay; smallDelay = 0.33f * normalDelay; commandType = CommandType.Item; }
private void Start() { types = game._typeDatabase; }