EAP

Villager
Member
Joined
Jan 29, 2019
Messages
17
Reaction score
2
First Language
English
Primarily Uses
RMMZ
This was given by the help of Discord Coders of Driftwood Gaming
<JS Post-Apply>

if (target.isEnemy()) {

var id = target._enemyId;





var text = target.name() + '\n';

text += '\\c[14]HP:\\c[0] ' + target.hp;

text += '/' + target.mhp;

text += '\\c[14] MP:\\c[0] ' + target.mp;

text += '/' + target.mmp;

text += '\\c[14] TP:\\c[0] ' + target.tp;

text += '\n';

text += '\\c[14]ATK:\\c[0] ' + target.atk;

text += '\\c[14] MAT:\\c[0] ' + target.mat;

text += '\\c[14] AGI:\\c[0] ' + target.agi;

text += '\n';

text += '\\c[14]DEF:\\c[0] ' + target.def;

text += '\\c[14] MDF:\\c[0] ' + target.mdf;

text += '\\c[14] LUK:\\c[0] ' + target.luk;

$gameMessage.add(text);



var weakness = '';

var resist = '';

var immune = '';

var absorb = '';

var elements = $dataSystem.elements;

for (var i = 1; i < elements.length; ++i) {

var name = elements;

var rate = target.elementRate(i);

if (rate > 1) {

weakness += name + ' ';

} else if (rate < 0) {

absorb += name + ' ';

} else if (rate === 0) {

immune += name + ' ';

} else if (rate < 1) {

resist += name + ' ';

}

}

if (weakness === '') weakness = 'None';

if (resist === '') resist = 'None';

if (immune === '') immune = 'None';

if (absorb === '') absorb = 'None';

weakness = '\\c[14]Weakness:\\c[0] ' + weakness + '\n';

resist = '\\c[14]Resist:\\c[0] ' + resist + '\n';

immune = '\\c[14]Immune:\\c[0] ' + immune + '\n';

absorb = '\\c[14]Absorb:\\c[0] ' + absorb;

text = weakness + resist + immune + absorb;

$gameMessage.add(text);

}

</JS Post-Apply>
 

Latest Threads

Latest Posts

Latest Profile Posts

Current status screens for Shadows of the Earth: The Vrila'an Legend. Need to do something about the color scheme lol
Captura de pantalla (259).pngCaptura de pantalla (260).png
My first serious victim in game hacking - Pawnbarian.
Diana Path 2.png
I love these two design wise lol... The high school principal and the captain of the women's wrestling team. they team up as bosses to save the school's accreditation.
Kanori24 wrote on TheRamenGirl's profile.
I love your profile pic. Definitely one of my favorite scenes from OPM :D

Forum statistics

Threads
122,074
Messages
1,146,305
Members
160,359
Latest member
TheRagingKing
Top