- Joined
- Jun 25, 2012
- Messages
- 153
- Reaction score
- 80
- First Language
- Portuguese
- Primarily Uses
- RMMV
Hello,
I'm trying to archieve some effects using Yanfly lunatics, but some is really hard to figure out (since I barely understand javascript).
1 - Using Buff&StateManager to create a State called: Mark of the Offering.
Ex: User put a mark in one target. If the target die while under effect of Mark of the Offering user recover all TP. (+100 TP)
(I will use this same logic for other skill with HP and MP too).
2 - The other is a custom damage skill that probaly dont need lunatics, but I'm not sure if can do using only the damage formule: Snake Attack. (provisory name)
Ex: Cause damage to target. If target under effect of status X (Its Bleeding in my game) this skill cause +1 damage for each 10 HP the target is missing. (aka 10%).
I will explain using this logic: ifstatus(x)? damage + 0.1 * (b.maxHP - b.currentHP); else damage
I have others skills that are bugging me, but those are being a pain bc theres no reference in any Trip&Tricks videos from yanfly to use.
Tyvm
I'm trying to archieve some effects using Yanfly lunatics, but some is really hard to figure out (since I barely understand javascript).
1 - Using Buff&StateManager to create a State called: Mark of the Offering.
Ex: User put a mark in one target. If the target die while under effect of Mark of the Offering user recover all TP. (+100 TP)
(I will use this same logic for other skill with HP and MP too).
2 - The other is a custom damage skill that probaly dont need lunatics, but I'm not sure if can do using only the damage formule: Snake Attack. (provisory name)
Ex: Cause damage to target. If target under effect of status X (Its Bleeding in my game) this skill cause +1 damage for each 10 HP the target is missing. (aka 10%).
I will explain using this logic: ifstatus(x)? damage + 0.1 * (b.maxHP - b.currentHP); else damage
I have others skills that are bugging me, but those are being a pain bc theres no reference in any Trip&Tricks videos from yanfly to use.
Tyvm

