A Plugin that make each group receive a different amount of damage from a skill?

RhysO101

Veteran
Veteran
Joined
Mar 31, 2015
Messages
72
Reaction score
9
First Language
English
Primarily Uses
N/A
I would like one of my enemies to have an explosion attack which instantly kills them while dealing some damage to the allies without instantly killing them.
Is there a plugin out there that does this job?
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,125
Reaction score
10,639
First Language
Czech
Primarily Uses
RMMV
Yanfly's action sequences plus skill core (to allow hp skill costs)
 

RhysO101

Veteran
Veteran
Joined
Mar 31, 2015
Messages
72
Reaction score
9
First Language
English
Primarily Uses
N/A
It seems that the HP Cost requires the Enemy to have that amount of HP and is not allowed to die when using it.
Update: I don't think the plugin allows enemies to use HP Cost skills.
 

Johnboy

Veteran
Veteran
Joined
Jan 13, 2016
Messages
344
Reaction score
124
First Language
English
Primarily Uses
Try this:

<setup action>
display action
perform start
wait for movement
immortal: targets, true
</setup action>

<whole action>
action animation: targets
wait for animation
</whole action>

<target action>
action effect
wait for effect
add state 1: user
</target action>

<follow action>
clear battle log
</follow action>

<finish action>
collapse: user, force
perform finish
immortal: target, false
wait: 20
</finish action>

Then set your damage formula to something like (a.hp / 2) so the damage will be 1/2 of the remaining HP of the enemy.

There's not really a need for this to be a plugin.
 
Last edited:

RhysO101

Veteran
Veteran
Joined
Mar 31, 2015
Messages
72
Reaction score
9
First Language
English
Primarily Uses
N/A
Try this:

<setup action>
display action
perform start
wait for movement
immortal: targets, true
</setup action>

<whole action>
action animation: targets
wait for animation
</whole action>

<target action>
action effect
wait for effect
add state 1: user
</target action>

<follow action>
clear battle log
</follow action>

<finish action>
perform finish
immortal: target, false
wait: 20
</finish action>

Then set your damage formula to something like (a.hp / 2) so the damage will be 1/2 of the remaining HP of the enemy.

There's not really a need for this to be a plugin.
I know that requires the Action Sequence plugin stuff, but which pack does it require?
 

Johnboy

Veteran
Veteran
Joined
Jan 13, 2016
Messages
344
Reaction score
124
First Language
English
Primarily Uses
You would need pack 1 and 2 for sure.
 

RhysO101

Veteran
Veteran
Joined
Mar 31, 2015
Messages
72
Reaction score
9
First Language
English
Primarily Uses
N/A
You would need pack 1 and 2 for sure.
When I add that to the enemy's skill, it's sprite just stays there yet I still win. I'm not using Sideview BTW.
 

Johnboy

Veteran
Veteran
Joined
Jan 13, 2016
Messages
344
Reaction score
124
First Language
English
Primarily Uses
Oh I forgot to force collapse the user. I'm on my phone but I will post the updated version later when I get home

EDIT: made a change to the sacrifice code which should force the target to collapse at the end of the sequence.
 
Last edited:

RhysO101

Veteran
Veteran
Joined
Mar 31, 2015
Messages
72
Reaction score
9
First Language
English
Primarily Uses
N/A
I works like I thought, thanks, now I might use those plugins again.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,083
Members
137,583
Latest member
write2dgray
Top