Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,194
Reaction score
14,663
First Language
English
Primarily Uses
RMMV
AddTrait class $gameParty.targetActor()._classId TRAIT_EQUIP_WTYPE 3

You left out the class keyword. What I gave you was what to put instead of the class id.
 

41728280

Veteran
Veteran
Joined
May 31, 2020
Messages
238
Reaction score
72
First Language
Chinese
Primarily Uses
RMMV
AddTrait class $gameParty.targetActor()._classId TRAIT_EQUIP_WTYPE 3

You left out the class keyword. What I gave you was what to put instead of the class id.
Ah, it turned out to be so, I really appreciate your help!
 

tumsterfest

Veteran
Veteran
Joined
Aug 11, 2020
Messages
57
Reaction score
10
First Language
English
Primarily Uses
RMMZ
Is there an MZ plugin that lets you add traits mid-game like this? I can't seem to find anything.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,194
Reaction score
14,663
First Language
English
Primarily Uses
RMMV
I believe one of the VisuStella core plugins will do it
 

tumsterfest

Veteran
Veteran
Joined
Aug 11, 2020
Messages
57
Reaction score
10
First Language
English
Primarily Uses
RMMZ
I believe one of the VisuStella core plugins will do it

That was my assumption, but I'm not seeing it anywhere. It's totally possible I'm missing it in the loooong explanations and lists of notetags and JS coding. But so far, even searching "traits" on several of the Yanfly/VS plugin pages hasn't turned anything up.
 

cirdian

Villager
Member
Joined
Feb 28, 2014
Messages
22
Reaction score
12
First Language
Brazil
Primarily Uses
Hello, I believe the downlaod link is broken...
 

cirdian

Villager
Member
Joined
Feb 28, 2014
Messages
22
Reaction score
12
First Language
Brazil
Primarily Uses
Weird... Maybe is my browser, it's not loading pastebin. Thanks for the reply.
 

Latest Threads

Latest Posts

Latest Profile Posts

How would you judge a game you played? Art/Graphics? Story? Gameplay?
Learn MV sales goal = 2%
NSFW game sales goal = 2500% (no jokes) :guffaw:
After gathering, sorting out & reconsidering hundreds of enemy battlers over the last two das, finally my favorite part begins: Inventing names and lore for them all :D
I'm running a sale for Learn RPG Maker MV on Itch.io, can I compete with NSFW games earning goals?

Forum statistics

Threads
111,375
Messages
1,060,569
Members
144,706
Latest member
cuteoreo
Top