6 lines
227 B
JavaScript
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)
|
|
};
|