New account registration is temporarily disabled.

IS IT POSSIBLE TO MAKE A SKILL LIKE "BLADE BEAM" IN VX ACE?

Posts

Pages: 1
I'm making a de-make version of Final Fantasy VII in Vx Ace, and just wondering how I could get the effect of Blade Beam, where it hits one opponent for normal damage and then all other foes get hit with an attack which is 50% of the normal damage output.

I've looked through the scripts available here but nothing seems to fit quite under the effect what I'm trying to get at.
Marrend
Guardian of the Description Thread
21806
I'm not sure about relaying damage to the targets that are not the main target, but, I've got a base-line idea of how it could work. The thought in my head is to use a mini-script. So, like, you'd put in something like...
blade_beam(100, a, b)
...this for the damage calculation. Which, in turn, calls a function that might look like...
def blade_beam(base, a, b)
  i = 0
  while i < $game_troop.members.size
    enemy = $game_troop.members[i]
    if enemy != b
      enemy.hp -= base/2 + 2*a.atk - enemy.def
    end
    i += 1
  end
  return base + 4*a.atk - 2*b.def
end
...this???
What I've done in the past is to have one skill trigger another. So the initial skill is a single target attack, and it triggers another skill which is the multi target attack.
Not quite what you want here, unless you want the initial target to be hit twice.
Common event in a skill runs last btw, after all other effects of the skill.
Thanks for the responses. I like Marrend's script but for some reason it considered the battle won as soon as the first enemy had been defeated, it didn't wait for all of them to be killed. I didn't know scripts could be called in battle formulas like that.

I ended up settling for a similar approach to Coelocanth's. It has a common event to perform Blade Beam, a separate skill with a higher defense formula, on each individual target.

Thanks for the help. :)
Marrend
Guardian of the Description Thread
21806
The method I wrote has all the damage done simultaneously to all available targets. The return value at the end would just generate a message for the damage dealt to the initial target.
Pages: 1