It should. Changed my Archer char to have added effects for when she uses a bow skill w/ the Hidden state.
So if an enemy resists Slow or Stun, It will respect those state resists.
It should. Changed my Archer char to have added effects for when she uses a bow skill w/ the Hidden state.
Thornmail (note that you can put this notetag directly on the armour, you don't need a passive state any more):
<JS Post-Damage As Target>
if (value > 0 && this.isPhysical()) {
const rate = 0.1;
const recoil = value * rate;
const defRate = 0.25;
const bonus = target.def * defRate;
const damage = Math.ceil(bonus + recoil);
user.gainHp(-damage);
if (user.isDead()) {
user.performCollapse();
}
}
</JS Post-Damage As Target>
<JS Pre-Damage As User>
if (this.isMagical() && value !== 0) {
value = Math.ceil(value * 1.5);
}
</JS Pre-Damage As User>
It sure can!
<JS Post-Apply>
if (user.isEnemy()) {
const successRate = 0.5;
if (Math.random() < successRate) {
let items = [];
const total = $gameParty.items().length;
for (let i = 0; i < total; ++i) {
const item = $gameParty.items()[i];
if (item.itypeId !== 2) {
items.push(item);
}
}
if (items.length > 0) {
const random = Math.randomInt(items.length);
const item = items[random];
$gameParty.loseItem(item, 1);
var text = user.name() + ' stole ' + item.name + ' from the party!';
SoundManager.playEquip();
}
} else {
var text = user.name() + ' failed to steal an item!';
SoundManager.playBuzzer();
}
const window = SceneManager._scene._logWindow;
if (text) {
window.addStealText(text + '<CENTER>');
}
}
</JS Post-Apply>
<JS On Add State>
this._toxicCounter = 1;
</JS On Add State>
<JS Pre-Regenerate>
const n = this._toxicCounter / 16;
const value = Math.floor(n * target.mhp);
this._toxicCounter++;
target.gainHp(-value);
</JS Pre-Regenerate>
Thanks Trihan. That’s what I’ve found too. I think probably the easiest way for me to get what I need is to do states and plug them in action sequences. Thanks for the help!
Check out this thread https://forums.rpgmakerweb.com/index.php?threads/caethyrils-mz-plugins.125657/
Alright thanks, I'll give it a shot!
With that plugin, try this notetag in the skill and see if it works for you:
Awesome! Glad it worked out!
Original thread: https://forums.rpgmakerweb.com/threads/the-official-visustella-notetag-help-thread.125717/