using System.Collections; using System.Collections.Generic; using UnityEngine; public class Greatsword : Weapon { protected override void Revise() { description = "一把特大剑,十分重,很难挥舞,但是若能够驾驭这把武器,能够轻易将敌人击垮"; weaponName = "大剑"; manaCovery = 4; } public override void LevelUp(Character character) { character.money -= CheckLevelUpCost(); if(level < 10) { level += 1; strAddition += 1.6f; dexAddtion += 0.1f; basicDamage += 5; } } public override int CheckLevelUpCost() { return 5; } }