New account registration is temporarily disabled.

TEINAAVA75'S PROFILE

Search

Filter

[RMMV] complex damage formula / script

The solution was found in an other forum.
If anyone is interested, the correct code was:
var members = allies.aliveMembers().filter(function(m) {return m.actorId() <= 4});
Topic can be closed, thanks Marrend for tried to help me.

[RMMV] complex damage formula / script

Thank you for taking the time to help me. Unfortunately that doesn't work.

The message :

ReferenceError: extraTargets is not defined

message:"extraTargets is not defined"
stack: (...)
get stack: function () { }
set stack: function () { }__proto__: Error

[RMMV] complex damage formula / script

Hello,
Thanks for your answer, but I don't quite understand what you mean. I should have said that I don't really know scripts.
Here is what I put inside the capacity:

<Custom Target Eval>
// Adds the selected target to the target list.
targets.push(target);
// Grab the group of alive foes as candidates.
var members = allies.aliveMembers();
// Remove the target from the group of candidates.
members.splice(members.indexOf(target), 1);
// This is the number of extra targets to select with Chain Lightning.
var extraTargets = 2;
// Loop the extra targets.
while (extraTargets--) {
  // Grab a random Allies from the alive foes.
  var member = members[Math.floor(Math.random() * members.length)];
  // Check to see if the member exists.
  if (member) {
    // Add the member to the group of targets.
    targets.push(member);
    // Remove the member as a viable candidate.
    members.splice(members.indexOf(member), 1);
  }
}
</Custom Target Eval>

I understand that the part I'm interested in is:
var members = allies.aliveMembers();

But I don't know what I should replace.
Something that uses the ID is actors? Or the position of the band members?

[RMMV] complex damage formula / script

Hello,
I've been stuck for hours on a formula embedded in a script using a plugin from Yanfly
I'm not familiar with scripts and I'm having a hard time configuring it the way I want, even if I think I'm close.
This is a tips & tricks (Chain Lightning), used so that an attack on a single target can reverberate on another target with reduced damage.
Here I want to use it for an equivalent in care.
My problem: the reverb should only hit one of my 4 heroes, but I'm using another plugin that allows me to summon creatures. Those creatures are therefore "friendly targets" but I don't want to include them.

The part of the formula that interests me seems to be this:

var members = allies.aliveMembers();

I would like to be able to specify that the allies who can be targeted are the members of groups 1, 2, 3 and 4.
Is it possible ?
Thanks to those who will help me.

(Translation made via google, please ask me to rephrase if necessary).

[RMMV] Alternative to MP

OK, thanks. I will look at it

[RMMV] Alternative to MP

Up
Please, i am blocked

[RMMV] Alternative to MP

Thank you for your reply. Could you give me the name of the yanfly plugin please?
I searched for a long time but English is not my strong point. Trying to understand each plugin is very complicated.

[RMMV] Alternative to MP

Hello,
I want to be able to change the MP on some of my characters, using a script for example.
MP is good for wizards, but I want to have a new mechanic on some characters.
For example, rage points for a warrior, energy points for a rogue, or whatever.
I can take care of how these points are generated. What I would like is to be able to change the mention "MP" to "RP" for example for rage. I also wish I could change the color of the MP bar (which would be red for rage).
Is it possible to change this only on certain characters? Or some class.
Thanks to anyone who will help me.
(Translation made via google, please ask me to rephrase if necessary).
Pages: 1