This script adds the option of having a character execute specified skills on the end of turn or action.
Download
here.
(updated to v1.3)
Installation
Put this script below Materials and above Main.
Usage
Tag a feature object (actors, classes, enemies, weapons, armors, or states) with any of the specified notetags:
<end turn skill: skill_id><end action skill: skill_id>where skill_id is the skill that will be used on turn or action end.For example, tagging Poison state with
<end turn skill: 10>will make battlers inflicted with Poison utilize skill number 10 (Shock) on turn end.By default, normal restrictions for the skill (MP/TP cost, weapon restrictions, skill seals) also apply. If you want the battler to execute the skill even when he is normally unable to, add "forced" to the notetag.
For example, tagging Stun state with
<end action skill: 94, forced>will make a stunned battler execute skill number 94 (Zero Storm) on action end, even when stunned or otherwise unable to.*New in 1.3*
You can also add an option for the skill to have a percentage chance to be used.
For example,
<end turn skill: 24, chance: 50>will result in the battler having a 50% chance to use meditate.You can use any of the options at the same time. Separate the options with at least a comma.
Code:
- <end turn skill: 66, forced, chance: 33><end turn skill: 13, chance: 90, forced>
复制代码
本贴来自国际rpgmaker官方论坛作者:ShadowLurk处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/auto-skill-on-turn-action-end.24843/