Szyu's Item Usage Redirection
Szyu's Item Usage RedirectionIntroduction
Redirects an items usage effect, when certain conditions are met.
Get it at Pastebin
How to Use
<usage_redirection> and </usage_redirection> mark the condition area in an Item's notes
In this block, you can add redirection with
id - conditionExample:
<usage_redirection>20 - class_id == 2</usage_redirection>In this example, the used item's effect is redirected to item, if the
target's class_id is 2
Possible conditions could be everything, that could be done with script call
or from Game_Battler as class (for example id for actor's id, or $game_variables)
Credits
Credits to Szyu if you plan to use this script.
Terms of Use
You are free to use this script for commercial and non-commercial projects. However I'd like you to inform me of the projects you are planning to use it in, so I can keep track of where my scripts are used.
本贴来自国际rpgmaker官方论坛作者:Szyu处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/szyus-item-usage-redirection.45686/
页:
[1]