How can i do this?

Eduardoxzx

Warper
Member
Joined
Aug 4, 2020
Messages
1
Reaction score
0
First Language
Español
Primarily Uses
RMMV
RPG MAKER MV

How can i make that 1 weapon need MANA to attack ..?

For example

1 Sword need 1 MP to attack
1 Axe need 5 MP to attack

_________________________________


I tried this with ABILITIES, but they perform a diferent BATTLE ANIMATION (like MAGIC animation) with no weapons :(

I want a NORMAL ATTACK that needs MP

I tried a lot but still dont know how to get this
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
30,703
Reaction score
7,363
First Language
German
Primarily Uses
RMMV
no weapon has any cost in the default engine.
weapons only add points to the actor.

additionally, attack is a skill and if you change its skill cost, thatwould count for all weapons used.

one possible solution is to use a plugin that give different weapons different attack skills, and then have those skills do different costs.
 

rechronicle

Mystvaldia
Veteran
Joined
Oct 30, 2013
Messages
137
Reaction score
108
First Language
Bahasa
Primarily Uses
RMMV
I think you can use WeaponSkill plugin from base RMMV DLC, then make them all using the same Normal Attack but with a different Mana/MP costs.
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
417
Reaction score
165
First Language
english
Primarily Uses
RMMV
yanfly's weapon unleash plugin allows you to make weapons change what skill is used with basic the attack and guard battle commands.
equip wand with <Attack Replace: X>
skill X has damage formula using a.mat - b.mdf instead of a.atk - b.def and mp cost of 1

equip whip with <Attack Replace: Y>
skill Y is the same as a normal attack except hits all enemies

(also allows basic attacks to have a % chance to trigger other skills. like FF6 a thunder blade might sometimes auto cast thunder1 after a basic attack)
 

ct_bolt

Creator
Veteran
Joined
May 3, 2012
Messages
942
Reaction score
497
First Language
Javascript
Primarily Uses
RMMZ
yanfly's weapon unleash plugin allows you to make weapons change what skill is used with basic the attack and guard battle commands.
equip wand with <Attack Replace: X>
skill X has damage formula using a.mat - b.mdf instead of a.atk - b.def and mp cost of 1

equip whip with <Attack Replace: Y>
skill Y is the same as a normal attack except hits all enemies

(also allows basic attacks to have a % chance to trigger other skills. like FF6 a thunder blade might sometimes auto cast thunder1 after a basic attack)
Seems like that would do the trick. :cutesmile:
I'm also going to play around with this idea. Thank you!:popcorn:

This might help too?
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
1,808
Reaction score
1,267
First Language
EN
Primarily Uses
RMMZ
I second the WeaponSkill plugin recommendation for the MP cost thing. It's included by default in new projects~ :kaothx:

By default skill 1 uses an attack motion (appropriate to the equipped weapon), skill 2 uses the "defend" motion, and other skills use a generic "spell", "skill", or "item" motion based on the action type... I've seen this sort of thing requested a lot but the only solution I know of is via action seqeuences, which is kinda overkill, so I wrote a little plugin. Here's a link if you want to check it out: view/download attackGuardTag.js (Google Drive).
JavaScript:
/*:
 * @plugindesc Easily tag skills/items as attack/guard actions.
 * @author Caethyril
 * @help Skill/Item notetag:
 *   <IsAttack>
 *    - Tagged skills/items will be treated as attack actions.
 *      This includes battler motions and "Attack Times +"/"Attack State" traits.
 *   <IsGuard>
 *    - Tagged skills/items will be treated as guard actions.
 *      By default this only affects the battler motions.
 * 
 * These notetags do not affect the default attack/guard action skills.
 */

(function() {
'use strict';
    
    let checkTag = function(action, name) { return action.item().meta[name]; };
    
    (function(alias) {
        const TAGNAME = 'IsAttack';
        Game_Action.prototype.isAttack = function() {
            return checkTag(this, TAGNAME) ? true : alias.apply(this, arguments);
        };
    })(Game_Action.prototype.isAttack);
    
    (function(alias) {
        const TAGNAME = 'IsGuard';
        Game_Action.prototype.isGuard = function() {
            return checkTag(this, TAGNAME) ? true : alias.apply(this, arguments);
        };
    })(Game_Action.prototype.isGuard);

})();
 

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

Latest Threads

Latest Profile Posts

Hello I buyed RPG Maker VX Ace a long ago and I want to use it again but in the meantime I changed my pc but I lost the paper with my product key on so I can't use RPG maker again... someone can help me please ? or there is no hopes ?:'( ( I have a bad english I'm sorry )
I was away this days here in the forum but it was for a good cause!
The trailer of the demo of Luke Inn is on youtube and I am so happy!
I need to see the bugs of the game but I am happy that I have new content to show!

The last part of the modern interior will be ready soon. This will be a B-tile. With interior items for the kitchen, bathroom, toilet and storage room.
This frantic shooting ARPG plugin for MZ looks really great. Here is the link to a post from the official Japanese RPG Maker forum.
We start in 5 minutes!

Forum statistics

Threads
102,941
Messages
996,119
Members
134,393
Latest member
CheemsBurbger
Top