- Joined
- Apr 25, 2017
- Messages
- 2,083
- Reaction score
- 1,532
- First Language
- Dutch
- Primarily Uses
- RMMV
I can find anything about my enemies with little pieces of script like:
For HP:
And for ATK:
I can also find how much EXP or GOLD it frops with
and
This is very usefull stuff, when I try to make systems that play outside or completely replace the battle scene. I can easily use this in formula's, or save it in a variable to be used by other parts, like event conditions.
However, other useful information would be which loot it drops. I have worked around this for a while now, but it would be real handy if I could use this information in my out-of-battle systems.
So, is there a code that refers to the loot ID? I assume there will be 3 variables needed for 3 pieces of loot. Or probably 3 more for the item-type. (Item/Weapon/Armor)
And since we're at it, maybe we can also get which loot has what drop rate?
---
I don't need a complete formula, or something. If I just know the part that would give me the ID, and if possible also the part that gives the weapon type.
For HP:
Code:
$dataEnemies[X].params[0]
And for ATK:
Code:
$dataEnemies[X].params[2]
I can also find how much EXP or GOLD it frops with
Code:
$dataEnemies[X].exp
Code:
$dataEnemies[X].gold
This is very usefull stuff, when I try to make systems that play outside or completely replace the battle scene. I can easily use this in formula's, or save it in a variable to be used by other parts, like event conditions.
However, other useful information would be which loot it drops. I have worked around this for a while now, but it would be real handy if I could use this information in my out-of-battle systems.
So, is there a code that refers to the loot ID? I assume there will be 3 variables needed for 3 pieces of loot. Or probably 3 more for the item-type. (Item/Weapon/Armor)
And since we're at it, maybe we can also get which loot has what drop rate?
---
I don't need a complete formula, or something. If I just know the part that would give me the ID, and if possible also the part that gives the weapon type.
Last edited: