KAftermathHealing 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: KAftermathHealing XP (/thread-9845.html) |
KAftermathHealing XP - kyonides - 10-02-2024 KAftermathHealing XP
by Kyonides
Introduction The title tells you what this scriptlet is all about: healing based on the battle aftermath. How does it work? It's very simple! Just set the values of a series of ranges, i.e. Code: HP_TOTAL_TURNS[min_value..max_value] = 100 ...and the system will check how many turns it actually took you to defeat your opponents. Did you need 11 turns to defeat some ghosts? Was there a range like 10..20 included in your hash? Does that range store 75 as its current value? Then you already know the answer here: it will pick that very same range and assign your heroes a 75% HP recovery rate! The Script Code: # * KAftermathHealing XP * # Terms & Conditions Free for use in ANY game. Due credit is mandatory! Include this forum in your game credits as well! That's it! |