I've been running into an issue trying to use Yanfly's Shades of Black effect in my game.
His tips + tricks video is here: http://yanfly.moe/2016/12/12/tips-tricks-shades-of-black-final-fantasy-12-rpg-maker-mv/
I have a skill [let's say skill(76)] that is supposed to randomly cast one of two AOE skills. Everything works fine EXCEPT for the fact that there is an extra tick of damage on my targets before the actual skill itself is used.
Essentially
Cast skill(76)
>>Extra tick of damage on a single target<<
Cast skill(84) OR Cast skill (85)
>>Normal damage is dealt to all targets<<
Now, I'm fairly certain the issue is that yanfly only designed this skill to cast skills that have single targets. When I change the scope of skill(76) from all enemies to 1 enemy it works fine. It even converts my AOE skills into single target skills. The extra tick of damage only occurs when skill(76) has it's targeting scope set to multiple targets. I'm wondering if anyone can identify why that is the case and how to fix it.
Below is the notetag for skill(76):
<Instant>
<After Eval>
// Create the pool for random basic skills that can be used.
var tier1skills = [];
tier1skills.push(84,85);
// Create the pool for random advanced skills that can be used.
// Calculate the chance for a basic skill
// Get a random skill ID from the basic pool
var skillId = tier1skills[Math.floor(Math.random() * tier1skills.length)];
// Set this action's skill to the action
this.setSkill(skillId);
</After Eval>
<Setup Action>
clear battle log
display action
immortal: targets, true
perform start
wait for movement
cast animation
wait for animation
action effect
clear battle log
display action
</Setup Action>
<Target Action>
</Target Action>
This is the notetag for skill(84):
<setup action>
immortal: target, true
cast animation
wait for animation
</setup action>
<whole action>
opacity not focus: 0, 30
camera focus: targets, 30
zoom: 125%, 30
wait for zoom
animation 294: targets
wait for animation
action effect
opacity not focus: 100%, 60
</whole action>
<target action>
</target action>
<finish action>
reset zoom
reset camera
immortal: targets, false
clear battle log
perform finish
wait for movement
</finish action>
This is the notetag for skill(85):
<setup action>
immortal: target, true
cast animation
wait for animation
</setup action>
<whole action>
opacity not focus: 0, 30
camera focus: targets, 30
zoom: 125%, 30
wait for zoom
animation 295: targets
wait for animation
action effect
opacity not focus: 100%, 60
</whole action>
<target action>
</target action>
<finish action>
reset zoom
reset camera
immortal: target, false
clear battle log
perform finish
wait for movement
</finish action>
These are the settings for skills 84 and 85 respectively
and just in case it's needed: this is the skill that casts the shades of black effect:
His tips + tricks video is here: http://yanfly.moe/2016/12/12/tips-tricks-shades-of-black-final-fantasy-12-rpg-maker-mv/
I have a skill [let's say skill(76)] that is supposed to randomly cast one of two AOE skills. Everything works fine EXCEPT for the fact that there is an extra tick of damage on my targets before the actual skill itself is used.
Essentially
Cast skill(76)
>>Extra tick of damage on a single target<<
Cast skill(84) OR Cast skill (85)
>>Normal damage is dealt to all targets<<
Now, I'm fairly certain the issue is that yanfly only designed this skill to cast skills that have single targets. When I change the scope of skill(76) from all enemies to 1 enemy it works fine. It even converts my AOE skills into single target skills. The extra tick of damage only occurs when skill(76) has it's targeting scope set to multiple targets. I'm wondering if anyone can identify why that is the case and how to fix it.
Below is the notetag for skill(76):
<Instant>
<After Eval>
// Create the pool for random basic skills that can be used.
var tier1skills = [];
tier1skills.push(84,85);
// Create the pool for random advanced skills that can be used.
// Calculate the chance for a basic skill
// Get a random skill ID from the basic pool
var skillId = tier1skills[Math.floor(Math.random() * tier1skills.length)];
// Set this action's skill to the action
this.setSkill(skillId);
</After Eval>
<Setup Action>
clear battle log
display action
immortal: targets, true
perform start
wait for movement
cast animation
wait for animation
action effect
clear battle log
display action
</Setup Action>
<Target Action>
</Target Action>
This is the notetag for skill(84):
<setup action>
immortal: target, true
cast animation
wait for animation
</setup action>
<whole action>
opacity not focus: 0, 30
camera focus: targets, 30
zoom: 125%, 30
wait for zoom
animation 294: targets
wait for animation
action effect
opacity not focus: 100%, 60
</whole action>
<target action>
</target action>
<finish action>
reset zoom
reset camera
immortal: targets, false
clear battle log
perform finish
wait for movement
</finish action>
This is the notetag for skill(85):
<setup action>
immortal: target, true
cast animation
wait for animation
</setup action>
<whole action>
opacity not focus: 0, 30
camera focus: targets, 30
zoom: 125%, 30
wait for zoom
animation 295: targets
wait for animation
action effect
opacity not focus: 100%, 60
</whole action>
<target action>
</target action>
<finish action>
reset zoom
reset camera
immortal: target, false
clear battle log
perform finish
wait for movement
</finish action>
These are the settings for skills 84 and 85 respectively
and just in case it's needed: this is the skill that casts the shades of black effect: