じ☆ve冰风 发表于 2026-7-8 19:24:08

[MihailJP Plug-in] Include the target in the message when using the skill

Author: MihailJP from the JP forums
【プラグイン】スキル使用時のメッセージに対象を含める

スキル使用時のメッセージ欄に、スキルの対象を含められるようにします。 ファイル名にItemとありますが、アイテムにもメッセージ設定ができると勘違いしていた名残です。 使いどころがあるかは不明ですがどうぞよしなに。制作中のゲームの副産物です。使い方スキルのメッセージ欄に「%3」という文字列を含めます。%3 は実行時に使用対象に置き換えられます。 例えば、「%1は%3に斬りかかった!」とした場合、「ハロルドはこうもりAに斬りかかった!」のように表示されます。   挙動について...

                                        forum.tkool.jp                                




Allows the target of the skill to be included in the message field when using the skill.

How to use

[*]Include the string "% 3" in the skill's message field. % 3 is replaced with the intended use at runtime.
For example, if you say "% 1 is slashing at% 3!", It will be displayed as "Harold is slashing at bat A!".

About behavior

[*]When there are multiple targets, it is redundant because all the target names are connected by ",". This specification may change in the future.

Published on

GitHub.
https://github.com/MihailJP/mihamzplugin/blob/master/ItemTargetInMessage.js The

license is Unlicense.
https://github.com/MihailJP/mihamzplugin/blob/master/LICENSE.txt


本贴来自国际rpgmaker官方论坛作者:Kupotepo处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/mihailjp-plug-in-include-the-target-in-the-message-when-using-the-skill.127756/
页: [1]
查看完整版本: [MihailJP Plug-in] Include the target in the message when using the skill