Self destruct

jebus989

Veteran
Veteran
Joined
Sep 16, 2015
Messages
51
Reaction score
2
First Language
English
I'm trying to find a way to make a bomb enemy explode and damage the party. Like in final fantasy games.

     Any help is greatly appreciated
 

inazumathelightning

The Pixel prince
Veteran
Joined
Jan 1, 2013
Messages
63
Reaction score
49
First Language
English
Primarily Uses
N/A
You could event it into the battle when X happens X skill is used (explosion) which would inflict death onto itself and dealing X damage to the entire party. 

http://prntscr.com/9ecmsl   first have the bomb skill (i think there is a way to set the death of the monster here but i dont know lol)

http://prntscr.com/9ecn8j  then we got the first turn saying bomb started turn 1 then turn two it uses the skill and uses the knockout state. 
 

jebus989

Veteran
Veteran
Joined
Sep 16, 2015
Messages
51
Reaction score
2
First Language
English
how would i make it so that when bomb explodes it does half party's HP in damage
 

inazumathelightning

The Pixel prince
Veteran
Joined
Jan 1, 2013
Messages
63
Reaction score
49
First Language
English
Primarily Uses
N/A
(b.hp * 0.5) would work cuz you are dealing the opponent's hp times 0.5
 

jebus989

Veteran
Veteran
Joined
Sep 16, 2015
Messages
51
Reaction score
2
First Language
English
when i do a test battle the bomb doesnt die the party dies
 

inazumathelightning

The Pixel prince
Veteran
Joined
Jan 1, 2013
Messages
63
Reaction score
49
First Language
English
Primarily Uses
N/A
you sure you have it set to enemy state instead of player state on the troop event?
 

Heartbreak61

Wandering Noob
Veteran
Joined
Sep 5, 2012
Messages
187
Reaction score
90
First Language
Indonesian
Primarily Uses
RMMV
@inazuma: you set the knockout 100%. There's no way your party can stand that suicidal attack, xD

Back in the RM Ace, I think we could do damage formula

b.mhp / 2; a.die

to deal damage and kill caster. but I cant open RM MV to look for it's equal function.
 

Dalamar

Veteran
Veteran
Joined
Apr 29, 2013
Messages
370
Reaction score
61
First Language
English
Primarily Uses
RMMV
You need to put the state the attacker is getting before the damage formula a.addState(n); damage formula for skill.

n is the number of the state in the database.
 

Heartbreak61

Wandering Noob
Veteran
Joined
Sep 5, 2012
Messages
187
Reaction score
90
First Language
Indonesian
Primarily Uses
RMMV
Ah, indeed. I believe that damage formula needs to return a number.

so

a.addState(1); b.mhp/2

should be the correct formula, right?

Edit: just tested this. Our monster sucessfully do self destruct. But it doesn't show collapse animation.

Suggestion: maybe you'll need a plugin XD
 
Last edited by a moderator:

jebus989

Veteran
Veteran
Joined
Sep 16, 2015
Messages
51
Reaction score
2
First Language
English
Still doesn't work right, if i have add state knockout in skill effect party dies enemy lives
 

jebus989

Veteran
Veteran
Joined
Sep 16, 2015
Messages
51
Reaction score
2
First Language
English
It's not exactly how I want it to happen but I figure out how to get enemy to die, in troops just after using force action for the self destruct skill I did another force action for a dummy skill I made where the scope was the user and effect add state knockout
 

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,551
Members
137,837
Latest member
Dabi
Top