haixia wrote: ↑Thu Apr 01, 2021 12:21 pmyeah just changeNewUI_Reward.instance.AskForCharge(base.gameObject, "UPGRADE " + this.GetTypeName(), "Upgrade this " + this.GetTypeName(), 0, (27500 * this.CurrentSelCard.MyRank) / this.GetInClassMuti(), (2750 * this.CurrentSelCard.MyRank) * this.GetInClassMuti(), -1, 0, "", true, "");
to something likeNewUI_Reward.instance.AskForCharge(base.gameObject, "UPGRADE " + this.GetTypeName(), "Upgrade this " + this.GetTypeName(), 0, 1, 1, -1, 0, "", true, "");
maybe
I did it like this for me and it works it is not 1 Gold like in crafting but it reduces the cost from 1M to around 54 Gold for level 15.
Code: Select all
NewUI_Reward.instance.AskForCharge(base.gameObject, "UPGRADE " + this.GetTypeName(), "Upgrade this " + this.GetTypeName(), 0, (1 + this.CurrentSelCard.MyRank) * this.GetInClassMuti(), (1 + this.CurrentSelCard.MyRank) * this.GetInClassMuti(), -1, 0, "", true, "");