RMMV Help I'm having a big problem with <Action Sequences> enemies not dying!!!

STARFALL

STARFALL
Veteran
Joined
Jul 6, 2020
Messages
53
Reaction score
7
First Language
spanish
Primarily Uses
RMMV
I'm having a fatal problem, when I use a skill that has <action sequences> the enemies don't die !!! Could this be due to the database being corrupted?
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
502
Reaction score
192
First Language
english
Primarily Uses
RMMV
screenshot? more details of the sequence? is it only a specific enemy or is it any enemy?
really not giving us alot to go on here
 

Alistair

Treasure Hunter
Veteran
Joined
Jun 15, 2014
Messages
283
Reaction score
196
First Language
English
Primarily Uses
RMMV
Sounds like you're missing a step in the sequence that turns immortality off. Post the whole sequence here so that we can confirm.
 

STARFALL

STARFALL
Veteran
Joined
Jul 6, 2020
Messages
53
Reaction score
7
First Language
spanish
Primarily Uses
RMMV
screenshot? more details of the sequence? is it only a specific enemy or is it any enemy?
really not giving us alot to go on here
//---------SKILL EVAL---------------

<Pre-Damage Eval>

user._criticalCount = $gameVariables.value(1);

var ArcanePotencial = ( user._criticalCount * 0.5) * ( user.mat * 3) - ( target.mdf * 2) + 1;

//set damage to (x)

value = Math.floor(ArcanePotencial);

</Pre-Damage Eval>



<After Eval>

$gameVariables.setValue(1,0);

</After Eval>



//----------ACTION SEQUENCE---------



<whole action>

camera focus: target, 15

common event: 29

zoom: 190%, 15

wait: 10

common event: 30

</whole action>



<target action>

zoom: 130%, 60

action animation: target

wait: 25

common event: 27

wait: 15

shockwave: center target, amplitude 30

action effect: target

wait: 30

common event: 28

</target action>



<follow action>

wait for animation

</follow action>



<finish action>

zoom: 130%,

</finish action>

This is the skill and its <custom tag>. Do you want me to send a picture of the pluing I use?

Screenshot (38).png
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
1,929
Reaction score
1,372
First Language
EN
Primarily Uses
RMMZ
I think this is the default <finish action>:
Code:
<finish action>
immortal: targets, false
wait for new line
clear battle log
perform finish
wait for movement
wait for effect
action common event
</finish action>
So you may want to add those other lines in there as well~
 

STARFALL

STARFALL
Veteran
Joined
Jul 6, 2020
Messages
53
Reaction score
7
First Language
spanish
Primarily Uses
RMMV
Add
"immortal: targets, false"
under
"zoom: 130%"

Yes it worked !! Thank you very much. But could you explain to me when
the battler obtained the status of immortal because I did not put it anywhere.
 

STARFALL

STARFALL
Veteran
Joined
Jul 6, 2020
Messages
53
Reaction score
7
First Language
spanish
Primarily Uses
RMMV
I think this is the default <finish action>:
Code:
<finish action>
immortal: targets, false
wait for new line
clear battle log
perform finish
wait for movement
wait for effect
action common event
</finish action>
So you may want to add those other lines in there as well~
I will add this to my finish action, Thanks
 

Alistair

Treasure Hunter
Veteran
Joined
Jun 15, 2014
Messages
283
Reaction score
196
First Language
English
Primarily Uses
RMMV
Yes it worked !! Thank you very much. But could you explain to me when
the battler obtained the status of immortal because I did not put it anywhere.
Similar to what @caethyril showed you, the different parts of the action sequence have default commands inside of them. For example, the default <Finish Action> of a sequence has all of the things that @caethyril posted in it. When you use <Finish Action> in your skill you overwrite the default one! So when I use
Code:
<Finish Action>
</Finish Action>
I would replace the default <finish action> with a finish action that is completely empty! So immortality is never turned off again because my custom finish action doesn't do that anymore.

The reason why your enemies were immortal in the first place is the default behavior of the <Setup Action>. Since you didn't define a custom <Setup Action> in your skill, the skill will use the default one and the default one does the following things:

['CLEAR BATTLE LOG'],
['DISPLAY ACTION'],
['IMMORTAL', ['TARGETS', 'TRUE']],
['PERFORM START'],
['WAIT FOR MOVEMENT'],
['CAST ANIMATION'],
['WAIT FOR ANIMATION']

As you can see in the third line, <Setup Action> automatically activates immortality.
 

STARFALL

STARFALL
Veteran
Joined
Jul 6, 2020
Messages
53
Reaction score
7
First Language
spanish
Primarily Uses
RMMV
Similar to what @caethyril showed you, the different parts of the action sequence have default commands inside of them. For example, the default <Finish Action> of a sequence has all of the things that @caethyril posted in it. When you use <Finish Action> in your skill you overwrite the default one! So when I use
Code:
<Finish Action>
</Finish Action>
I would replace the default <finish action> with a finish action that is completely empty! So immortality is never turned off again because my custom finish action doesn't do that anymore.

The reason why your enemies were immortal in the first place is the default behavior of the <Setup Action>. Since you didn't define a custom <Setup Action> in your skill, the skill will use the default one and the default one does the following things:

['CLEAR BATTLE LOG'],
['DISPLAY ACTION'],
['IMMORTAL', ['TARGETS', 'TRUE']],
['PERFORM START'],
['WAIT FOR MOVEMENT'],
['CAST ANIMATION'],
['WAIT FOR ANIMATION']

As you can see in the third line, <Setup Action> automatically activates immortality.

WOW I had no idea about that, I'll always keep it in mind!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Its been almost 6 months since i've been here last and 5 years before that. the worst part is losing the game you were working on in a cpu fire.

Well time to go at it again.
my game is coming together im so happy
In this day and age, i might switch back to RMXP. I’ve lost faith in all the new plugins.
Wow it's been forever since I last logged in! I STILL want to make a game... I'll start it one day for sure!! It's a dream of mine.
This days I couldn't do anything... My mind is so confused and I couldn't work at all, I only wanted to play video games with my friends and that made all my projects delay a lot. Someone else feels this kind of thing sometimes? :/

Forum statistics

Threads
104,286
Messages
1,005,259
Members
135,796
Latest member
PurplexiaSphinx
Top