![]() |
|
+- Save-Point (https://www.save-point.org) +-- Forum: Games Development (https://www.save-point.org/forum-4.html) +--- Forum: Code Support (https://www.save-point.org/forum-20.html) +--- Thread: |
How do I make skills that never miss, and a status that causes skills to never miss? - Ace_V - 02-15-2026 Hey, all. So I've got a twofold request for RMXP: 1. How do I make a skill that never misses regardless of the enemy's evasion rate? 2. How can I make a status effect that also grants that property for all the character's skills? I've recently added several monsters into my game that have high to extremely high evasion values (70+) with the intent that the player would need to bring along a certain character who had a skill named Sure Shot. Additionally that character could also gain a skill (Raise Confidence?) that gives a teammate a status effect called Sharpshooter that grants all their skills the same property for the next 2 turns. Perhaps that character can also later gain a skill that grants the entire party the status for 2 turns. (I have kyonides' Super Skill Nerf implemented in my game, so this could be that character's single-use ultimate.) RE: How do I make skills that never miss, and a status that causes skills to never miss? - DerVVulfman - 02-15-2026 FIRST... its 2am and I just cobbled this together. Code: module NoEvadeSecond, the system is designed so enemies themselves are subject to not being able to evade (stats like fumble, clumsy, etc)... not the actors themselves. CODE IN GAME_BATTLER: Code: def cant_evade?The skill_effect method asks for the skill ID and the user/caster of the skill. As it can check the ID of a 'skill', it might be possible to check the status effect of the 'user'. Just needs a bit more code as there is no flagged status effect so an attack is evasion-proof. But I gotta hit the sack. And I got writing tomorrow (joy). EDIT: Heck with it. I just made a new script and its in the Script's Database.
RE: How do I make skills that never miss, and a status that causes skills to never miss? - Ace_V - 02-17-2026 Ooh! Thank you so much DerVVulfman! I'll go look up the full script! Happy Lunar New Year to everyone! RE: How do I make skills that never miss, and a status that causes skills to never miss? - Ace_V - 02-18-2026 I finished making the new spells, status, and animation sheets for the new moves, and then implemented and tested the script out and it works perfectly! Thanks again, DerVVulfman! |