Rain
12-07-2008, 06:40 AM
(Cool, my first tutorial)
Ghosts have 540 HP, and when you cast Demi, the ghost will have 270 HP remaining.
Make a skill that reduces the enemy's HP by half!
Or even by 1/4 or any other percentage(if you have sufficient knowledge of variables).
The instructions for people too lazy to download the demo.
The demo for people too lazy to read the instructions
Ghosts have 540 HP, and when you cast Demi, the ghost will have 270 HP remaining.
Make a skill that reduces the enemy's HP by half!
Or even by 1/4 or any other percentage(if you have sufficient knowledge of variables).
The instructions for people too lazy to download the demo.
Content Hidden
1.) To begin, create Demi in the states tab.
All you have to do is change the array size and type "Demi(or any other state name)"
Nothing else!
2.) Create a parallel common event that is triggered by a switch that is first activated when the game begins.
(**I assume a switch is first activated when the game begins, if there isn't please make one)
For each enemy in a troop (I am assuming you may have a large troop of 8 enemies)
@> Conditional Branch [1. ] is [Demi] inflicted
@> Control Variables: [0001. random variable] = [1. ]'s HP
@> Control Variables: [0001. random variable] /= 2(2=50%, 3=33.3% 4=25% and so on)
@> Deal Damage: [1. ], Variable [0001. random variable]
@> Change Enemy State: Entire troop, - [Demi]
Okay, [1. ] = the enemy since it's a common event.
Just copy those lines and change [1. ] to [2. ], [3. ], and so on until 8
3.) Finally, make a skill (that deals 1/2 of enemy's remaining HP)
Anything is up to you, just make sure that :
Power : 0
State Changes : [+]Demi
**Just remember, this skill only works if the switch is on.
All you have to do is change the array size and type "Demi(or any other state name)"
Nothing else!
2.) Create a parallel common event that is triggered by a switch that is first activated when the game begins.
(**I assume a switch is first activated when the game begins, if there isn't please make one)
For each enemy in a troop (I am assuming you may have a large troop of 8 enemies)
@> Conditional Branch [1. ] is [Demi] inflicted
@> Control Variables: [0001. random variable] = [1. ]'s HP
@> Control Variables: [0001. random variable] /= 2(2=50%, 3=33.3% 4=25% and so on)
@> Deal Damage: [1. ], Variable [0001. random variable]
@> Change Enemy State: Entire troop, - [Demi]
Okay, [1. ] = the enemy since it's a common event.
Just copy those lines and change [1. ] to [2. ], [3. ], and so on until 8
3.) Finally, make a skill (that deals 1/2 of enemy's remaining HP)
Anything is up to you, just make sure that :
Power : 0
State Changes : [+]Demi
**Just remember, this skill only works if the switch is on.
The demo for people too lazy to read the instructions
Content Hidden
http://www.filefactory.com/file/c8928a/Uses the RTP