Introduction
Lots of players love to customization in games. It lets them put a bit of a personal touch in the games they like to play, and what a better way to do that than through Stat Allocation? With the Stat Allocation, players can alter the amount of MaxHP, MaxMP, ATK, DEF, etc. through a new resource, AP, which stands for Allocation Points. AP is usually gained through leveling up and is then used to boost stats!
很多玩家都喜歡在游戲中自定義屬性色查,在他們喜歡的游戲中加入了個人風(fēng)格粗梭,還有什么比屬性加點(diǎn)更好的方式呢惕耕?通過屬性加點(diǎn),玩家可以通過屬性點(diǎn)來改變MaxHP,MaxMP班眯,ATK,DEF等。屬性點(diǎn)通常通過升級獲得蓖柔,然后用于提升數(shù)據(jù)!
However, if AP is not your thing, you can also allocate stats through JP (using the Job Points plugin) or through items! This plugin gives you, the game dev, three different ways to allocate stats with!
但是风纠,如果不使用屬性點(diǎn)况鸣,你也可以通過JP(使用Job Points插件)或通過物品分配屬性!這個插件為游戲開發(fā)者提供了三種不同的方式竹观!
Stat Allocation in this plugin is tied to classes and not actors as a whole. This means that the allocation build that an actor can vary depending on the class the actor currently is. This means the player can experiment with multiple allocation builds instead of a one-size fits all allocation build if class changing is involved.
此插件中的屬性分配與類綁定镐捧,這意味著角色的分配可以根據(jù)actor當(dāng)前所在的類而變化潜索。這意味著如果涉及類更改,則玩家可以建立多種分配模式懂酱,而不是一個固定方式竹习。
Classes can also offer different parameters to allocate points into, too. A warrior class may give options for ATK and DEF while a mage class can give options for MaxMP or MAT. This can be done through the usage of notetags for each class.
類也可以提供不同的參數(shù)來分配點(diǎn)。warrior類可以為ATK和DEF提供屬性列牺,而mage類可以為MaxMP或MAT提供屬性整陌。這可以通過使用每個類的notetag來完成。
You can adjust the allocation rules for how each stat, too, from the name to the icon to the cost to the effect to the maximum number of times the stat can be allocated into. These can all be done through the plugin parameters.
您可以調(diào)整每個屬性的的加點(diǎn)規(guī)則瞎领,從名稱到圖標(biāo)泌辫,從消耗到效果,再到可以分配屬性次數(shù)默刚。這些都可以通過插件參數(shù)完成甥郑。
Notetags
If you want to give certain classes different stats to allocate into, use the following notetag setups:
如果要為某些類分配不同的屬性,請使用以下notetag設(shè)置:
Class Notetags:
<Stat Allocation: x, x, x>
<Stat Allocation>
x
x
x
</Stat Allocation>
– Replace ‘x’ with a stat to add it to a list of parameters that players can allocate points into. Insert as many ‘x’ entries as you need. They will appear in the menu in the order they’ve been placed. Unaffiliated stats will not appear in the menu. Use any of the stats below:
- 將'x'替換為stat荤西,將其添加到玩家可以分配點(diǎn)的參數(shù)列表中澜搅。根據(jù)需要插入盡可能多的“x”條目。它們將按照它們放置的順序出現(xiàn)在菜單中邪锌。菜單中不會顯示無關(guān)聯(lián)的信息勉躺。可以使用以下任何數(shù)據(jù):
—
Param: Stands for:
mhp Max HP
mmp Max MP
atk Attack
def Defense
mat Magic Attack
mdf Magic Defense
agi Agility
luk Luck
XParam:
hit Hit Rate
eva Evasion Rate
cri Critical Hit Rate
cev Critical Evasion Rate
mev Magic Evasion Rate
mrf Magic Reflection Rate
cnt Counterattack Rate
hrg HP Regeneration Rate
mrg MP Regeneration Rate
trg TP Regeneration Rate
SParam:
tgr Target Rate
grd Guard Effect Rate
rec Recovery Rate
pha Pharmacology (Item Effectiveness)
mcr MP Cost Rate
tcr TP Charge Rate
pdr Physical Damage Rate
mdr Magical Damage Rate
fdr Floor Damage Rate
exr Experience Rate
—
These can be inserted into the ‘Default Parameters’ plugin parameter, too, to change up the default listing and make it apply to every class that does not have their own unique notetag setup.
這些也可以插入到“默認(rèn)參數(shù)”插件參數(shù)中觅丰,以更改默認(rèn)列表并使其適用于沒有自己獨(dú)特的notetag設(shè)置的每個類饵溅。
Main Menu Manager – Positioning the Allocate Command
For those using the Main Menu Manager and would like to position the Allocate command in a place you’d like, use the following format:
對于那些使用主菜單管理器并希望將加點(diǎn)命令放在您想要的位置的人,請使用以下格式:
Name: Yanfly.Param.StatAlcCmdName
Symbol: statAllocate
Show: $gameSystem.isShowStatAllocate()
Enabled: $gameSystem.isEnableStatAllocate()
Ext:
Main Bind: this.commandPersonal.bind(this)
Actor Bind: SceneManager.push(Scene_StatAllocation)
Insert the above setup within a Main Menu Manager slot. Provided you copy the exact settings to where you need it, it will appear there while using all of the naming, enabling, disabling, hiding, and showing effects done by the plugin parameters.
將上述設(shè)置插入主菜單管理器插槽中妇萄。如果您將確切的設(shè)置復(fù)制到您需要的位置蜕企,它將在使用所有命名,啟用冠句,禁用轻掩,隱藏和顯示插件參數(shù)完成的效果時顯示。
Remember to turn off ‘Auto Add Menu’ from the plugin parameters.
請記得從插件參數(shù)中關(guān)閉“自動添加菜單”懦底。
Plugin Commands
You can use the following plugin commands for various Stat Allocation related effects in your game!
您可以使用以下插件命令在游戲中進(jìn)行各種加點(diǎn)效果唇牧!
Plugin Commands:
ShowStatAllocate
HideStatAllocate
– This will show or hide the main menu’s Stat Allocation command.
- 這將顯示或隱藏主菜單的命令。
EnableStatAllocate
DisableStatAllocate
– This will enable or disable the main menu’s Stat Allocation command.
- 這將啟用或禁用主菜單的命令聚唐。
ShowRevertAllocate
HideRevertAllocate
– This will show or hide the Allocation scene’s ‘Revert’ command.
- 這將顯示或隱藏分配界面的“恢復(fù)”命令丐重。
EnableRevertAllocate
DisableRevertAllocate
– This will enable or disable the Allocation scene’s ‘Revert’ command.
- 這將啟用或禁用分配界面的“恢復(fù)”命令。
Lunatic Mode – Script Calls
You can use the following script calls to give actors extra AP to use.
您可以使用以下腳本為角色提供額外的屬性點(diǎn)使用杆查。
Script Calls:
var actor = $gameActors.actor(actorId);
actor.gainBonusAp(x, classId);
– Replace ‘a(chǎn)ctorId’ with the ID of the actor you wish to affect. Replace ‘x’ with the amount of AP you wish to apply to the actor. Replace ‘classId’ with the ID of the class you wish to give AP to. You can keep ‘classId’ as 0 to make it affect the actor’s current class.
- 將'actorId'替換為您想要影響的角色的ID扮惦。將'x'替換為您希望應(yīng)用角色的屬性點(diǎn)數(shù)量。將'classId'替換為您希望給屬性點(diǎn)的類的ID亲桦。您可以將'classId'保持為0径缅,以使其影響actor的當(dāng)前類掺栅。
var actor = $gameActors.actor(actorId);
actor.setBonusAp(x, classId);
– Replace ‘a(chǎn)ctorId’ with the ID of the actor you wish to affect. Replace ‘x’ with the amount of AP you wish to set the actor’s AP to. Replace ‘classId’ with the ID of the class you wish to set the AP to. You can keep ‘classId’ as 0 to make it affect the actor’s current class.
- 將'actorId'替換為您想要影響的角色的ID。將'x'替換為您希望將actor的屬性點(diǎn)設(shè)置量纳猪。將'classId'替換為您要將AP設(shè)置為的類的ID。您可以將'classId'保持為0桃笙,以使其影響actor的當(dāng)前類氏堤。