You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
667 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Lance : Weapon
{
protected override void Revise()
{
description = "长而锋利的武器,穿刺效果好,能造成较高的肉体伤害";
weaponName = "长枪";
manaCovery = 3;
}
public override void LevelUp(Character character)
{
character.money -= CheckLevelUpCost();
if(level < 10)
{
level += 1;
basicDamage += 2;
dexAddtion += 0.07f;
strAddition += 0.04f;
}
}
public override int CheckLevelUpCost()
{
return 5;
}
}