I would like to know how to make it so when an actor/enemy
does a critical hit, the screen flashes instead of flash effect
on the damage popup.
does a critical hit, the screen flashes instead of flash effect
on the damage popup.
Sprite_Damage.prototype.setupCriticalEffect();
if (result.hpAffected) {
this.createDigits(0, result.hpDamage);
if (TSR.Param.EnableDamageSheet) {
if (critical && TSR.Param.ShowCritical) {
this.setupCriticalEffect();
this.createCritical(target);
}
if (result.hpAffected) {
this.createDigits(0, result.hpDamage);
if (critical) this.setupCriticalEffect(); \\added this line
if (TSR.Param.EnableDamageSheet) {
if (critical && TSR.Param.ShowCritical) {
this.setupCriticalEffect();
this.createCritical(target);
}
Original thread: https://forums.rpgmakerweb.com/threads/critical-hit-screen-flash.120104/