29 lines
600 B
C#
29 lines
600 B
C#
using System;
|
|
using Data;
|
|
using HexFiled;
|
|
|
|
namespace Items
|
|
{
|
|
public class AttackBonus : Item
|
|
{
|
|
public AttackBonus(ItemInfo data) : base(data)
|
|
{
|
|
}
|
|
|
|
public override void Invoke(Action<Item> item)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public override void InstanceInvoke()
|
|
{
|
|
Unit.SetAttackBonus(Data.Values[0], Data.Values[1]);
|
|
Unit.UseItem(this);
|
|
}
|
|
|
|
public override void PlaceItem(HexCell cell)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
} |