public static void Postfix(bool isActor) { int ID = DateFile.instance.MianActorID(); if (isActor && IsEquipped(ID, "2020"))//诅咒,2020 { int Fame = DateFile.instance.GetActorFame(ID); if (Fame <= 0) { for (int i = 0; i < 4; i++) { BattleSystem.AddSp(false, i, -Fame / 20); } } } }
public static void Postfix(bool isActor) { int ID = DateFile.instance.MianActorID(); if (isActor && IsEquipped(ID, "2019"))//祝福,2019 { int Fame = DateFile.instance.GetActorFame(ID); if (Fame >= 0) { for (int i = 0; i < 4; i++) { BattleSystem.AddSp(true, i, Fame / 20); } } } }