KSkillNeedState XP

KSkillNeedState XP
Version 0.4.0

by Kyonides Arkanthes
​

Introduction

Aluxes alias Alex can't get things to work properly the first time so you better help him adquire a specific state to be able to cast his world famous anti-ghost skill Cross Cut. This scriptlet will make it possible!

Adjust the values of the SKILL_STATE_IDS and NOT_STATE_IDS Constants at will.
Ruby:
# { SkillID1 => StateID1, etc. }
module KSkillNeedState
  ANTI_PHYS_STATE_ID = 19
  SKILL_STATE_IDS = { 57 => 17 }
  NOT_STATE_IDS = { 57 => 18 }
end


Terms & Conditions

Free as in beer.
Include my nickname in your game credits.
A Quick Update!​

Today I have revisited these scripts to make sure they will be updated in a single place only. Then I noticed 😅 that the RMXP port did not allow you to set different state requirements for different skills.

That made me feel the urge to upgrade it and now it offers you a Hash that will let you set as many Skill-State requirements as deemed necessary! 😀
A Quick Update Part 2!​

I got even more inspiration as to include another interesting feature: the minus states!

Normally, that would remove a state, but in this context it stands for the states the Skill needs you NOT to have acquired before selecting your skill. 😛

I have included an additional Constant to let you manage this new negative requirements. 😮
RMXP Port Got Upgraded!
And its Heroes Aren't Happy About That!
​

From now on, you can set the ANTI_PHYS_STATE_ID Constant to any State ID and it will turn it into some terrible anti-physical state that won't let Alex use any of his physical skills like Cross Cut. :S

The same would happen to Basil or any other brave 😅 warrior. 😮

Original thread: https://forums.rpgmakerweb.com/threads/kskillneedstate-xp.154514/