RPG Maker Forums

Hi,


i don't know why but Heal Hp/MP Damage formulas in YEP Party Limit Gauge Plugin can't use 'user' when the other formulas can use both: 'user' and 'target'


is a bug or 'user' is not supported for this 2 formulas?


I got an error when i add 'user' into this formulas:


TypeError: Cannot read property 'hp' of undefined
    at Game_Party.eval (eval at <anonymous> (file:///C:/Users/Me/Desktop/Game/js/plugins/YEP_X_PartyLimitGauge.js:1135:22), <anonymous>:1:43)
    at Game_Party.Game_Unit.processPartyLimitGaugeEval (file:///C:/Users/Me/Desktop/Game/js/plugins/YEP_X_PartyLimitGauge.js:1135:17)
    at Game_Action.executeHpDamage (file:///C:/Users/Me/Desktop/Game/js/plugins/YEP_X_PartyLimitGauge.js:938:28)
    at Game_Action.executeHpDamage (file:///C:/Users/Me/Desktop/Game/js/plugins/YEP_EnhancedTP.js:3140:44)
    at Game_Action.executeHpDamage (file:///C:/Users/Me/Desktop/Game/js/plugins/YEP_X_BattleStatistics.js:306:47)
    at Game_Action.executeDamage (file:///C:/Users/Me/Desktop/Game/js/rpg_objects.js:1739:14)
    at Game_Action.executeDamage (file:///C:/Users/Me/Desktop/Game/js/plugins/YEP_BuffsStatesCore.js:1463:42)
    at Game_Action.executeDamage (file:///C:/Users/Me/Desktop/Game/js/plugins/YEP_SkillCore.js:994:44)
    at Game_Action.apply (file:///C:/Users/Me/Desktop/Game/js/rpg_objects.js:1657:18)
    at Game_Action.apply (file:///C:/Users/Me/Desktop/Game/js/plugins/YEP_BattleEngineCore.js:2888:34)


My Heal Hp Damage formula:


Math.floor(-5 * damage / target.mhp * user.hp).clamp(3, 5)


The plugin can be found there:


http://yanfly.moe/2016/02/06/yep-67-party-limit-gauge/

Latest Threads

Latest Posts

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,035
Messages
1,018,455
Members
137,821
Latest member
Capterson
Top