RMMV Need a plugin for assigning custom attacks to each character

Achishaler

Warper
Member
Joined
Oct 1, 2020
Messages
3
Reaction score
1
First Language
English
Primarily Uses
RMMV
I need a plugin that allows for different kinds of hits and punches for each different character. I don't just want one default punch.
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
2,087
Reaction score
1,508
First Language
EN
Primarily Uses
RMMZ
Alternatively: I haven't tested, but you could try saving the following code as a .js file (paste into text editor, Save As > File Type: All Files, Filename: whatever.js) and import it as a plugin~
JavaScript:
(function(alias) {
  Game_Actor.prototype.attackSkillId = function() {
    var tag = this.actor().meta.attackSkill;
    return parseInt(tag, 10) || alias.apply(this, arguments);
  };
})(Game_Actor.prototype.attackSkillId);
Then put a notetag like <attackSkill: 5> in an actor's notebox to set their no-weapon attack skill. Actors without a tag will use skill ID 1 like normal.
 

Achishaler

Warper
Member
Joined
Oct 1, 2020
Messages
3
Reaction score
1
First Language
English
Primarily Uses
RMMV
Thank you very much! You are a god among men. Works perfectly
 

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,845
Messages
1,016,961
Members
137,561
Latest member
JaCrispy85
Top