Add english version
This commit is contained in:
parent
7bf44fa645
commit
49e9a37f3c
1675 changed files with 1309268 additions and 0 deletions
35
www.eng/js/plugins/Anti Fail Actions.js
Normal file
35
www.eng/js/plugins/Anti Fail Actions.js
Normal 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) }
|
||||
};
|
||||
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue