46 lines
1.2 KiB
C#
Raw Normal View History

2025-05-18 01:04:31 +08:00
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace G
{
using F;
using F.Item;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Generated from: cha.xlsx
/// </summary>
public partial class ItemChaLevel
{
public CombatAttribute GetEquipmentUpgradeAttribute(CombatAttribute attribute)
{
for (int i = equipmentUpgrade.Length - 1; i >= 0; i--)
{
if ((int)attribute.id == equipmentUpgrade[i][0])
{
attribute.value = equipmentUpgrade[i][1];
break;
}
}
return attribute;
}
public int equipmentUpgradeCostId => equipmentUpgradeCostInfo.id;
public int equipmentUpgradeCostCount => equipmentUpgradeCostInfo.count;
public Item.ItemInfo equipmentUpgradeCostInfo;
public override void Init()
{
this.equipmentUpgradeCostInfo = Item.ItemInfo.Convert(equipmentUpgradeCost);
}
}
}