You can use plugin calls in the damage formulae of skills reducing ATB gauge:
Code:
* 4. patb_val.atb = val
* - Set the battler's atb value as val
Code:
if (Math.random() < 0.5) b.patb_val.atb = 0; originalDamageFormula
You can use plugin calls in the damage formulae of skills reducing ATB gauge:
* 4. patb_val.atb = val
* - Set the battler's atb value as val
if (Math.random() < 0.5) b.patb_val.atb = 0; originalDamageFormula
It seems to me that you're using some other plugins as well. Would you mind sending me your project or at least list all the other plugins(with their ordering preserved) used?
Unfortunately, you will have to test this yourself or ask someone else to test it for you by giving him/her your project.
In this case, I'd actually wonder why you'll have enemies with very high agi to begin with 😀
* # Actor/Class/Weapon/Armor/Enemy/State Notetags:
* State notetags take the highest priority, followed by enemy, weapon,
* armor, class and actor
* 1. <operator patb rate: rate>
* - Assigns rate to the battler's atb rate via operator
* - operator can be either =, +, -, *, / or %, meaning set to, add
* by, subtract by, multiply by, divide by or modulo by respectively
* - All instances of this notetag will be used sequentially
// Use either one
var minActorAgi = $gameParty.members().sort(function(a, b) {
return a - b;
})[0]; // The minimum agi among all actors
var avgActorAgi = $gameParty.agility(); // The average agi among all actors
//
// Replace x with the multiplier you want
var maxEnemyAgi = x * minActorAgi; // or x * avgActorAgi
//
$gameTroop.members().forEach(function(mem) {
if (mem.agi <= maxEnemyAgi) return;
mem.addParam(6, maxEnemyAgi - mem.agi);
});
I'm afraid that you'll have to give me your project so I can know what's really going on 🙂
$gameSystem.patb.wait_cond_code = full
$gameSystem.patb.wait_cond_code = item
You may want to try these instead:
$gameSystem.patb.wait_cond_code = "full"
$gameSystem.patb.wait_cond_code = "item"
* v1.03b(GMT 0400 28-4-2020):
* 1. Fixed the target window being locked after another actor dies
* 2. Fixed stale target sprite still displayed as being selected
* v1.03c(GMT 0400 13-5-2020):
* 1. Fixed the skill/item window being locked after another actor dies
* 2. Fixed the actor command window being deselected after another actor
* dies
Original thread: https://forums.rpgmakerweb.com/threads/doublex-rmmv-popularized-atb-core.51219/