Maronius

Villager
Member
Joined
Oct 29, 2015
Messages
21
Reaction score
4
Primarily Uses
Hello, anyone got an idea if there's a plugin available, with which I can define an specific item price depening on the characters level?

So for example:
character level 10, then item price 100 gold
character level 20, then item price 400 gold etc.

The multiplicator should be individual settable for each item (so not every item has the same multiplicator).
 
Last edited:

orochi2k

The Mad King of Neolithic
Veteran
Joined
Jan 2, 2021
Messages
140
Reaction score
253
First Language
Chinese
Primarily Uses
RMXP
somerandomhelp.jpg
So, let's say if you want to make the 7th item in database's price based on the first character's level
The script I put together let you make the price to be multiplied by the first (character's level+1)

You may configure its detail in script or event
make some "if" in script or use event conditin branches .... play around $dataItem[7].price
As "$dataItem[7].price" is global.
All event commands before shop process will affect it.

just to remember to reset the price back after shop process is done.

I mainly use RMXP. But, I think I can still do some javascript when I am bored...
There may be better solutions from people more familiar with RMMZ.
(I am certain there is a way to just reload the datamanager to reset the price. But, I can't find the right function right now.)
I am basically hacking...
 
Last edited:

Latest Threads

Latest Profile Posts

Today's my first login since Jan 2020. Time sure flies. Sorry to everyone's messages i missed.
It's satisfying to master the usage of a hard plugin, then making it do what you want. ( o w o)!!
I'll be redesigning some of the main characters from my many wip stories :kaohi:
gWBWMzT.jpg

Starting with the (chronologically) first of them, Cedric!
gotta love when a plugin you thought had nothing to do with why something else wasn't working winds up being the issue...
Doing RPG Maker News for 26th September 2021

Forum statistics

Threads
115,400
Messages
1,089,577
Members
150,139
Latest member
JamesZwei
Top