SunMZ核心引擎插件 Core Engine Plugin v4.5.0
A downloadable mod
Download NowName your own price
該插件需要官方插件 PluginCommonBase.js
針對MZ核心做的簡單,功能性補強。
該劇本的目的是簡單的補強一些MZ本該有的功能。
- 功能一:可以設置最大出戰人數,出戰人數會隨行人員的長度。
- 功能二:視窗調整時,部分UI配置會吸附等比例調整(側視戰鬥的我方人員位置,血條長度)。
- 功能三:可以設置要顯示的裝備槽數量,其他作為隱藏設置。
- 功能四:事件顯示圖片時,圖片會以畫面的正中央做起始點。
- 功能五:即時戰鬥時,詠唱魔法時tpb會切換成詠唱條。
- 功能六: 針對戰鬥系統隱藏的公式進行修改(以下為原生公式)
- 公式0.命中率公式: p ? (s * 0.01 * a.hit) : (s * 0.01);
- 公式1.物理攻擊迴避率公式:b.eva;
- 公式2.魔法攻擊迴避率公式:b.mev;
- 公式3.暴擊率計算公式:a.cri * (1 - b.cev);
- 公式4.暴擊傷害計算公式:x * 3;
- 公式5.異常狀態施放成功率公式: Math.max(1.0 + (a.luk - b.luk) * 0.001, 0.0);
- 公式6.HP再生公式: Math.floor(a.mhp * a.hrg);
- 公式7.MP再生公式: Math.floor(a.mmp * a.mrg);
- 公式8.TP再生公式: Math.floor(100 * a.trg);
- 公式9.BUFF加成公式: x * 0.25 + 1.0;
- 公式10.代替攻擊觸發條件: b.isDying() && !x;
- 公式11.逃跑成功機率: (0.5 * a) / b;
- 公式12.觸發搶先攻擊的機率公式: a >= b ? 0.05 : 0.03;
- 公式13.被敵人偷襲的機率公式: a >= b ? 0.03 : 0.05;
- 公式14.商品賣出價格公式: x / 2;
- 功能七: 代替承受攻擊會做相對應動作
- 功能八: 升級時該角色是否完全回復
- 功能九:
- 預設攻擊屬性的優先度, 技能附加屬性 > 狀態附加屬性 > 武器附加屬性 > 副武器附加屬性 > 防具附加屬性 > 其它情況附加屬性
- 敵人情況預設攻擊屬性的優先度, 技能附加屬性 > 狀態附加屬性 > 防具附加屬性 > 其它情況附加屬性 *
- 功能十: 可以設定地圖遇敵死亡是否會GAMEOVER
- 功能十一: 針對某些時間點插入一般事件
- 時間點1. 進入戰鬥前
- 時間點2. 戰鬥勝利後
- 時間點3. 戰鬥逃跑後
- 時間點4. 戰鬥失敗後
This plugin requires the official plugin PluginCommonBase.js.
Provides simple functional enhancements for the MZ core.
The main purpose of this script is to enhance some functionalities that should exist in MZ.
- Feature One: You can set the maximum number of combatants, and the number of combatants will be reflected in the length of followers.
- Feature Two: When adjusting the window size, certain UI configurations will be adjusted proportionally (e.g., the positions of our party members in side-view battles, and the length of health bars).
- Feature Three: You can set the number of equipment slots to display, while others are hidden.
- Feature Four: When displaying event images, the images will start from the center of the screen.
- Feature Five: During real-time battles, when casting magic, the TPB (Turn Progress Battle) will switch to a casting bar.
- Function Six: Modify the hidden formulas of the combat system (the following are the original formulas)
- Formula 0. Hit rate formula: p ? (s * 0.01 * a.hit) : (s * 0.01);
- Formula 1. Physical attack evasion rate formula: b.eva;
- Formula 2. Magic attack evasion rate formula: b.mev;
- Formula 3. Critical hit rate calculation formula: a.cri * (1 - b.cev)
- Formula 4. Critical hit damage calculation formula: x * 3;
- Formula 5. Abnormal status casting success rate formula: Math.max(1.0 + (a.luk - b.luk) * 0.001, 0.0);
- Formula 6. HP regeneration formula: Math.floor(a.mhp * a.hrg);
- Formula 7. MP regeneration formula: Math.floor(a.mmp * a.mrg);
- Formula 8. TP regeneration formula: Math.floor(100 * a.trg);
- Formula 9. BUFF bonus formula: x * 0.25 + 1.0;
- Formula 10. Replacement attack trigger condition: b.isDying() && !x;
- Function 11: Instead of taking the attack, the corresponding action will be taken
- Formula 12. The probability formula of triggering preemptive attack: a >= b ? 0.05 : 0.03;
- Formula 13. The probability formula of being attacked by the enemy: a >= b ? 0.03 : 0.05;
- Formula 14. Commodity selling price formula: x / 2;
- Function Seven: Instead of taking the attack, the corresponding action will be taken
- Function Eight: Whether the character is fully restored when upgrading
- Function Nine:
- Preset the priority of attack attributes, skill additional attributes > status additional attributes > weapon additional attributes > secondary weapon additional attributes > armor additional attributes > other additional attributes
- The priority of preset attack attributes based on enemy conditions, skill additional attributes > status additional attributes > armor additional attributes > other situation additional attributes
- Function Ten: You can set whether the game will be GAMEOVER if you encounter an enemy on the map.
- Function Eleven: Insert general events for certain time points
- Time point 1. Before entering the battle
- Time point 2. After the battle is won
- Time point 3. After fight and escape
- Time point 4. After losing the battle
Download
Download NowName your own price
Click download now to get access to the following files:
Sun_0_CoreEngine.js 160 kB
Leave a comment
Log in with itch.io to leave a comment.