超级玩家
 
- 贡献度
- 26
- 金元
- 6675
- 积分
- 772
- 精华
- 0
- 注册时间
- 2016-1-19
|
本帖最后由 qwe7585662 于 2022-12-10 18:49 编辑
我的人物负重修改是GameManager 的红色部分
private IEnumerator CalculateCarryWeightRoutine()
{
this.WillCalculateCarryWeight = true;
yield return new WaitForEndOfFrame();
List<InGameCardBase> handCards = this.GameGraphics.GetHandCards(false);
handCards.AddRange(this.GameGraphics.GetEquippedCards(false));
float num = this.InGamePlayerWeight.CurrentValue(this.NotInBase);
float num2 = 0f;
for (int i = 0; i < handCards.Count; i++)
{
num2 += 0f;
}
if (!Mathf.Approximately(num, num2))
{
this.ApplyStatModifier(new StatModifier
{
Stat = this.PlayerWeightStat,
ValueModifier = Vector2.one * (num2 - num)
}, StatModification.Permanent, "Carried Weight", null);
}
this.WillCalculateCarryWeight = false;
yield break;
}
环境负重同理,理论上不需要改,因为你们都可以扩大100倍环境容量了
|
|