15 lines
404 B
C#
15 lines
404 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
[CreateAssetMenu(fileName = "ArcherClass", menuName = "Card Class/Archer Class Data")]
|
|
public class ArcherClass : UnitClass
|
|
{
|
|
public int extraAttackRange = 2;
|
|
public override void ApplyClassSpecilization(Unit unit)
|
|
{
|
|
unit.MeleeAttackRange = 0;
|
|
unit.RangedAttackRange += extraAttackRange;
|
|
}
|
|
}
|