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.
28 lines
644 B
28 lines
644 B
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Knife : Weapon
|
|
{
|
|
protected override void Revise()
|
|
{
|
|
description = "破败的小匕首,穿刺、打击效果都不好,但是胜在轻便易于使用";
|
|
weaponName = "匕首";
|
|
manaCovery = 1;
|
|
}
|
|
public override void LevelUp(Character character)
|
|
{
|
|
character.money -= CheckLevelUpCost();
|
|
if(level < 10)
|
|
{
|
|
level += 1;
|
|
dexAddtion += 0.1f;
|
|
basicDamage += 1;
|
|
}
|
|
}
|
|
public override int CheckLevelUpCost()
|
|
{
|
|
return 5;
|
|
}
|
|
}
|