Special Kind of Dual Wielding

Impulse

Villager
Member
Joined
May 17, 2018
Messages
14
Reaction score
1
First Language
Douchebag
Primarily Uses
RMMV
I know that you can allow a specific actor to duel wield from the Actor section in the Database. However, I would like to take a different approach.

In my game, there are many weapons that add skills to the actor equipped, as well as being a regular weapon. Now here's my idea:

I'd like to make it so the player can decide whether or not they want to equip two weapons. However, I'd like for any weapon in the secondary slot to have it's attack sealed. That way they can't attack with it (can only attack with main weapon), it avoids adding to the players attack (So only their main weapon's attack would be taken into consideration during a physical attack, not both), but they still get the skills/buffs from the secondary weapon.

Example:
The player has "Mythical Staff" equipped in their main slot, which gives 20 Attack, 5 Max MP, and allows the user to use the skill "Fireball." In their secondary slot they have "Bashoden" equipped, which gives 15 Attack, 10 Max MP, and allows the use of the skill "Twister". With this current loadout, if the player chose to use a regular attack then the damage formula from ONLY the Mythical Staff would come into play. Only 20 Attack, not 35. This would simulate still only being able to use one weapon at a time, even if they had both equipped.

However, even though regular attacks wouldn't benefit from the weapon in the secondary slot, the player would still get the 10 MP bonus and the ability to use "Twister" from "Bashoden". Almost as if it were an accessory instead of a weapon.

I know what you're thinking: Why not just make these items accessories? Here's why: I'd like for the player to be able to switch weapons and equip whichever they please, without being able to use multiple weapons to attack with. So with the given example, the player could (outside of battle) swap the "Bashoden" to their main, and "Mythical Staff" to their secondary. In this case, the attack gained from a regular attack would only be 15, not 20 or 35. But the player still gains the 15 Max MP from both weapons, and can still use both "Fireball" and "Twister"

Is there anyone who could try to help me with this?
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,248
Reaction score
1,250
First Language
Spanish
Primarily Uses
RMVXA
not accessories, but a different kind of weapon class.
for example: I have Swords, Long Swords and Two-handed Swords, and Axes and Maces.
everyone can equip Swords, but only Knights can equip Long Swords (to be used with Shields), and only Destroyers and Knights can equip 2HS, (to be used without shields).
and only Warriors can equip Axes and Maces, Maces being magical, and only Priests can equip Maces and Staffs, Staffs being 2-handed.
all Swords have the same properties, except Longswords allow shields, and all Maces (Axes are bladed Maces) have the same properties, except they can't be equipped by anyone except Warrior.
to the purposes of the game, they all function the same way, except some characters can or can't equip them.
even if a Sword would leave the Shield slot open, no not-Knight character can equip a Shield, even if an equipped Longsword overrode the Shield enable, no not-Knight character can equip a Longsword.
 

Impulse

Villager
Member
Joined
May 17, 2018
Messages
14
Reaction score
1
First Language
Douchebag
Primarily Uses
RMMV
I appreciate the help! But I actually know how to do that. Let me try to explain a little better;

Basically, in my game there are no classes. Just the one because it's mandatory to have at least one. I want the players to have complete freedom with who they want their character to be. If they wanna be a 'mage' that wields a sword and an axe, fine by me, they just won't be getting many MP boosts. So basically the player will have to decide for themselves what items to equip and whatnot in order to become the 'class' they want.

But I wanted to make it so even if they decide to equip two weapons, they can still only attack with the main one. I may implement an in-battle equip switch, but for now I'd just like for them to be able to equip any weapon to either their main or secondary slot. They will be able to attack with only the weapon in the main slot, but still gain bonuses (like Max MP boost or the ability to use a skill) from the secondary. The only boost from the secondary I do not want them to get is the attack boost. That way during a regular attack, the formula for just the main weapon is used.

Here's one more example in case you still don't understand (I know, it's a weird concept):

Say the player has "Claymore" (ATK:+20/Max MP:+5/Can use the Skill 'Earthquake' when equipped) equipped in their main slot.
And they have "Giant Fan" (ATK:+5/Max MP:+20/Can use the Skill 'Tornado' when equipped) equipped to their secondary slot.

In this case, they would gain a boost of +25 Max MP (20 from 'Giant Fan' and 5 from 'Claymore') and be able to use both 'Earthquake' and 'Tornado'

However, when they choose to make a regular attack with their weapon, they would only get a +20 boost to their attack (from the 'Claymore') and only 'Claymore's formula will be used. As of right now, if both are equipped then they not only get the MP boosts and Skills from both weapons, but they would also gain a +25 ATK bonus from both weapons combined when they attacked, as if they were duel wielding.

I want to make it so even if they have two weapons, they can only use their main one to attack. This way it seems like they have the other weapon still on them (therefore granting them the bonuses) but they can't attack with it. I want to do this because I plan on making many Legendary weapons, and I don't want a player to be able to break the game by racking up their attack to insane amounts by equipping two Legendary weapons. Gaining bonuses from two Legendary weapons is fine, that's all part of the game and it wouldn't necessarily make them unstoppable as it only adds to their non-damage-dealing stats like Agility or Max HP. But I don't want the player to gain a +300 attack boost from a regular attack if they have two +150 ATK weapons equipped.

Sorry for the novel, just trying to give a better explanation!
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,248
Reaction score
1,250
First Language
Spanish
Primarily Uses
RMVXA
if they decide to equip two weapons, they can still only attack with the main one
single hit or single property?
single hit can be done with a quick fix (probably).... single property, might require a plugin.
 

Impulse

Villager
Member
Joined
May 17, 2018
Messages
14
Reaction score
1
First Language
Douchebag
Primarily Uses
RMMV
To be honest I'm not sure what the difference is :eswt:
 

Impulse

Villager
Member
Joined
May 17, 2018
Messages
14
Reaction score
1
First Language
Douchebag
Primarily Uses
RMMV
Basically, if the player uses the Attack command during a battle, I want it to only attack with the weapon in the main slot. The attack itself should not gain any boost or anything at all from the secondary weapon. Whichever weapon is in the secondary slot is basically used as nothing but an accessory for stat boosts. But I'd like for the player to be able to switch these exact same weapons (switch their main to their secondary and vis versa) which is why I can't just make them into accessories, because then each weapon would need a copy that is an accessory item, and that wouldn't work the way I was hoping for
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,248
Reaction score
1,250
First Language
Spanish
Primarily Uses
RMVXA
then it requires a plugin.
I was thinking about using properties and inflicted states to only allow 1 attack, with a secondary weapon declared as a special class of weapon.
but if you want to override the main attack AND switch weapons, then you need to change the way the battler sees those weapons
 

Maliki79

Veteran
Veteran
Joined
Mar 13, 2012
Messages
797
Reaction score
350
First Language
English
Primarily Uses
N/A
My dual wield plugin allows for main hand traits and off hand traits.
You can make a weapon trait that allows the skill required be one or the other.

Edit: Opps... Sorry about the necro...
 
Last edited:

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,977
Members
137,563
Latest member
cexojow
Top