pure-full-lily/js/plugins/TouchMoveForSymbolEncount.js
2025-09-16 10:12:44 -05:00

46 lines
1.6 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*:
* @target MV MZ
* @plugindesc Touch not to avoid the event symbols when moving.
* @author Shitsudo Kei
*
* @help There are no plugin commands in this plugin.
* This plugin is compatible with RPG Maker MV and MZ.
*
* -Features
* Reduce the pathfinding limit on touch moves to avoid event symbols and increase the encounter rate with symbol encounters.
* CautionDue to the impact of the change, the default touch-move pathfinding ability changes.
*
* I will not be responsible for any problems that may occur. Please understand.
* -License
* This plugin is distributed under the MIT license.
* Feel free to use it.
* http://opensource.org/licenses/mit-license.php
*/
/*:ja
* @target MV MZ
* @plugindesc タッチ移動時イベントシンボルを避けないようにします。
* @author 湿度ケイ
*
* @help このプラグインには、プラグインコマンドはありません。
* このプラグインは、RPGツクールMVとMZに対応しています。
*
* ■概要
* タッチ移動時の経路探索上限を減らすことで、イベントシンボルを避けないようにし、シンボルエンカウントとのエンカウント率を上げます。
* ※注意:副作用として通常のタッチ移動のスペックを大きく損ないます。
*
* ■ライセンス表記
* このプラグインは MIT ライセンスで配布されます。
* ご自由にお使いください。
* http://opensource.org/licenses/mit-license.php
*/
(function() {
//
// overwrite
//
Game_Character.prototype.searchLimit = function() {
return 2;
};
})();