Skip to content

tomwu2021/NNNN-SRPG-ExpAdjust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

SRPG經驗值調整系統 / SRPG Experience Adjustment System / SRPG経験値調整システム

基本信息 / Basic Information / 基本情報

  • 插件名稱 / Plugin Name / プラグイン名: NNNN_SRPG_ExpAdjust.js
  • 版本 / Version / バージョン: v2.000
  • 作者 / Author / 作者: NeNeNeNeTai
  • 類型 / Type / タイプ: SRPG Enhancement Plugin / SRPG強化插件 / SRPG強化プラグイン
  • 相容性 / Compatibility / 互換性: RPG Maker MZ
  • 授權 / License / ライセンス: MIT License

功能概述 / Feature Overview / 機能概要

🎯 主要功能 / Main Features / 主な機能

繁體中文: 這是一個專為SRPG模式設計的經驗值調整與分享系統,解決類似聖火降魔錄等SRPG遊戲的經驗值分配問題。系統可以根據等級差調整經驗值獲得量,並支援經驗值分享功能,確保所有角色都能獲得適當的成長。

English: This is an experience adjustment and sharing system designed specifically for SRPG mode, solving experience distribution problems found in SRPG games like Fire Emblem. The system can adjust experience gained based on level differences and supports experience sharing to ensure all characters receive appropriate growth.

日本語: これはSRPGモード専用に設計された経験値調整・共有システムで、ファイアーエムブレムなどのSRPGゲームの経験値配分問題を解決します。レベル差に基づいて経験値獲得量を調整し、経験値共有機能をサポートして、すべてのキャラクターが適切な成長を得られるようにします。

🔧 核心功能 / Core Features / コア機能

1. 等級差經驗值調整 / Level Difference Adjustment / レベル差経験値調整

  • 繁體中文:根據角色與敵人的等級差異調整經驗值

    • 挑戰高等級敵人獲得額外經驗值獎勵
    • 擊敗低等級敵人經驗值適當衰減
    • 可設定增長/衰減的觸發閾值和比率
  • English:Adjust experience based on level difference between actor and enemy

    • Bonus experience when fighting higher level enemies
    • Penalty when fighting lower level enemies
    • Configurable threshold and rate settings
  • 日本語:アクターと敵のレベル差に基づいて経験値を調整

    • 高レベル敵との戦闘時のボーナス経験値
    • 低レベル敵との戦闘時のペナルティ
    • 発動閾値と比率の設定が可能

2. 經驗值分享系統 / Experience Sharing System / 経験値共有システム

  • 繁體中文:主要角色獲得經驗時,其他角色同步成長

    • 可選擇分享對象(戰鬥成員或全隊伍)
    • 分享比例完全可調整
    • 防止角色培養不均問題
  • English:Other characters grow simultaneously when main character gains experience

    • Choose sharing targets (battle members or all party)
    • Fully adjustable sharing ratio
    • Prevents uneven character development
  • 日本語:メインキャラが経験値獲得時、他キャラも同時成長

    • 共有対象の選択(戦闘メンバーまたは全パーティ)
    • 共有比率は完全調整可能
    • キャラ育成格差を防止

3. 智能計算公式 / Intelligent Calculation Formula / インテリジェント計算式

原始經驗值 × 等級差調整率 = 調整後經驗值
調整後經驗值 × 分享比例 × 個人等級差調整 = 最終分享經驗值

參數設定 / Parameter Settings / パラメータ設定

系統控制 / System Control / システム制御

參數名稱 / Parameter 說明 / Description 預設值 / Default
啟用系統 / Enable System 啟用經驗值調整系統 / Enable experience adjustment system true
啟用等級差調整 / Level Diff Enabled 啟用基於等級差的經驗值調整 / Enable level difference adjustment true
啟用經驗值分享 / Share Enabled 啟用經驗值分享功能 / Enable experience sharing true

獎勵設定 / Bonus Settings / ボーナス設定

參數名稱 / Parameter 說明 / Description 預設值 / Default
啟用獎勵 / Bonus Enabled 對抗高等級敵人時啟用獎勵 / Enable bonus for high level enemies true
獎勵觸發閾值 / Bonus Threshold 開始獎勵的等級差閾值 / Level difference to start bonus 5
每等級獎勵率 / Bonus Rate 每等級差的獎勵比率(%) / Bonus rate per level (%) 10%
最大獎勵率 / Max Bonus 最大獎勵經驗值比率上限(%) / Maximum bonus rate cap (%) 200%

懲罰設定 / Penalty Settings / ペナルティ設定

參數名稱 / Parameter 說明 / Description 預設值 / Default
啟用懲罰 / Penalty Enabled 對抗低等級敵人時啟用懲罰 / Enable penalty for low level enemies true
懲罰觸發閾值 / Penalty Threshold 開始懲罰的等級差閾值 / Level difference to start penalty 5
每等級懲罰率 / Penalty Rate 每等級差的懲罰比率(%) / Penalty rate per level (%) 15%

分享設定 / Share Settings / 共有設定

參數名稱 / Parameter 說明 / Description 預設值 / Default
分享比例 / Share Ratio 分享給其他成員的基礎比例(%) / Base sharing ratio (%) 50%
分享對象 / Share Target 經驗值分享的對象 / Experience sharing target 戰鬥成員 / Battle Members
分享最大倍率 / Max Share Multiplier 分享經驗值的最大倍率 / Maximum share multiplier 1.2

使用方法 / Usage Instructions / 使用方法

🚀 基本設置 / Basic Setup / 基本設定

繁體中文

  1. 確保已安裝並啟用 SRPG_core_MZ 插件
  2. 將 NNNN_SRPG_ExpAdjust.js 放置在 SRPG_core_MZ 之後
  3. 在插件管理器中啟用插件
  4. 根據遊戲需求調整各項參數
  5. 在SRPG戰鬥中系統將自動生效

English

  1. Ensure SRPG_core_MZ plugin is installed and enabled
  2. Place NNNN_SRPG_ExpAdjust.js after SRPG_core_MZ
  3. Enable the plugin in Plugin Manager
  4. Adjust parameters according to game needs
  5. System will automatically take effect in SRPG battles

日本語

  1. SRPG_core_MZプラグインがインストールされ有効化されていることを確認
  2. NNNN_SRPG_ExpAdjust.jsをSRPG_core_MZの後に配置
  3. プラグインマネージャーでプラグインを有効化
  4. ゲームの需要に応じてパラメータを調整
  5. SRPG戦闘でシステムが自動的に有効になります

📊 計算範例 / Calculation Examples / 計算例

範例1:等級差獎勵 / Example 1: Level Difference Bonus / 例1:レベル差ボーナス

角色等級 20,敵人等級 30,原始經驗值 100
等級差 = 30 - 20 = 10
觸發獎勵閾值 = 5,獎勵率 = 10%
獎勵倍率 = 1 + (10-5) × 10% = 1.5
調整後經驗值 = 100 × 1.5 = 150

範例2:經驗值分享 / Example 2: Experience Sharing / 例2:経験値共有

主角獲得調整後經驗值 150
分享比例 = 50%
其他角色分享經驗值 = 150 × 50% = 75(再根據個別等級差調整)

測試指南 / Testing Guide / テストガイド

🧪 基本功能測試 / Basic Function Testing / 基本機能テスト

繁體中文

  1. 等級差調整測試

    • 創建不同等級的敵人(如1級、20級、50級)
    • 使用20級角色分別對戰這些敵人
    • 觀察經驗值獲得量的變化
    • 預期:vs1級敵人經驗值減少,vs50級敵人經驗值增加
  2. 經驗值分享測試

    • 設置多個不同等級的角色進入戰鬥
    • 讓其中一個角色擊敗敵人
    • 檢查其他角色是否獲得分享經驗值
    • 調整分享比例參數重新測試
  3. 參數調整測試

    • 修改獎勵/懲罰閾值和比率
    • 重新進行戰鬥測試
    • 驗證計算結果是否符合新設定

English

  1. Level Difference Adjustment Test

    • Create enemies of different levels (e.g., level 1, 20, 50)
    • Fight these enemies with a level 20 character
    • Observe changes in experience gained
    • Expected: Less exp vs level 1, more exp vs level 50
  2. Experience Sharing Test

    • Set up multiple characters of different levels in battle
    • Have one character defeat an enemy
    • Check if other characters receive shared experience
    • Adjust sharing ratio parameters and retest
  3. Parameter Adjustment Test

    • Modify bonus/penalty thresholds and rates
    • Conduct battle tests again
    • Verify calculation results match new settings

日本語

  1. レベル差調整テスト

    • 異なるレベルの敵(例:1レベル、20レベル、50レベル)を作成
    • 20レベルのキャラクターでこれらの敵と戦闘
    • 経験値獲得量の変化を観察
    • 期待値:1レベル敵vs経験値減少、50レベル敵vs経験値増加
  2. 経験値共有テスト

    • 異なるレベルの複数キャラクターを戦闘に設定
    • 1人のキャラクターに敵を倒させる
    • 他のキャラクターが共有経験値を受け取るかチェック
    • 共有比率パラメータを調整して再テスト
  3. パラメータ調整テスト

    • ボーナス/ペナルティ閾値と比率を修正
    • 戦闘テストを再実行
    • 計算結果が新設定と一致するか検証

🔧 推薦測試設置 / Recommended Test Setup / 推奨テスト設定

// 測試用敵人設置 / Test Enemy Setup / テスト敵設定
低等級敵人: Level 5, EXP 50
同等級敵人: Level 20, EXP 100  
高等級敵人: Level 35, EXP 150

// 測試用角色設置 / Test Actor Setup / テストアクター設定
主角: Level 20
副角1: Level 15
副角2: Level 25

注意事項 / Important Notes / 注意事項

⚠️ 使用限制 / Usage Limitations / 使用制限

繁體中文

  • 僅在SRPG模式下生效,需要SRPG_core_MZ插件支援
  • 所有經驗值計算結果會四捨五入到整數
  • 衰減率超過100%時,經驗值變為0
  • 分享系統不會造成重複分享(避免無限循環)

English

  • Only works in SRPG mode, requires SRPG_core_MZ plugin support
  • All experience calculations are rounded to integers
  • When penalty exceeds 100%, experience becomes 0
  • Sharing system prevents duplicate sharing (avoids infinite loops)

日本語

  • SRPGモードでのみ有効、SRPG_core_MZプラグインサポートが必要
  • すべての経験値計算結果は整数に四捨五入
  • ペナルティが100%を超えると経験値は0になります
  • 共有システムは重複共有を防止(無限ループ回避)

🔧 相容性說明 / Compatibility Notes / 互換性について

繁體中文

  • 必須放置在 SRPG_core_MZ 插件之後
  • 與其他經驗值修改插件可能衝突
  • 建議優先級設置:SRPG_core_MZ → NNNN_SRPG_ExpAdjust → 其他SRPG插件

English

  • Must be placed after SRPG_core_MZ plugin
  • May conflict with other experience modification plugins
  • Recommended priority: SRPG_core_MZ → NNNN_SRPG_ExpAdjust → Other SRPG plugins

日本語

  • SRPG_core_MZプラグインの後に配置する必要があります
  • 他の経験値修正プラグインと競合する可能性があります
  • 推奨優先順位:SRPG_core_MZ → NNNN_SRPG_ExpAdjust → 他のSRPGプラグイン

技術規格 / Technical Specifications / 技術仕様

📋 系統需求 / System Requirements / システム要件

  • RPG Maker MZ: 1.0.0 以上
  • 必需插件 / Required Plugins: SRPG_core_MZ
  • 檔案大小 / File Size: 36KB
  • 行數 / Lines of Code: 807 lines

🔄 更新記錄 / Update History / 更新履歴

  • v2.000: 初始版本,完整的經驗值調整與分享系統 / Initial version with complete experience adjustment and sharing system / 完全な経験値調整・共有システムの初版

授權條款 / License / ライセンス

MIT License
Copyright (c) 2024 NeNeNeNeTai

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

支援與反饋 / Support & Feedback / サポート・フィードバック

  • GitHub: NeNeNeNeTaiPlugin
  • 作者 / Author: NeNeNeNeTai
  • 問題回報 / Issue Report: 請在GitHub提交Issue / Please submit issues on GitHub / GitHubでIssueを提出してください

About

Experience adjustment system for SRPG

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors