Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 KBlockStates
#8
XP Targets Updated!

Since XP version 1.1.0 has been released, you are now able to pick a skill scope, namely All Enemies and configure a Skill by adding a specific State (+) to its States List and it will apply its effects on Dead Enemies only.

This is how the KBlockStates module looks like nowadays.

Code:
module KBlockStates
  NO_TARGET_FOUND = "%s failed to launch the attack."
  ATTACK_STATE = 17
  HEALING_STATE = 18
  NO_GUARD_STATE = 19
  SEALED_BAG_STATE = 20
  DEAD_ENEMIES_STATE = 23
  # Pick your favorite Blocked Target State IDs, i.e. [3, 5, 7]
  TOTAL_BLOCK_TARGET_STATES = [29]
  PARTIAL_BLOCK_TARGET_STATES = [30]
  def self.random_target_state_id
    pos = rand(TOTAL_BLOCK_TARGET_STATES.size)
    TOTAL_BLOCK_TARGET_STATES[pos]
  end
end

Pay attention to the DEAD_ENEMIES_STATE Constant because you need to set the right State ID for your game.
"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 }


Messages In This Thread
KBlockStates - by kyonides - 04-30-2023, 10:21 AM
RE: KBlockTarget ACE - by kyonides - 05-04-2023, 04:57 AM
RE: KBlockStates - by kyonides - 05-05-2023, 08:48 AM
RE: KBlockStates - by kyonides - 05-07-2023, 10:43 AM
RE: KBlockStates - by kyonides - 05-08-2023, 05:35 PM
RE: KBlockStates - by kyonides - 07-10-2023, 02:32 AM
RE: KBlockStates - by kyonides - 08-14-2023, 01:32 AM
RE: KBlockStates - by kyonides - 08-14-2023, 02:16 AM



Users browsing this thread: