KSkillNeedState XP - Printable Version +- Save-Point (https://www.save-point.org) +-- Forum: Material Development (https://www.save-point.org/forum-8.html) +--- Forum: Scripts Database (https://www.save-point.org/forum-39.html) +---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html) +---- Thread: KSkillNeedState XP (/thread-8660.html) |
KSkillNeedState XP - kyonides - 01-29-2023 KSkillNeedState XP
by Kyonides
Introduction Do you need to restrict the usage of a skill by forcing the hero to get a specific state first? Now you can do that! :D In XP's case Adjust the values of the SKILL_STATE_IDS Constant at will. Example: { SkillID1 => StateID1, etc. } Code: module KSkillNeedState Terms & Conditions Free as in beer. Include my nickname in your game credits. RE: KSkillNeedState - kyonides - 06-21-2023 A Quick Update Part 1!
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! RE: KSkillNeedState - kyonides - 06-22-2023 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. For the XP port I have implemented a brand new Constant. In the VX & VX ACE ports, a new note tag has been added! All the 3 scripts have been updated and tested thoroughly!
RE: KSkillNeedState - Steel Beast 6Beets - 06-22-2023 I tried the demo and I've got a question: is it possible to set one state for several skills? I want to create an ailment that works like silence/mute but for physical skills. RE: KSkillNeedState - kyonides - 06-23-2023 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. The same would happen to Basil or any other brave warrior. RE: KSkillNeedState - kyonides - 06-23-2023 RMVX is Also Suffering Now!
What happened there is that you can also make your heroes suffer by being inflicted with the anti-physical state thanks to the ANTI_PHYS_STATE_ID Constant. Yes, the very same feature available on RMXP has been ported to VX as well! RE: KSkillNeedState - Steel Beast 6Beets - 06-23-2023 I tested it and works perfectly. Now, time to choose an icon and a name for the ailment. Time to hit the usual wikis for inspiration. |