Don't know how to create that Skill.

Diluiksapu

Villager
Member
Joined
Mar 4, 2020
Messages
15
Reaction score
1
First Language
French
Primarily Uses
RMMV
Hi !

It's the first time I post here, sorry for my English !

I would like to create a Skill, I try everything, but it's too difficult for me !

It would be something like :

Your first hit = 100 damage,
second turn if you attack the same target = 100 damage again
if you attack another target = 120 damage


And more you hit the same target, more you will hit stronger the other target.

For example, for 3 turns you hit 100 damage to the first target
On the 4th turn, you will do 240 damage if you change target.


Don't know if it's clear for you ! Hope someone can help me !
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,354
Reaction score
8,533
First Language
English
Primarily Uses
RMMV

I've moved this thread to MV Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

Aesica

undefined
Veteran
Joined
May 12, 2018
Messages
1,523
Reaction score
1,415
First Language
English
Primarily Uses
RMMV
This would be easy enough to make, but I need to know something first: What's supposed to happen to the damage counter when you hit the other target? After dealing bonus damage, does the counter reset?
 

Diluiksapu

Villager
Member
Joined
Mar 4, 2020
Messages
15
Reaction score
1
First Language
French
Primarily Uses
RMMV
This would be easy enough to make, but I need to know something first: What's supposed to happen to the damage counter when you hit the other target? After dealing bonus damage, does the counter reset?
Yes, the bonus damage reset every time you change target
So the second target will take 120 and then 100 and if you change again 120 ... ...
 
Last edited:

Aesica

undefined
Veteran
Joined
May 12, 2018
Messages
1,523
Reaction score
1,415
First Language
English
Primarily Uses
RMMV
Okay, it's ugly but I think this might work. Goes in damage formula:

Code:
c = a._skillRampUp = a._skillRampUp || {}; if (c.last === b){ c.bonus = 0; c.counter++; } else { c.bonus = c.counter || 0; c.counter = 0; c.last = b; }; 100 + 20 * c.bonus;
The 100 is the base damage, and the 20 is the bonus damage (20 per additional hit dealt to the previous target) so change them around as you see fit.
 

Diluiksapu

Villager
Member
Joined
Mar 4, 2020
Messages
15
Reaction score
1
First Language
French
Primarily Uses
RMMV
Okay, it's ugly but I think this might work. Goes in damage formula:

Code:
c = a._skillRampUp = a._skillRampUp || {}; if (c.last === b){ c.bonus = 0; c.counter++; } else { c.bonus = c.counter || 0; c.counter = 0; c.last = b; }; 100 + 20 * c.bonus;
The 100 is the base damage, and the 20 is the bonus damage (20 per additional hit dealt to the previous target) so change them around as you see fit.

It's work well, but if i have 2 similar skills, like lvl 1 and lvl 2, if i use lvl 1 it up damage for the lvl 2 as well.

I use all the needed plugins if it's easier for you to do it.

Edit : Nvm, i fix that !

Edit 2 : If i can be annoying, i have another request
Don't know how do to it again, but something bit similare,

Do physical damage. (100% on target a)
Do physical damage on the initial target when the skill is launch on another target. (100% on target a and 100% on target b)
The damage when you change target are upgrade if you hit twice the initial target. (200% on target a and 100% on target b)
Reset the counter everytime you change target.
 
Last edited:

Diluiksapu

Villager
Member
Joined
Mar 4, 2020
Messages
15
Reaction score
1
First Language
French
Primarily Uses
RMMV
Bump.

I don't know how to do this :

Do physical damage. (100% on target a)
Do physical damage on the initial target when the skill is launch on another target. (100% on target a and 100% on target b)
The damage when you change target are upgrade if you hit twice the initial target. (200% on target a and 100% on target b)
Reset the counter everytime you change target.
 

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

Latest Threads

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,081
Members
137,582
Latest member
Spartacraft
Top