- Joined
- Jan 14, 2019
- Messages
- 7
- Reaction score
- 1
- First Language
- English
- Primarily Uses
- RMMV
I want to open by apologizing for probably missing an important rule or putting this in the incorrect place, but nevertheless.
My question revolves around how programming the damage formula works, I have a programmer background but being new to RPGMaker (Literally last night), I am still a bit confused on how things work and cant find a tutorial or push in the right direction for something like this
So lets say for instance, I have this (100 + a.atk - b.def). This is simple and how the skill will normally work. However, how would I add something like this to that statement:
if (b (dies from attack)) {
a.MaxHP += 10;
}
Max HP in this case will be added to both in this battle and outside that (presuming it doesnt already.)
Can anyone give me a hand on this?
My question revolves around how programming the damage formula works, I have a programmer background but being new to RPGMaker (Literally last night), I am still a bit confused on how things work and cant find a tutorial or push in the right direction for something like this
So lets say for instance, I have this (100 + a.atk - b.def). This is simple and how the skill will normally work. However, how would I add something like this to that statement:
if (b (dies from attack)) {
a.MaxHP += 10;
}
Max HP in this case will be added to both in this battle and outside that (presuming it doesnt already.)
Can anyone give me a hand on this?

