BOB_LevelUpBonuses + Quasi params plus

Sunna

Warper
Member
Joined
Mar 31, 2017
Messages
4
Reaction score
0
First Language
Portuguese
Primarily Uses
RMMV
D'ont know how to make those two to work together...
I created 4 custom params with Quasi Param Plus and I want to make them to increase in certain levels when the actor's leveling up... the thing is...

BOB_LevelUpBonuses it's build to work only with the vanilla params:

Code:
//
========================================================================
// Parameter Variables
//=======================================================================

Bobstah.Parameters = PluginManager.parameters('BOB_LevelUpBonuses');
Bobstah.Param = Bobstah.Param || {};

Bobstah.Param.LevelUpBonus_MaxLevel = Number(Bobstah.Parameters['Max Level']);

Bobstah.LevelUpBonuses.paramRef = ['mhp','mmp','atk','def','mat','mdf','agi','luk'];
Bobstah.LevelUpBonuses.xparamRef = ['hit','eva','cri','cev','mev','mrf','cnt','hrg','mrg','trg'];
Bobstah.LevelUpBonuses.sparamRef = ['tgr','grd','rec','pha','mcr','tcr','pdr','mdr','fdr','exr'];

//=======================================================================


What should I do to add my custom params? D:
 
Last edited:

Sunna

Warper
Member
Joined
Mar 31, 2017
Messages
4
Reaction score
0
First Language
Portuguese
Primarily Uses
RMMV
I tried to add custom param in the pluging:

Code:
// Param variables
Bobstah.LevelUpBonuses.cparamRef = ['str','dex','int','afn'];
Code:
//Stat processing
                        default:
                            var cprm = Bobstah.LevelUpBonuses.cparamRef.indexOf(cparam);
                             if (cprm != -1) {
                                obj.levelUpBonus[level].Stats = obj.levelUpBonus[level].Stats || {};
                                obj.levelUpBonus[level].Stats[param] = Bobstah.LevelUpBonuses.createLevelUpBonusStatObject(bonus, addRem, exc, evl, levelTimes, true, 'cparam', cprm);                  
                                }
                        break;
Code:
Bobstah.LevelUpBonuses.GameActor_cparam = Game_Actor.prototype.cparam;
Game_Actor.prototype.cparam = function(cparamId) {
    var value = Bobstah.LevelUpBonuses.GameActor_cparam.call(this, cparamId);
    var bonusType = 'cparam';
    value += this.addLevelUpBonusStats(cparamId, bonusType);
    return value;
};
didnt worked >:
 

ICF-Soft

Veteran
Veteran
Joined
Aug 15, 2015
Messages
254
Reaction score
124
First Language
Spanish
Primarily Uses
RMMV

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,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top