HOW TO INCREASE WEAPON VALUE?

Posts

Pages: 1
Im messing around with a system where you add stats to your current weapon but i have no idea have to add variables to change the weapon stats. I can change the hero stats and money amount just fine. Is there a way I can program this without scripts?
Id appreciate any help.
SunflowerGames
The most beautiful user on RMN!
13323

Why would you use variables to increase the weapon's stats?

Also if its not already in the program Yanfly has some interesting scripts about weapons.
author=kory_toombs
Why would you use variables to increase the weapon's stats?

Also if its not already in the program Yanfly has some interesting scripts about weapons.

It's the only way I can think of to increase the weapons atk and not the characters.
Is there a way?
Marrend
Guardian of the Description Thread
21806
Hrm. It might be possible to mess with, say, the attack value with $data_weapons[X].params[2] += var, where "X" is the weapon's ID in the database, and "var" is what you want to increase it by, but, I have no idea if this would work. If it does, doing it this way would probably apply the changes permanently. If you want to revert back to the original values, it'd be a similar line, only it would be the "=" operator, not the "+=" operator.

Though, now that I think about it, I guess you could, technically, use the "=" operator to begin with.
SunflowerGames
The most beautiful user on RMN!
13323




Edit:

Do you mean that you want your weapon to be able to gain power as you use it? If so I totally misunderstood this question.

Try this:

http://www.rpgmakervxace.net/topic/1536-equipment-levels-up/
author=kory_toombs




Edit:

Do you mean that you want your weapon to be able to gain power as you use it? If so I totally misunderstood this question.

Try this:

http://www.rpgmakervxace.net/topic/1536-equipment-levels-up/

Exactly. Leveling up weapons is pretty much what i want to do.Is it possible to do it without the use of scripts?
author=Marrend
Hrm. It might be possible to mess with, say, the attack value with $data_weapons[X].params[2] += var, where "X" is the weapon's ID in the database, and "var" is what you want to increase it by, but, I have no idea if this would work. If it does, doing it this way would probably apply the changes permanently. If you want to revert back to the original values, it'd be a similar line, only it would be the "=" operator, not the "+=" operator.

Though, now that I think about it, I guess you could, technically, use the "=" operator to begin with.[/quote]

I dont thinks theres even a 'Weapon ID' option. The only options it shows are 'Number of weapons held' and 'number of weapons equipped'.I wish there was a 'Weapon statistics' options
Pages: 1