Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 KDamage States Edition
#1
KDamage States Edition
XP + VX + ACE

by Kyonides

Introduction

A forumer once asked for a script (or anything else) that could allow the heroes to lose a state ONLY if it had been predefined by game developer to do that. The default option of relying on the Damage Chance did not satisfy the game's particular needs.

For XP

To make sure that just a FEW states will be removed by physical damage, just add as many State ID's to the following Constant:

Code:
STATES_HIT_REMOVE = [2,3,4,7,9]

To keep a State even if it should be removed by walking until a certain level has been reached, go add it to this Constant. Level is Customizable!
Basic Format: { StateID1 => Level, etc. }

Code:
STATES_KEEP_WALKING = { 5 => 3, 14 => 9 }

Other States will be treated as usual.

For Both VX & VX ACE

Well, here's a solution that uses a very simple Note Tag to make it happen IF & ONLY IF the Note Tag is present in that State's Note Box.

To make sure that just a FEW states will be removed by physical damage, just leave the following Note in the State Note Box:

Code:
<damage deletes state>

For VX

To keep a Slip Damage State UNTIL the hero has reached a certain Level, go leave this other Note. Level is Customizable!

It won't remove the state...

For VX ACE

To keep a State even if it should be removed by walking until a certain Level has been reached, go leave this other Note. Level is Customizable!

Code:
<keep walking lvl 3>


Terms & Conditions

Free for use in any game. Gamer
Due credit is mandatory.
That's it! Tongue sticking out
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Kolloseum States XP kyonides 55 64,278 02-26-2019, 08:28 AM
Last Post: kyonides
   Unalterable States DerVVulfman 0 3,657 01-22-2019, 01:04 AM
Last Post: DerVVulfman
   States : Expiration States Kain Nobel 1 5,940 01-26-2017, 09:45 PM
Last Post: Noctis
   DVV's States Rotation DerVVulfman 5 8,884 04-21-2016, 05:41 AM
Last Post: DerVVulfman
   DoubleX RMMV Permanent States DoubleX 4 8,319 12-02-2015, 08:48 AM
Last Post: DoubleX
   DoubleX RMVXA Permanent States DoubleX 1 5,487 07-21-2015, 01:19 PM
Last Post: DoubleX
   Tiered States MechanicalPen 10 16,288 08-08-2013, 03:36 AM
Last Post: Karindanslav
   States : Toggle Kain Nobel 0 4,543 10-09-2012, 05:22 PM
Last Post: Kain Nobel
   States : Spread Kain Nobel 0 4,302 10-09-2012, 05:04 PM
Last Post: Kain Nobel
   Victor Engine - Action States Victor Sant 0 4,247 07-17-2012, 05:04 AM
Last Post: Victor Sant



Users browsing this thread: