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?
MV Help I'm having a big problem with <Action Sequences> enemies not dying!!!
Javascript/Plugin Supportscreenshot? 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
really not giving us alot to go on here
Sounds like you're missing a step in the sequence that turns immortality off. Post the whole sequence here so that we can confirm.
//---------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>
<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?
Add
"immortal: targets, false"
under
"zoom: 130%"
"immortal: targets, false"
under
"zoom: 130%"
I think this is the default <finish action>:
So you may want to add those other lines in there as well~
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>
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.
I will add this to my finish action, Thanks
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>
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.
Original thread: https://forums.rpgmakerweb.com/threads/help-im-having-a-big-problem-with-action-sequences-enemies-not-dying.127970/