[한화] YEP.155 – Lunatic Pack – Skill Rewards

4218 단어
Introduction
This plugin requires the following plugins:
– Battle Engine Core – Skill Core 플러그인에는 다음 플러그인이 필요합니다. Battle Engine Core\Skill Core 지원
Place this plugin beneath the above listed plugins in the plugin manager.
이 플러그인을 플러그인 관리자의 상기 플러그인 아래에 놓으십시오.
This plugin allows you to add a variety of effects to your items and skills to reward the player for good (or bad) gameplay. Certain effects can only trigger under specific conditions, such as defeating the target, landing a critical hit, or striking the target’s weakness. After these conditions have been met, the effects can range from refunding skill costs, adding buffs, removing debuffs, or even applying states.
이 플러그인은 유저의 행동을 보상하기 위해 다양한 효과와 스킬을 추가할 수 있습니다.어떤 효과는 특정 조건하에서만 촉발할 수 있으며, 예를 들어 목표를 격파하면 회심일격 또는 상대방을 자제할 수 있다.이러한 조건에 도달하면 효과를 촉발합니다. 예를 들어 스킬 소모를 반환하고 BUFF를 증가하며 해로운 효과를 제거하고 심지어 상태를 획득합니다.
NOTE: This plugin is best used with RPG Maker MV version 1.5.0+. You can still use this plugin with a lower version number, but you will have a much harder time altering the plugin parameters without it.
참고: 이 플러그인은 RPG 메이커 MV 버전 1.5.0+에 사용됩니다.
Notetags
For updated versions of the notetags, please refer to the plugin’s helpfile.
설명 명령은 플러그 인의 도움말 파일을 참조하십시오.
Lunatic Mode – Effect Code
For experienced users that know JavaScript and have RPG Maker MV 1.5.0+, you can add new notetag effects that can be used by the plugin or alter the effects of currently existing notetag effects from the plugin parameters entry: Effect Code. It should look something like this:
JavaScript에 익숙한 사용자는 다음과 같은 사용자 정의 모드를 사용할 수 있습니다.

// ----------
// Flat Gains
// ----------
if (data.match(/([\+\-]\d+)[ ]HP/i)) {
 value = parseInt(RegExp.$1);
 user.gainHp(value);
 animation = animation || hpAnimation;

} else if (data.match(/([\+\-]\d+)[ ]MP/i)) {
 value = parseInt(RegExp.$1);
 user.gainMp(value);
 animation = animation || mpAnimation;

...

// -------------------------------
// Add new effects above this line
// -------------------------------
} else {
 skip = true;
}
—

Here’s what each of the variables used in this code bit refer to:
  --------------------   ---------------------------------------------------
  Variable:              Refers to:
  --------------------   ---------------------------------------------------
  item                   The item being used by this action
  skill                  The skill being used by this action

  isItem                 Returns true if action is an item
  isSkill                Returns true if action is a skill

  a                      Returns the action user
  user                   Returns the action user
  subject                Returns the action user

  b                      Returns the action's current target
  target                 Returns the action's current target

  s[x]                   Return switch x (true/false)
  v[x]                   Return variable x's current value

  user._result           The current results for the user
  target._result         The current results for the target
  userPreviousResult     The results for the user before any changes
  targetPreviousResult   The results for the target before any changes

  animation              The animation to be played. You can set it equal to
                         any of the following which corresponds to plugin
                         parameter settings:
                         - hpAnimation
                         - mpAnimation
                         - tpAnimation
                         - itemAnimation
                         - buffAnimation
                         - debuffAnimation
                         - addStateAnimation
                         - removeStateAnimation
                         - miscAnimation

  skip                   Default: false. If true, skips popups & animations
—

If you need to revert the Effect Code back to its original state, delete the plugin from your plugin manager list and then add it again. The code will be back to default.
효과를 원래 상태로 복원하려면 플러그인 관리자 목록에서 플러그인을 제거하고 다시 추가하십시오.
Happy RPG Making!

좋은 웹페이지 즐겨찾기