Adding buff on hit

KyoAkashi

Villager
Member
Joined
Feb 2, 2014
Messages
9
Reaction score
1
First Language
German, English
Primarily Uses
Hello Folks!

I can't figure out how to add a self buff on hit, i find it annoying when an attack only buffs so i wanted to make attack buffs like

Poison Attack: Attacks and has a chance to poison the enemy and adds poison to your weapon

But i thought it would be easyier as it is because i only add the buff to the enemy, this was a problem i knew already but i couldnt figure out a way to work around.

Thank you for your help!

 
 

Rikifive

Bringer of Happiness
Veteran
Joined
Jun 21, 2015
Messages
1,441
Reaction score
680
First Language
Polish
Primarily Uses
Other
Add a.add_state(ID) to your damage formula to apply a state on yourself while attacking.

Example: a.add_state(3); a.mat * 1 

This will deal damage and add state to the user.
 

KyoAkashi

Villager
Member
Joined
Feb 2, 2014
Messages
9
Reaction score
1
First Language
German, English
Primarily Uses
Wow thats great thank you i should look up more about those formulas, is there any great tutorial or explaination page? :3
 

Rikifive

Bringer of Happiness
Veteran
Joined
Jun 21, 2015
Messages
1,441
Reaction score
680
First Language
Polish
Primarily Uses
Other
I'm not using tutorials too much, but I found this one, perhaps you'll find some interesting things here. =)

Making Custom Formulas
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Are we allowed to post about non-RPG Maker games?
I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:

Forum statistics

Threads
105,883
Messages
1,017,236
Members
137,608
Latest member
Arm9
Top