Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

I bought the Independant Card Variables add-on for this plug in and I am having some issue.

Bottom line question: How do I put the actor’s attack stat (or more) into the card description?

If I try to init a variable like:

<Card Passives>
Var(0) init 34
</Card Passives>

It works fine. However, I want the value to be equal to the actor’s attack stat. I cannot do Eval with passives, so I was hoping this would:

<Card Passives>
Var(0) init $gameActors.actor(1).atk
</Card Passives>

But it doesn’t.

I tried to do so in actions as so:

<Card Actions>
Eval $gameVariables.setValue(101, $gameActors.actor(1).atk)
Var(0) set $gameVariables.value(101)
</Card Actions>

This successfully sets the game variable 101, but not the card variable. So I also tried this:

<Card Actions>
Var(0) set $gameActors.actor(1).atk
</Card Actions>

This also doesn’t work.

For context, here is the Skill Description:

Basic Attack. Deals \Var[0] damage.

Bonus question: My game will only have 1 party member (unless I add summons), but can I also do this with multiple party members?