じ☆ve冰风 发表于 2026-7-23 12:49:18

Effect: Add self state

This effect adds a state to the user of a skill/item when you successfully hit the enemy.

Nothing happens if you don't hit the enemy though.

Download

Get it at Hime Works!

Installation

Place this script below Effect Manager and above Main

Usage

Tag items or skills with

<eff: add_self_state stateID probability>Where `stateID` is the ID of the state to apply`probability` is the chance that it will be added, as a float

For example,

0 is 0%

0.5 is 50%

1 is 100%

                Code:       
<eff: add_self_state 34 0.6>

Means there is a 60% chance of adding state 34 to the skill's user, upon successfully hitting the target.


本贴来自国际rpgmaker官方论坛作者:Tsukihime处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/effect-add-self-state.11920/
页: [1]
查看完整版本: Effect: Add self state