New Skill - Masork

Drogazy

Veteran
Veteran
Joined
Aug 7, 2016
Messages
34
Reaction score
2
First Language
Portuguese
Primarily Uses
I would like to create a skill that damage the user, but he receives a bonus on attacks. The more he attacks, more damage he takes and more damage he will cause. 


I tried, but it did not decreased when a state ended. Can anyone help me?
 

lolshtar

Master of Magic thatknow nospell
Veteran
Joined
Apr 13, 2013
Messages
694
Reaction score
101
First Language
French
Primarily Uses
RMMV
on state


<Custom Establish Effect>


if (value >=1) {


target._masork = target._masork + 1


target.setStateCounter(target._masork)


target.gainHp(target._masork * -X)}


</Custom Establish Effect>


on all skills you want more damage


<Before Eval>


target._masork = target._masork || 0


</Before Eval>


<damage formula>


value = normal formula


value += (target._masork * X)


</damage formula>
 

Drogazy

Veteran
Veteran
Joined
Aug 7, 2016
Messages
34
Reaction score
2
First Language
Portuguese
Primarily Uses
Which values I have to change? Only the "x" on skills and state? Because when the actor has the state, it only cause damage 0 with the skills and attack.
 

lolshtar

Master of Magic thatknow nospell
Veteran
Joined
Apr 13, 2013
Messages
694
Reaction score
101
First Language
French
Primarily Uses
RMMV
The X is however you want to multiply the damage and life loss.


You should have quoted me to have your answer faster, l don't recheck threads.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

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.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,019
Members
137,564
Latest member
McFinnaPants
Top