Initial Commit

This commit is contained in:
OleSTEEP 2023-12-29 23:09:55 +03:00
commit ec5c71b3ac
1712 changed files with 1767257 additions and 0 deletions

View file

@ -0,0 +1,35 @@
//=============================================================================
// TDS Anti Fail Actions
//=============================================================================
/*:
* @plugindesc Prevents failure messages from appearing in certain actions.
*
* @author TDS
*
* @help
*
* Action Note Tags:
*
* <AntiFail>
*
*/
(function() {
//==============================================================================================
// ** Game_Action
//==============================================================================================
// Alias Listing
var tds_AntiFailActions_Game_Action_applyItemUserEffect = Game_Action.prototype.applyItemUserEffect;
//==============================================================================================
// * Apply Item User Effect
//==============================================================================================
Game_Action.prototype.applyItemUserEffect = function(target) {
// Run Original Method
tds_AntiFailActions_Game_Action_applyItemUserEffect.call(this, target);
// If Anti Fail make success
if (this.item().meta.AntiFail) { this.makeSuccess(target) }
};
})();