Yanfly's Damage Core

I am trying to make a skill that uses the stats of other party members outside of the user (a) and target (b) parameters. If there is a solution outside of using Yanfly's Damage Core, I am completely open to trying it, but it seems like this plugin is my best bet if it is even possible.

Basically, I want to be able to call upon the attack stat of a specific party member using something like actor(1), or even the entire party.

This is what I have tried using the plugin, but it does not work. Would someone be able to help me find the coding language I need to do something like this. Or is it just impossible?

<damage formula>
value = actor(1).atk;
</damage formula>
Might be something like

value = $gameParty.members()[1].actorId().atk

Perhaps? That's for the actor in party slot 2, for example..
Try this: $gameActors.actor(1).atk;
Hey Thanks for the reply.

I haven't had chance to test any of these yet, but I thought I should make a clarifying post.

I know I said I'd like to use the actor ID as an identifier, but it occurred to me that I would need to use party members so that the stat is called for whichever actor is currently in my party.

Thanks, again.
Thanks, Palin, your formula works. But, It calls upon the stat on an actor regardless of whether they are in the battle or not. This could be useful in some situations.

What I wanted was to call upon the stats of other party members, regardless of which characters they were.


value = ($gameParty.members()[0].atk + $gameParty.members()[1].atk + $gameParty.members()[2].atk + $gameParty.members()[3].atk);

This is the formula that worked for my purpose if anyone is interested.

Thanks so much for the help guys.

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-damage-core.86509/