じ☆ve冰风 发表于 2026-7-30 20:20:07

Party Member Costs

http://www.himeworks.com/blog/wp-content/uploads/2014/03/partyMemberCosts1.jpg


This script introduces the concept of “Member Cost”, which is the cost to have a member in your unit. The cost to have actors in the party is referred to as ”Party Cost”.


A party has a “Max Party Cost” property that is used to determine whether you can afford to have an actor in the party or not.


The “Total Party Cost” is the sum of all costs for each actor. If the total party cost exceeds the max party cost, then actors cannot be added to the party.


For example, if the total party cost is 10, the max party cost is 15, and you try to add an actor with a cost of 6 to the party, the actor will not be allowed to join the party because the total cost would then become 16.


Get it at Hime Works


本贴来自国际rpgmaker官方论坛作者:Tsukihime处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/party-member-costs.25233/
页: [1]
查看完整版本: Party Member Costs