Trying to boost weapon damage, but confused

tsurugikage

Villager
Member
Joined
May 12, 2017
Messages
16
Reaction score
0
First Language
English
Primarily Uses
RMMV
So, I am trying to use Himeworks weapon damage to give each weapon a set damage.

I am also using Yanfly's Item Attachable Augmentation script to add the boosts.

The problem is that I want to add the boost a weapon gains to add onto the weapons damage.

For example, a normal sword could do 1-6 damage, while the same sword with a +3 could do 4-9 damage.

Any ideas on how I could implement it?
 
Last edited:

Uzuki

Kawaii on the streets, Senpai in the sheets
Veteran
Joined
Aug 18, 2012
Messages
1,893
Reaction score
1,280
First Language
English
Primarily Uses
RMMV
You're supposed to bump after 48 hours from your last post.

How do you want to do the add on for it? You could Yanfly's Item Core plugin to make weapons independent and add varieties to them and then use the Attachable Augments or Item Upgrade Slots plugins to customize them.
 

tsurugikage

Villager
Member
Joined
May 12, 2017
Messages
16
Reaction score
0
First Language
English
Primarily Uses
RMMV
I am using Yanflys Attachable Augments to give boosts to weapons.

Edit: I went to reply to someone, but posted this post by accident
 
Last edited:

tsurugikage

Villager
Member
Joined
May 12, 2017
Messages
16
Reaction score
0
First Language
English
Primarily Uses
RMMV

Uzuki

Kawaii on the streets, Senpai in the sheets
Veteran
Joined
Aug 18, 2012
Messages
1,893
Reaction score
1,280
First Language
English
Primarily Uses
RMMV
I am using Yanflys Attachable Augments to give boosts to weapons.
Ok so, how are your formulas set up? From the sounds of it a weapon does a set amount of damage and you want augments to increase that damage when attached?
 

tsurugikage

Villager
Member
Joined
May 12, 2017
Messages
16
Reaction score
0
First Language
English
Primarily Uses
RMMV
Ok so, how are your formulas set up? From the sounds of it a weapon does a set amount of damage and you want augments to increase that damage when attached?
For the attack I am using a code like this

(Math.randomInt(6) + 1) + ((a.atk - 10) * 0.5 + (Whatever the code to call the Weapon's boost in since I don't know it.))
 

Uzuki

Kawaii on the streets, Senpai in the sheets
Veteran
Joined
Aug 18, 2012
Messages
1,893
Reaction score
1,280
First Language
English
Primarily Uses
RMMV
You shouldn't have to add the weapons boost to the formula seeing as it's not designed to work like that. Have the augment increase the Strength stat by whatever you want and it'll be added to the user's strength. "a.atk" is the user's current attack strength.
 

tsurugikage

Villager
Member
Joined
May 12, 2017
Messages
16
Reaction score
0
First Language
English
Primarily Uses
RMMV
You shouldn't have to add the weapons boost to the formula seeing as it's not designed to work like that. Have the augment increase the Strength stat by whatever you want and it'll be added to the user's strength. "a.atk" is the user's current attack strength.
But that's the thing, by using the weapon damage script by himeworks. It changes it to reflect what code I put in for the weapon.

I want the boost to damage and boost to stats like "a.atk" to be different since certain weapon will use different stats. Some will use "a.def" and one weapon uses the "a.mdf"

That, and because players stats also affect things outside of combat too.
 

tsurugikage

Villager
Member
Joined
May 12, 2017
Messages
16
Reaction score
0
First Language
English
Primarily Uses
RMMV
Still trying to figure out how to do this.
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
320
Reaction score
126
First Language
english
Primarily Uses
RMMV
this isnt how himeworks weapon damage formula works. or yanfly's attach augments
it cant take an exact increase amount from augments. it can only take stats as a whole.
you would have to have 1 stat that is used in weapon damage formulas ONLY and doesnt increase when characters level up (Luck would be best to use and other plugins can removes lucks default effect from the game)

it seems to me you just trying to make your weapon mechanics to complex.

also when asking for help related to plugins it belongs in plugin support not game engine specific forum and u should include all related plugins in the original post with links to the plugin page so people dont have to look for it to get the relevant info.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
14,161
Reaction score
7,808
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

tsurugikage

Villager
Member
Joined
May 12, 2017
Messages
16
Reaction score
0
First Language
English
Primarily Uses
RMMV
this isnt how himeworks weapon damage formula works. or yanfly's attach augments
it cant take an exact increase amount from augments. it can only take stats as a whole.
you would have to have 1 stat that is used in weapon damage formulas ONLY and doesnt increase when characters level up (Luck would be best to use and other plugins can removes lucks default effect from the game)

it seems to me you just trying to make your weapon mechanics to complex.

also when asking for help related to plugins it belongs in plugin support not game engine specific forum and u should include all related plugins in the original post with links to the plugin page so people dont have to look for it to get the relevant info.
Sorry. I guess I thought wrong.
Sorry.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Me: "Finally finished most of my game backlog. Probably time to do some gamedev" | Steam: *offer sales*
If I recorded while I created (what I think is) a small plugin, would you be interested enough in the process to watch it?
I keep trying to explain to clients that the huddle masses behind the old K-Mart are a Fallout Reenactment group. Somehow I don't think they believe me. :LZSskeptic:
Hey people! What do you think about a core plugin? This will save some lines of code that I repeatedly use in all my plugins...
Wondering if I should make my enemies scale in my non-linear rpg. I'm leaning towards yes, but I don't want to use Yanfly's plugin...

Forum statistics

Threads
94,594
Messages
922,168
Members
124,464
Latest member
foghiszdenisz
Top