moon-red-goddess-cornelia/js/plugins/F_CriticalVisual.js
2025-03-31 13:21:45 -05:00

6 lines
227 B
JavaScript

Sprite_Damage.prototype.setupCriticalEffect = function() {
this._flashColor = [255, 0, 0, 160];
this._flashDuration = 60;
$gameScreen.startFlash([255,255,255,255], 20)
$gameScreen.startShake(5, 10, 20)
};