TroyZ - States Hit Count Removal
[VXAce] Version 1.0
[VXAce] Update Version 1.1
Original Link
http://13th-info.blogspot.com/2013/06/troyz-states-hit-count-removal.html
How this work
This script will give you an ability to create states that removed at a certain hit count and certain probability.
Screenshot
Sorry, no screenshot. I dunno how to screenshot this one.
How to use
Version 1.0
Place it between material and main. Use this notetags inside states :
<remove by hit: x><remove by hit chance: y>The states that have this notetags will be removed when the affected battler suffers the x total hits at y% probability. You don't have to write the percent sign at y, just put the number actually. For example, a state have this notetags :
<remove by hit: 3><remove by hit chance: 50>The state will be removed when the affected battler suffers 3 hits from enemies. When the battler get 3 hits from enemies, the state will be removed at 50% chance.
Version 1.1
I've made a slight change to the script so that it'll be compatible with YEA - Passive States. In previous version, when a passive states are active on battler and the battler get even a single hit from enemy, an error occured. This error occured because the passive states didn't have any hit counter applied, and this script reduce the counter itself. And also, passive states are not allowed to be removed unless the battler dies. Version 1.1 has bugfix for this. In order for the passive states to not be removed when the battler get hits, put this notetag inside the passive states:
<passive>The <passive> notetag will prevent it from getting removed by hit. Remember, put the <passive> notetag ONLY inside the passive states.
How to config
Nothing to config, except the notetags itself.
Compatibility Issues
- YEA - Passive States, the passive states getting removed even only by single hit. Version 1.1 has bugfix for this. Put this script below YEA - Passive States.
Who To Credit
- Allah swt. : For the chance of living that he has given to me.
- Prophet Muhammad saw. : As a leader and messenger and prophet of Muslim. I'm proud to be your follower.
- Agung Prasetyo(TroyZ) : Thats me, of course, the ones that made this script.
License
- Free Game : Just credit those names above.
- Commercial Game : Same as free game's license.
Download
Script Only Version 1.0
Script Only Version 1.1
本贴来自国际rpgmaker官方论坛作者:TroyZ处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/troyz-state-hit-count-removal-1-0-1-1.14229/