How can I create this kind of Attack?

Plasmatic

Warper
Member
Joined
Jun 17, 2014
Messages
3
Reaction score
0
First Language
German
Primarily Uses
How can I make my own attack which deals damage AND decreases the users Defense?

If I want to deal damage on the enemie I have to switch the Attack to 'One Enemie'

but If I want to decrease the defense of the user of the attack I have to switch it on 'User'

How can I switch it, that it will deal dmg AND decrease the users defense?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
You'll need to add ruby commands to the damage formula. There is a topic on how to use the damage formula that shows you a lot of different commands to add other effects to a skill, search for it in the forum here.
 

Plasmatic

Warper
Member
Joined
Jun 17, 2014
Messages
3
Reaction score
0
First Language
German
Primarily Uses
You'll need to add ruby commands to the damage formula. There is a topic on how to use the damage formula that shows you a lot of different commands to add other effects to a skill, search for it in the forum here.
Could you send me the link?

Im new on this forum and I cant find anything :/
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
a simple damage formula:

a.add_state(state_id);damaging_damage_formula_here
so like if my defense state is state 10, and I want it to deal 5x atk as damage

Code:
a.add_state(10);a.atk*5
 

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

Latest Threads

Latest Posts

Latest Profile Posts

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.
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'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,569
Latest member
Shtelsky
Top