So I've designed this enemy skill based around the fact that the enemy is giant pile of Gold Coins. The skill works like this: The enemy's HP get below a certain percentage and it wants to heal itself. What does it do? It steals gold from the party and uses it to replenish itself.
Pretty cool, right?
Well, I have worked out how to get it to do all that of that... for the most part.
The first time the enemy uses the skill it works beautifully... No problems what so ever.
But - Any subsequent attempts to heal itself ends in failure. The skill goes off, it run through all the same stuff, the variables seem to have the appropriate information, but the enemy is not healed and the action effect doesn't go off.
I don't know what to do... I've tried all I can think of.
Here is the Skill:
This is the Notetag:
And these are the Common Events that are used to pull the gold information and balance the amounts so the skill isn't too overpowered:
This is the parallel event that constantly updates itself so that the information is ready when needed...
This the common Event that the skill uses:
I honestly have no idea where I'm going wrong here and how to fix it... Any help would be great.
Pretty cool, right?
Well, I have worked out how to get it to do all that of that... for the most part.
The first time the enemy uses the skill it works beautifully... No problems what so ever.
But - Any subsequent attempts to heal itself ends in failure. The skill goes off, it run through all the same stuff, the variables seem to have the appropriate information, but the enemy is not healed and the action effect doesn't go off.
I don't know what to do... I've tried all I can think of.
Here is the Skill:
This is the Notetag:
Code:
<damage formula>
value = $gameVariables.value(165);
</damage formula>
<setup action>
display action
</setup action>
<target action>
motion Attack C: user
wait: 30
ACTION ANIMATION: all actors
WAIT FOR ANIMATION
COMMON EVENT: 81
wait: 10
animation 416: user
WAIT FOR ANIMATION
wait: 5
action effect: user
wait: 30
COMMON EVENT: 14
</target action>
And these are the Common Events that are used to pull the gold information and balance the amounts so the skill isn't too overpowered:
This is the parallel event that constantly updates itself so that the information is ready when needed...
This the common Event that the skill uses:
I honestly have no idea where I'm going wrong here and how to fix it... Any help would be great.