トップ > AB_EnemyBook.js
RPGツクールMV用プラグイン「AB_EnemyBook.js」を作りました。
2021/10/23 バージョンを 1.36 に更新しました。
上記リンクを右クリック→名前を付けてリンク先を保存でダウンロード
以下はエディタで見れるヘルプです。
日本語
English
* @plugindesc v1.36 Displays detailed statuses of enemies.
* Includes element rates, state rates etc.
* @author ヱビ
*
* @param ShowCommandInBattle
* @text Show "Enemy Info" Command
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to show the "Enemy Info" command in the battle scenes?
* You can change this in pluguin command. 0: show, 1:hide
* @default 1
*
* @param ShowAllBookCommandInBattle
* @text Show "Enemybook" Command
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to show the "Enemybook" command in the battle scenes?
* You can change this in pluguin command. 0: show, 1:hide
* @default 1
*
* @param ResisterTiming
* @type select
* @option never
* @value 0
* @option when the battle start
* @value 1
* @option when the battle end
* @value 2
* @desc This is the timing when the enemies resister to the enemy book.
* 0:never, 1:when the battle start, 2:when the battle end
* @default 2
*
* @param ShowCurrentStatus
* @text Show Current Status In The "Enemybook"
* @type select
* @option ON
* @value 1
* @option OFF
* @value 0
* @desc Do you wish to display "current status" like current HP in "Enemybook" and "Enemy Info"?
* You can change this in pluguin command. 0: ON, 1:OFF
* @default 0
*
* @param HideUnknownStatusInSkill
* @text Hide Unknown's Status On "Check Skill"
* @type select
* @option ON
* @value 1
* @option OFF
* @value 0
* @desc Do you wish to hide status on "Check Skill" if the enemy is unknown? 0:OFF、1:ON
* @default 0
*
* @param ShowGeneralStatusInSkill
* @text Show General Status In "Check Skill"
* @type select
* @option ON
* @value 1
* @option OFF
* @value 0
* @desc Do you wish to display general status in "Check Skill" ? (general status <--> current status)
* @default 0
*
* @param HideItemUntilGet
* @text Hide Item Until Get
* @type select
* @option ON
* @value 1
* @option OFF
* @value 0
* @desc Do you wish to hide items until get? 0:OFF、1:ON
* @default 0
*
* @param ShortCutButtonName
* @text Shortcut Button Name
* @type string
* @desc Display "Enemy Info" when this key triggerd.
* @default shift
*
* @param BackgroundImage
* @text Background Image
* @type file
* @dir img/parallaxes
* @desc This is the Background image.
*
* @param BackgroundImageOpacity
* @text Background Image Opacity
* @type number
* @desc This is the Background image opacity.(0~255)
* @default 120
*
* @param SpreadBackgroundImage
* @text Spread Background Image
* @type boolean
* @desc Do you wish to spread "Check Skill" window width to cover the all width?
* @default false
*
* @param EnemyOffsetY
* @text Enemy Photo Offset Y
* @type number
* @min -9999
* @desc This is the pixel number how much move to down from defaut position. If Minus number, move to up.
* @default 0
*
*
* @param ---Terms and Icons---
* @default
*
* @param EnemyBookCommandName
* @text "Enemy Info" Command Name
* @desc This is the command name show the battle enemies status in the battle scene.
* @default Enemy Info
*
* @param EnemyBookAllCommandName
* @text "Enemybook" Command Name
* @desc This is the command name show the all enemies status in the battle scene.
* @default Enemybook
*
* @param Achievement
* @desc This is the "Achivement" name write in the enemybook. The rate of enemies number registers in the book.
* @default Achievement
*
* @param UnknownEnemy
* @text Unknown Enemy Name
* @desc This is the index name of enemies that isn't resisterd in the book.
* @default ??????
*
* @param UnknownData
* @text Data Name Of Unknown Enemy
* @desc This is the content of unknown enemies' status.
* @default ???
*
* @param HitRateName
* @text Hit Rate Name
* @type string
* @desc This is the name of Hit Rate.
* @default Hit Rate
*
* @param EvadeRateName
* @text Evade Rate Name
* @type string
* @desc This is the name of Evade Rate.
* @default Evade Rate
*
* @param WeakElementName
* @text Weak Element Name
* @desc This is the name of weak element.
* @default Weak Element
*
* @param ResistElementName
* @text Resist Element Name
* @desc This is the name of resist element.
* @default Resist Element
*
* @param WeakStateName
* @text Weak State Name
* @desc This is the name of weak states.
* @default Weak State
*
* @param ResistStateName
* @text Resist State Name
* @desc This is the name of resister states. (includes invalid states).
* @default Resist State
*
* @param NoEffectStateName
* @text Invalid States Name
* @desc This is the name of invalid states.
* @default Invalid State
*
* @param DefeatNumberName
* @text Defeat Number Name
* @desc This is the name of defeat number.
* @default Defeat
*
* @param UnknownDropItemIcon
* @text Unknown Drop Item Icon
* @type number
* @min 0
* @desc This is the icon number of drop items unknown enemies have.
* default:16
* @default 16
*
* @param AddEnemySkillMessage
* @text Succeed Message to Resister Enemy Skill
* @desc This is the message when players succeed in resister to the Enemybook.
* %1......Enemy Name
* @default Resisterd %1 In the Enemybook!
*
* @param FailToAddEnemySkillMessage
* @text Unreasonable Message to Resister Enemy Skill
* @desc This is the message when players use check skill for the enemy
* that can't be resisterd to the Enemybook. %1......Enemy Name
* @default %1 Can't be resisterd to the Enemybook!
* @param MissToAddEnemySkillMessage
* @text Miss Message To Resister Enemy Skill
* @desc This is the message when the "Resister Skill" was missed. %1......Enemy Name
* @default Missed to resister %1 in the Enemybook!
*
* @param FailToCheckEnemySkillMessage
* @text Miss Massage To "Check Skill"
* @desc This is the message when the "Check Skill" was missed.
* %1......Enemy Name
* @default Missed to Check %1's States!
*
* @param ---Display Item---
* @default
*
* @param DispNo
* @text Display No
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display index number of enemy in Enemybook? 1:show, 0:hide
* @default 1
*
* @param DispLv
* @text Display Level
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display level of enemy in Enemybook? 1: show, 0: hide
* @default 1
*
* @param DispDefeatNumber
* @text Display Defeat Number
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display defeat number in the Enemybook? 0: show, 1: hide
* @default 1
*
* @param DispHP
* @text Display HP
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display HP in the Enemybook? 0: show, 1: hide
* @default 1
*
* @param DispMP
* @text Display MP
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display MP in the Enemybook? 0: show, 1: hide
* @default 1
*
* @param DispTP
* @text Display TP
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display TP in the Enemybook? 0: show, 1: hide
* @default 0
*
* @param DispATK
* @text Display ATK
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display ATK in the Enemybook? 0: show, 1: hide
* @default 1
*
* @param DispDEF
* @text Display DEF
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display DEF in the Enemybook? 0: show, 1: hide
* @default 1
*
* @param DispMAT
* @text Display MAT
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display MAT in the Enemybook? 0: show, 1: hide
* @default 1
*
* @param DispMDF
* @text Display MDF
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display MDF in the Enemybook? 0: show, 1: hide
* @default 1
*
* @param DispAGI
* @text Display AGI
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display AGI in the Enemybook? 0: show, 1: hide
* @default 1
*
* @param DispLUK
* @text Display LUK
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display LUK in the Enemybook? 0: show, 1: hide
* @default 1
*
* @param DispHitRate
* @text Display Hit Rate
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display Hit Rate in the Enemybook? 0: show, 1: hide
* @default 0
*
* @param DispEvadeRate
* @text Display Evade Rate
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display Evade Rate in the Enemybook? 0: show, 1: hide
* @default 0
*
* @param DispSkillNumber
* @text Display Skills Number
* @type number
* @desc How many skills Do you wish to display?
* @default 0
*
* @param DispDropItems
* @text Display Drop Items
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display Drop Items in the Enemybook? 0: show, 1: hide
* @default 1
*
* @param DispWeakElement
* @text Display Weak Element
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display Weak Element in the Enemybook? 0: show, 1: hide
* @default 1
*
* @param DispResistElement
* @text Display Resist Element
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display Resist Element in the Enemybook? 0: show, 1: hide
* @default 1
*
* @param DispWeakState
* @text Display Weak State
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display Weak State in the Enemybook? 0: show, 1: hide
* @default 1
*
* @param DispResistState
* @text Display Resist State
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display Resist State in the Enemybook? 0: show, 1: hide
* @default 1
*
* @param DispNoEffectState
* @text Display Invalid State
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display Invalid State in the Enemybook? 0: show, 1: hide
* @default 0
*
* @param DispDescribe
* @text Display Describe
* @type select
* @option show
* @value 1
* @option hide
* @value 0
* @desc Do you wish to display Describe in the Enemybook? 0: show, 1: hide
* @default 1
*
* @param DescribeLineNumber
* @text Describe Line Number
* @type number
* @desc How many the lines of describe?
* (0~6)
* @default 2
*
* @param ---Icon of Elements---
* @default
*
* @param UseElementIconInPluginParameter
* @text Use Element Icon In Plugin Parameter
* @type select
* @option ON
* @value 1
* @option OFF
* @value 0
* @desc Do you wish to use the under parameter for element icon? (not icon tag in the element name)
* 0:OFF、1:ON
* @default 1
*
* @param ElementIcons
* @text Element Icons
* @desc This is the Element Icons. Please type icon numbers split with space.
* @default 76 64 65 66 67 68 69 70 71
*
* @help
* ============================================================================
* Summary
* ============================================================================
*
* This plugin based on the "EnemyBook.js" made by Mr.Yoji Ojima.
*
*
*
* This plugin allows
*
* 1. Open the Enemybook Scene
* 2. Displays more statuses that are not included in the "EnemyBook.js"
* 3. Add command "Enemy Info" and "Enemybook" in the battle scene
* 4. Create "Check Skill" and "Resister Skill"
*
* You can display these statuses.
*
* ・Enemy Name
* ・Enemy Sprite
* ★Enemy's Index Number
* ★Enemy's Level
* ★Defeat Number
* ・HP, MP, ATK, DEF, MAT, MDF, AGI, LUK
* ★Skills - v1.30
* ・Drop Items
* ★Weak Elements, Resister Elements
* ★Weak States, Resister States
* ・Description
* ★Achievement of Enemybook
* (★ sindicate new items.)
*
*
* ============================================================================
* 5 Ways For Players To Use
* ============================================================================
*
* 1. Enemybook
* Display : All Enemies Resisterd in The Enemybook
* Player Action: Uses Item, Talks to people,
* "Enemybook" command in the Battle Scene
*
* 2. Enemy Info in the Battle Scene
* Display : Battle Members List. Current Status Like Current HP.
* Player Action: "Enemy Info" command in the Battle Scene
* Settings : Plugin Parameter 'Show Current Status In The "Enemy Info"' ON
*
* 3. General Info of Battle Enemies
* Display : Battle Members List. General Status (not current status).
* Player Action: "Enemy Info" command in the Battle Scene
* Settings : Plugin Parameter 'Show Current Status In The "Enemy Info"' OFF
*
* 4. Check Skill
* Display : The target enemy's Current Status
* Player Action: Use "Check Skill" For Enemy
*
* 5. Check Skill (General Data) - v1.24
* Display : The target enemy's General Status
* Player Action: Use "Check Skill" For Enemy
* Settings : Plugin Parameter 'Show General Status In "Check Skill"' ON
*
* ============================================================================
* How To Use
* ============================================================================
*
* Just set this plugin to Plugin Manager and
* call Plugin Command "EnemyBook open"!
*
* Enemies that have name is registerd when player encount on the battle.
* (For the enemy you don't want to resister but has name, need setting.)
*
* But by default, there are too many items to display and lack to space.
* Please remove some items by set on Plugin Parameter.
*
* ============================================================================
* Other functions
* ============================================================================
*
* 〇2Ways to Display Element Icon
*
* 1. Type Tag in the Element Name
* example:\i[64]Fire
*
* 2. Use Plugin Parameter - v1.04
* Please "Use Element Icon In Plugin Parameter" Plugin Parameter set to ON
* and type icon numbers split with space in "Element Icons".
* example:76 64 65 66 67 68 69 70 71
*
* 〇Unknown Enemy "???"
*
* If player open the Enemybook when the enemy isn't resistered yet,
* Enemybook displays "???" on name and status.
* You can change "???" word by setting Plugin Parameter.
*
* 〇Current Status Setting And Enemy Info Command
*
* When you use "Enemy Info" command, it displays general data by default.
* When you set Plugin Parameter Show Current Status In The "Enemy Info" ON,
* It displays Current Data.
* Not only Current HP, But also ATK and Element Rate change.
* You can change setting in game playing by Plugin Command.
*
* ○Current States And Check Skill - v1.24
*
* When you use "Check Skill", it displays current enemy's data by default.
* you can change to display General Status by setting
* Plugin Parameter Show General Status In "Check Skill" ON.
*
*
*
* 〇Resister Timing
*
* You can set resister timing by setting Plugin Parameter "Resister Timing".
*
* 0: Never
* 1: When the battle start
* 2: When the battle end
*
* 〇Display Item "???" that player don't get yet - v1.22
* You can Display Item Name "???" that player don't get yet by
* Plugin Parameter "Hide Item Until Get".
*
* ============================================================================
* Plugin Commands
* ============================================================================
*
* 〇EnemyBook.js Commands
*
* EnemyBook open
* Open the Enemybook Scene.
* EnemyBook add 3
* Register Enemy id 3.
* EnemyBook remove 4
* Remove Enemy id 4 from the Enemybook.
* EnemyBook complete
* Register all enemies.
* EnemyBook clear
* Remove all enemies from the Enemybook.
*
* 〇Oter plugin Command
*
* EnemyBook showInBattle
* Show "Enemy Info" command in battle.
* EnemyBook hideInBattle
* Hide "Enemy Info" command in battle.
* EnemyBook showCurrentStatus
* Show Current Status when player uses "Enemy Info" Command.
* EnemyBook showGeneralStatus
* Show General Status when player uses "Enemy Info" Command.
*
* 〇v1.06
*
* EnemyBook getAchievement per 12
* Substitute enemybook achievement(%) for variable id 12.
* EnemyBook getAchievement num 14
* Substitute enemybook achievement(number) for variable id 14.
* EnemyBook isRegistered 5 96
* Set Switch id 96 whether enemy id 5 is Resisterd or not.
* EnemyBook getDefeatNumber 3 24
* Substitute Defeat Number of Enemy id 3 to variable 24.
*
* 〇v1.16
* EnemyBook openEnemy 16
* Open the enemy 16 page.
*
* 〇v1.17
* EnemyBook showAllInBattle
* Show "Enemybook" Command in the battle.
* EnemyBook hideAllInBattle
* Hide "Enemybook" Command in the battle.
*
* 〇v1.20
* EnemyBook clearDefeatNumber
* Clear the defeat number of all Enemies.
*
* 〇v1.22
* EnemyBook clearEnemyDrop
* Clear the enemy drop of all Enemies.
*
* ============================================================================
* Enemy Note Tag
* ============================================================================
*
* 〇EnemyBook.js note Tag
*
* - By 1.27 version updating, describe line number increased.
* Please set Plugin Parameter "Describe Line Number" the line number
* you want to display. Max number is infinity.
*
*
* This is the description line 1.
*
* This is the description line 2.
*
* This is the description line 3.
*
*
*
* When you type this tag to enemy note, the enemy is not be able to
* registerd.
*
* 〇Other tags
*
*
* Display the enemy level 3 to Enemybook.
* If you write nothing, level will not be displayed.
*
* - v1.04
* Player can see status by "Check Skill" if the enemy has tag.
*
* ============================================================================
* Skill Note Tag
* ============================================================================
*
*
* This skill become to "Register Skill".
* This skill resister target to the Enemybook.
* If the enemy can be resisterd, Succeed Message will be displayed.
* If not, Missed Message will displayed.
*
*
* This skill become to "Check Skill".
* This skill displays target's status.
* If the enemy can be resisterd, status will be displayed.
* If not, Missed Message will displayed.
*
* 〇v1.21
* You can displey unknown enemy's status "???" When you set
* Plugin Parameter 'Hide Unknown's Status On "Check Skill"' ON,
*
* You can set message of these 2 skills by setting Plugin Parameters.
*
* ============================================================================
* State Note Tag
* ============================================================================
*
*
* You can hide state in the Enemybook.
*
* ============================================================================
* Update Log
* ============================================================================
*
* Version 1.36
* Fixed the bug that if you used the plugin command "EnemyBook openEnemy"
* in Battle Scene, start the Battle from turn 0.
* Change to be able to use variables in "openEnemy" command by using
* "v[id]" argument.
*
* Version 1.35
* Fixed the bug when plugin parameter "Display Hit Rate" turn on.
* Fixed the bug that "Display Skills Number" is counted double.
* Add new parameter "Evade Rate".
*
* Version 1.34
* Change to be able to change Enemy Photo Offset Y.
*
* Version 1.33
* Change to be able to change background image opacity by setting plugin
* parameter.
*
* Version 1.32
* Change to be able to display background image by setting plugin parameter.
*
* Version 1.30
* Translate this help to English.
*
* ============================================================================
* Term of Use
* ============================================================================
*
* ・Credit - Unnecessary
* ・Use in any game engine - not allowed
* You can use this plugin in RPGMakerMV only.
*
* ・Commercial use - OK
* ・Non-commercial use - OK
* ・Edits for your project needs - OK
* ・Redistribution - OK
*
* This plugin is edited based in RPGMaker material.
* Please see the RPGMaker Term of Use.
* https://tkool.jp/support/index.html
*/
/*:ja
* @plugindesc v1.36 戦闘中も確認できるモンスター図鑑です。属性、ステートの耐性の確認もできます。
* @author ヱビ
*
* @param ShowCommandInBattle
* @text 戦闘中に「敵の情報」表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc バトル中に敵の情報コマンドを表示するかどうかを決めます。
* プラグインコマンドで変更することもできます。0:非表示、1:表示
* @default 1
*
* @param ShowAllBookCommandInBattle
* @text 戦闘中に「図鑑」表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc バトル中に図鑑コマンドを表示するかどうかを決めます。
* プラグインコマンドで変更することもできます。0:非表示、1:表示
* @default 1
*
* @param ResisterTiming
* @text 登録タイミング
* @type select
* @option 登録されない
* @value 0
* @option 戦闘開始時
* @value 1
* @option 戦闘終了時
* @value 2
* @desc 図鑑に登録されるタイミングです。
* 0:登録されない、1:戦闘開始時、2:戦闘終了時
* @default 2
*
* @param ShowCurrentStatus
* @text 「図鑑」で現在のステータスを表示
* @type select
* @option ON
* @value 1
* @option OFF
* @value 0
* @desc ONにすると、「図鑑」「敵の情報」で敵の現在の情報(現在HPなど)が見られます。
* プラグインコマンドで変更することもできます。0:OFF、1:ON
* @default 0
*
* @param HideUnknownStatusInSkill
* @text 「チェック」で未登録の敵のステータスを隠す
* @type select
* @option ON
* @value 1
* @option OFF
* @value 0
* @desc ONにすると、敵の情報をスキルで見た時も、登録されていない敵は「???」と表示されます。0:OFF、1:ON
* @default 0
*
* @param ShowGeneralStatusInSkill
* @text 「チェック」で一般的なステータスを表示
* @type select
* @option ON
* @value 1
* @option OFF
* @value 0
* @desc ONにすると、敵の情報をスキルで見た時も、現在HPではなく一般的なデータが表示されます。0:OFF、1:ON
* @default 0
*
* @param HideItemUntilGet
* @text 手に入れるまでドロップアイテムを隠す
* @type select
* @option ON
* @value 1
* @option OFF
* @value 0
* @desc アイテムをゲットするまで表示しないようにします。0:OFF、1:ON
* @default 0
*
* @param ShortCutButtonName
* @text ショートカットボタンの名前
* @type string
* @desc 戦闘中に敵の情報をこのショートカットキーで
* 見られるようにします。
* @default shift
*
* @param BackgroundImage
* @text 背景画像
* @type file
* @dir img/parallaxes
* @desc 背景をウィンドウではなく画像にします。
*
* @param SpreadBackgroundImage
* @text 背景画像を広げる
* @type boolean
* @desc ONにすると、チェックスキルのときウィンドウが画面いっぱいに広がります。
* @default false
*
* @param BackgroundImageOpacity
* @text 背景画像不透明度
* @type number
* @desc 背景画像の不透明度です。(0~255)
* @default 120
*
* @param EnemyOffsetY
* @text 敵キャラ画像オフセットY
* @type number
* @min -9999
* @desc ここで指定したピクセル数分、敵キャラの画像が下方向にずれます。マイナスで上にずれます。
* @default 0
*
*
*
* @param ---用語、アイコン---
* @default
*
* @param EnemyBookCommandName
* @text 「敵の情報」の名前
* @desc バトル中の敵の情報を見るコマンドの名前です。
* @default 敵の情報
*
* @param EnemyBookAllCommandName
* @text 「図鑑」の名前
* @desc バトル中、通常通り図鑑を開くコマンドの名前です。
* @default 図鑑
*
* @param Achievement
* @text 達成率の名前
* @desc 達成率の名前です。
* @default 達成率
*
* @param UnknownEnemy
* @text 未登録の敵の索引名
* @desc 未登録の敵キャラの索引名です。
* @default ??????
*
* @param UnknownData
* @text 未登録の敵のデータ名
* @desc まだ図鑑に登録されていない敵キャラの各データの内容です。
* @default ???
*
* @param HitRateName
* @text 命中率名前
* @type string
* @desc 命中率を図鑑になんと表示しますか?
* @default 命中率
*
* @param EvadeRateName
* @text 回避率名前
* @type string
* @desc 回避率を図鑑になんと表示しますか?
* @default 回避率
*
*
* @param WeakElementName
* @text 弱点属性の名前
* @desc 効きやすい属性の名前です。
* @default 弱点属性
*
* @param ResistElementName
* @text 耐性属性の名前
* @desc 効きにくい属性の名前です。
* @default 耐性属性
*
* @param WeakStateName
* @text 弱点ステートの名前
* @desc 効きやすいステートの名前です。
* @default 弱点ステート
*
* @param ResistStateName
* @text 耐性ステートの名前
* @desc 効きにくいステートの名前です。無効ステートも含みます。
* @default 耐性ステート
*
* @param NoEffectStateName
* @text 無効ステートの名前
* @desc 効かないステートの名前です。
* @default 無効ステート
*
* @param DefeatNumberName
* @text 敵を倒した数の名前
* @desc 敵を倒した数の名前です。
* @default 倒した数
*
* @param UnknownDropItemIcon
* @text 未登録の敵のアイテムアイコン
* @type number
* @min 0
* @desc 未知の敵キャラの落とすアイテムのアイコンの番号です。
* デフォルト:16
* @default 16
*
* @param AddEnemySkillMessage
* @text 図鑑登録スキル成功メッセージ
* @desc スキルで敵キャラを図鑑に登録することに成功したときの
* メッセージです。%1が敵キャラの名前に置き換えられます。
* @default %1を図鑑に登録した!
*
* @param FailToAddEnemySkillMessage
* @text 図鑑登録スキル不能メッセージ
* @desc スキルで敵キャラが図鑑に載らない敵だった場合の
* メッセージです。%1が敵キャラの名前に置き換えられます。
* @default %1は図鑑には載せられない!
* @param MissToAddEnemySkillMessage
* @text 図鑑登録スキル失敗メッセージ
* @desc スキルで敵キャラを図鑑に登録することに失敗したときの
* メッセージです。%1が敵キャラの名前に置き換えられます。
* @default %1を図鑑に登録するのに失敗した!
*
* @param FailToCheckEnemySkillMessage
* @text チェックスキル失敗メッセージ
* @desc スキルで敵キャラの情報を見ることに失敗したときの
* メッセージです。%1が敵キャラの名前に置き換えられます。
* @default %1の情報はわからなかった!
*
* @param ---表示項目---
* @default
*
* @param DispNo
* @text 敵キャラの図鑑No表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑に番号を表示するか決めます。0:非表示、1:表示
* @default 1
*
* @param DispLv
* @text レベル表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑にレベルを表示するか決めます。0:非表示、1:表示
* @default 1
*
* @param DispDefeatNumber
* @text 倒した数表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑にその敵を倒した数を表示するか決めます。
* 0:非表示、1:表示
* @default 1
*
* @param DispHP
* @text HP表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑にHPを表示するか決めます。0:非表示、1:表示
* @default 1
*
* @param DispMP
* @text MP表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑にMPを表示するか決めます。0:非表示、1:表示
* @default 1
*
* @param DispTP
* @text TP表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑にTPを表示するか決めます。0:非表示、1:表示
* @default 0
*
* @param DispATK
* @text 攻撃力表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑に攻撃力を表示するか決めます。0:非表示、1:表示
* @default 1
*
* @param DispDEF
* @text 防御力表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑に防御力を表示するか決めます。0:非表示、1:表示
* @default 1
*
* @param DispMAT
* @text 魔法力表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑に魔法力を表示するか決めます。0:非表示、1:表示
* @default 1
*
* @param DispMDF
* @text 魔法防御表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑に魔法防御を表示するか決めます。0:非表示、1:表示
* @default 1
*
* @param DispAGI
* @text 敏捷性表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑に敏捷性を表示するか決めます。0:非表示、1:表示
* @default 1
*
* @param DispLUK
* @text 運表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑に運を表示するか決めます。0:非表示、1:表示
* @default 1
*
*
* @param DispHitRate
* @text 命中率表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑に命中率を表示するか決めます。0:非表示、1:表示
* @default 0
*
* @param DispEvadeRate
* @text 回避率表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑に回避率を表示するか決めます。0:非表示、1:表示
* @default 0
*
* @param DispSkillNumber
* @text スキル表示数
* @type number
* @desc スキルの表示数を決めます。
* @default 0
*
* @param DispDropItems
* @text ドロップアイテム表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑にドロップアイテムを表示するか決めます。0:非表示、1:表示
* @default 1
*
* @param DispWeakElement
* @text 弱点属性表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑に効きやすい属性を表示するか決めます。0:非表示、1:表示
* @default 1
*
* @param DispResistElement
* @text 耐性属性表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑に効きにくい属性を表示するか決めます。0:非表示、1:表示
* @default 1
*
* @param DispWeakState
* @text 弱点ステート表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑に効きやすいステートを表示するか決めます。
* 0:非表示、1:表示
* @default 1
*
* @param DispResistState
* @text 耐性ステート表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑に効きにくいステートを表示するか決めます。(無効含む)
* 0:非表示、1:表示
* @default 1
*
* @param DispNoEffectState
* @text 無効ステート表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑に効かないステートを表示するか決めます。
* 0:非表示、1:表示
* @default 0
*
* @param DispDescribe
* @text 説明表示
* @type select
* @option 表示
* @value 1
* @option 非表示
* @value 0
* @desc 図鑑に敵キャラの説明を表示するか決めます。
* 0:非表示、1:表示
* @default 1
*
* @param DescribeLineNumber
* @text 説明の行数
* @type number
* @desc 図鑑に敵キャラの説明を何行表示しますか?
* (0~6行)
* @default 2
*
* @param ---属性アイコン---
* @default
*
* @param UseElementIconInPluginParameter
* @type select
* @option ON
* @value 1
* @option OFF
* @value 0
* @desc 属性の中のアイコンではなく、下のパラメータを使いますか?
* 0:OFF、1:ON
* @default 1
*
* @param ElementIcons
* @desc 属性のアイコンです。1番から順番に半角スペースで区切って並
* べてください。
* @default 76 64 65 66 67 68 69 70 71
*
* @help
* ============================================================================
* 概要
* ============================================================================
*
* RPGツクールデフォルトでついてくる、Yoji Ojima 様のプラグイン「EnemyBook.js」
* の改変プラグイン
*
* 〇できること
*
* ・モンスター図鑑を開ける
* ・EnemyBook.jsではなかった項目も見られる
* ・戦闘中に図鑑を見られるコマンドを追加可能
* ・敵の情報を見るチェックスキルを作れる
*
* 〇表示できるもの(★はEnemyBook.jsにはなかった項目)
*
* ・敵の名前
* ・敵のイラスト
* ★敵の番号
* ★レベル(メモ欄で設定)
* ★その敵を倒した数
* ・HP、MP、攻撃力、防御力、魔法力、魔法防御、敏捷性、運
* ★スキル -v1.30
* ・ドロップアイテム
* ★効きやすい属性、効きにくい属性
* ★効きやすいステート、効きにくい(無効含む)ステート、効かないステート
* ・説明文(メモ欄で設定、2行)
* ★図鑑の達成率
*
* ============================================================================
* 4つの表示方法
* ============================================================================
*
* 1.図鑑
* 表示:図鑑に登録されているすべての敵のリスト
* 操作:アイテムを使ったり、人に話しかけたり、戦闘中に「図鑑」コマンド
*
* 2.バトル中の敵のステータス一覧
* 表示:バトル中の敵のリスト。HPゲージなど、現在のステータス
* 操作:戦闘中に「敵の情報」コマンド。
* 設定:「「図鑑」で現在のステータスを表示」がONになっているとき
*
* 3.バトル中の敵の図鑑の情報
* 表示:バトル中の敵のリスト。現在のステータスではなく、図鑑の情報
* 操作:戦闘中に「敵の情報」コマンド。
* 設定:「「図鑑」で現在のステータスを表示」がOFFになっているとき
*
* 4.チェック
* 表示:チェックした敵の現在のステータス
* 操作:チェックスキルを敵に対して使用
*
* 5.チェック(一般データ) - v1.24
* 表示:チェックした敵の一般データ
* 操作:チェックスキルを敵に対して使用。
* 設定:「「チェック」で一般的なステータスを表示」がONになっているとき。
*
* ============================================================================
* とりあえずの導入方法
* ============================================================================
*
* このプラグインをプラグインマネージャーで読み込んで、
* 図鑑を表示するイベントにプラグインコマンド「EnemyBook open」を加えるだけ!
*
* データベースの敵キャラは、名前が空白でなければ図鑑に登録されていきます。
* (名前があっても図鑑に登録したくない敵キャラには、設定が必要です)
*
* ただ、そのままでは表示する項目が多すぎて表示しきれていないので、プラグイン
* パラメータで表示する項目を削りましょう。
*
* ============================================================================
* その他
* ============================================================================
*
* 〇属性の表示方法、2通り
*
* 1.属性の名前の中にアイコンを入れる
* 例:\i[64]炎
*
* 2.プラグインパラメータを使う - v1.04
* UseElementIconInPluginParameterをONにし、
* ElementIconsに属性アイコンの番号を半角スペースで区切って並べてください。
* 例:76 64 65 66 67 68 69 70 71
*
* 〇未確認の敵キャラ「???」
*
* まだ図鑑に登録されていない敵との戦闘中に図鑑を開くと、データが「???」と
* 表示されます。「???」の部分はプラグインパラメータの「未登録の敵の索引名」
* で設定できます。
*
* 〇現在の情報を見る設定・敵の情報コマンド
*
* デフォルトでは敵の情報コマンドでは、一般的な敵のデータが出るようになっていま
* す。
* プラグインパラメータ「「図鑑」で現在のステータスを表示」 を ON にすると、
* 戦闘中に敵の情報を開いたとき、現在の敵キャラのパラメータが表示されます。
* 現在HPだけでなく、攻撃力や属性有効度の変化も表示されます。
* 現在の情報を見る設定は、プラグインコマンドで変更できます。
*
* 〇現在の情報を見る設定・チェックスキル - v1.24
*
* デフォルトではチェックスキルでは現在の敵のデータが出るようになっています。
* プラグインパラメータ「「チェック」で一般的なステータスを表示」をONにすると、
* スキルでチェックしたときも、一般的な敵のデータを表示するようにできます。
*
* 〇図鑑に登録されるタイミング
*
* プラグインパラメータ「登録タイミング」で、図鑑に登録されるタイミングを設定でき
* ます。
*
* 0: 登録されない
* 1: 戦闘開始時
* 2: 戦闘終了時
*
* 〇ゲットしていないアイテムを???にする - v1.22
* プラグインパラメータ「手に入れるまでドロップアイテムを隠す」をONにすると、
* ゲットしていないアイテムを???と表示します。
*
* ============================================================================
* プラグインコマンド
* ============================================================================
*
* 〇EnemyBook.jsと同じコマンド
*
* EnemyBook open
* 図鑑画面を開きます。
* EnemyBook add 3
* 敵キャラ3番を図鑑に追加します。
* EnemyBook remove 4
* 敵キャラ4番を図鑑から削除します。
* EnemyBook complete
* 図鑑を完成させます。
* EnemyBook clear
* 図鑑をクリアします。
*
* 〇その他のプラグインコマンド
*
* EnemyBook showInBattle
* 戦闘中に「敵の情報」を開くことができるようにします。
* EnemyBook hideInBattle
* 戦闘中に「敵の情報」を開くことができないようにします。
* EnemyBook showCurrentStatus
* 戦闘中に「敵の情報」を開くと、現在の敵のパラメータを見られるようにします。
* EnemyBook showGeneralStatus
* 戦闘中に「敵の情報」を開くと、その敵の一般的な情報を見られるようにします。
*
* 〇v1.06
*
* EnemyBook getAchievement per 12
* 図鑑の達成率(%)を変数12番に入れます。
* EnemyBook getAchievement num 14
* 図鑑の登録数を変数14番に入れます。
* EnemyBook isRegistered 5 96
* 敵キャラ5番が図鑑に登録されているかどうかをスイッチ96番に入れます。
* EnemyBook getDefeatNumber 3 24
* 敵キャラ3番を倒した数を変数24に入れます。
*
* 〇v1.16
* EnemyBook openEnemy 16
* ID16の敵キャラの画面を開きます。
*
* 〇v1.17
* EnemyBook showAllInBattle
* 戦闘中に「図鑑」を開くことができるようにします。
* EnemyBook hideAllInBattle
* 戦闘中に「図鑑」を開くことができないようにします。
*
* 〇v1.20
* EnemyBook clearDefeatNumber
* 倒した数をリセットします。
*
* 〇v1.22
* EnemyBook clearEnemyDrop
* エネミードロップを入手したかどうかをリセットします。
*
* ============================================================================
* 敵キャラのメモ欄
* ============================================================================
*
* 〇EnemyBook.jsと同じタグ
*
* - v1.27より、表示できる行が増えました。
* ウィンドウの高さを計算するため、プラグインパラメータ「説明の行数」で、
* 表示する行の数を設定してください。何行までも表示できます。
*
*
* 説明1行目です。
*
* 説明2行目です。
*
* 説明3行目です。
*
* 説明4行目です。
*
* 説明5行目です。
*
* 説明6行目です。
*
*
*
* これを設定した敵キャラは図鑑に載りません。
*
* 〇その他のタグ
*
*
* 図鑑に強さの目安となるレベルを記載します。
* 何も書かなければ、何も表示されません。
*
*
* Version 1.04で追加しました。
* を書いた敵でもこのタグを付ければのスキルで
* チェックできます。
*
* ============================================================================
* スキルのメモ欄
* ============================================================================
*
*
* 対象を図鑑に登録します。
* 対象が図鑑に載る敵キャラだった場合は成功メッセージが、
* そうでなかった場合失敗メッセージが表示されます。
*
*
* 対象の情報を見ます。
* 対象が図鑑に載る敵キャラだった場合図鑑が表示され、
* そうでなかった場合失敗メッセージが表示されます。
* このスキルでは、対象の現在のパラメータ(現在HPなど)が表示されます。
* 〇v1.21
* プラグインパラメータHideUnknownStatusInSkillで「???」と表示することも
* できるようになりました。
*
* この2つのスキルのメッセージはプラグインパラメータで設定できます。
*
* ============================================================================
* ステートのメモ欄
* ============================================================================
*
*
* このステートを図鑑に表示しないようにできます。
*
* ============================================================================
* 更新履歴
* ============================================================================
*
* Version 1.36
* 戦闘中に「EnemyBook openEnemy」で図鑑を開いたときも戦闘用のウィンドウが開
* くようにしました。
* プラグインコマンド「EnemyBook openEnemy」で、
* v[id]の形で、その変数のIDの敵キャラのページを開けるようになりました。
*
* Version 1.35
* 「命中率表示」をONにして図鑑を開いたとき、エラーが出て止まる不具合と、
* 「スキル表示数」が2倍計算されていた不具合を修正しました。
* 「回避率表示」を追加しました。
*
* Version 1.34
* 敵キャラのY軸の位置を設定できるようにしました。
*
* Version 1.33
* プラグインパラメータで背景画像の不透明度を設定できるようにしました。
*
* Version 1.32
* プラグインパラメータで背景画像を指定できるようにしました。
*
* Version 1.31
* 未登録の敵キャラの画像が表示されていた問題を修正しました。
*
* Version 1.30
* 英訳しました。
* 敵の情報コマンド使用後にチェックスキルを使用した時、チェックした後戦闘が
* 進行しなくなる不具合を直しました。
* プラグインパラメータ「スキル表示数」でスキルを表示できるようにしました。
*
*
* Version 1.29
* 図鑑一覧で左キーで上に、右キーで下に表示個数分移動するようにしました。
*
* Version 1.28
* 戦闘中、ショートカットキーを登録すると敵の情報を呼び出せるようにしまし
* た。(このアイデアをくださった方、そのときに実現できず申し訳ありません。)
*
* Version 1.27
* プラグインパラメータを日本語にしました。
* ドロップアイテムの個数によってその下の情報の表示位置が異なる問題を修正しま
* した。
* 敵キャラの説明の行数を増やせるようにしました。
*
* Version 1.26
* TPと命中率を表示した時、ウィンドウサイズが反映されない不具合を修正しまし
* た。
*
* Version 1.25
* TPと命中率を表示できるようにしました。
*
* Version 1.24
* HideUnknownStatusInSkillをONにしていても、図鑑に登録されていない敵をスキ
* ルでチェックした時に属性とステートは表示されていましたが、???と表示する
* ように修正しました。
* スキルでチェックした時も、現在のパラメータではなく一般的なパラメータを表示
* できるプラグインパラメータShowGeneralStatusInSkillを追加しました。
*
* Version 1.23
* 未登録のモンスターをチェックしようとするとエラーが発生してしまう不具合を修
* 正しました。
*
* Version 1.22
* ドロップしていないアイテムを???と表示する機能を追加しました。
* ドロップアイテムを入手したかどうかをリセットするプラグインコマンドを追加し
* ました。
*
* Version 1.21
* スキルで図鑑に登録するとき、スキルの成功率を参照するようにしました。
* スキルで図鑑を見るときも、初めて会った敵は???と表示されるように設定でき
* るようにしました。
*
* Version 1.20
* 倒した数をリセットするプラグインコマンドを追加しました。
*
* Version 1.19
* YEPのプラグインを使わずに図鑑を開いたとき、変数Importedが見つからないとい
* うエラーが出る不具合を直しました。
*
* Version 1.18
* 戦闘中に「図鑑」コマンドで開いたとき、まだ図鑑に登録されておらず、索引名が
* ?????になるはずの敵キャラの名前が表示されてしまっていた不具合を直しま
* した。
*
* Version 1.17
* ヘルプを見やすくしました。
* 戦闘中に図鑑のすべての敵キャラの情報を見られるコマンド「図鑑」を追加しまし
* た。そのため、プラグインパラメータ2つとプラグインコマンド2つを追加しまし
* た。
* 戦闘中にアイテムなどで図鑑を開いたとき、戦闘中の敵ではなく、図鑑全体を開く
* ようにしました。そのとき、シーンを挿入するのではなくバトルシーン上のウィン
* ドウを使うようにしました。これにより戦闘中に図鑑を開いてもターンがリセット
* されるバグを回避できます。
*
* Version 1.16
* プラグインコマンドで、指定したIDの敵キャラの画面を開けるようにしました。
*
* Version 1.15
* YEP_X_AnimatedSVEnemiesを入れていないときエラーが発生してプレイが中断され
* てしまう不具合を直しました。
*
* Version 1.14
* YEP_X_AnimatedSVEnemiesを入れてもアニメーションしていなかった不具合を直し
* ました。残っていたコンソールログを削除しました。
*
* Version 1.13
* YEP_X_AnimatedSVEnemiesを使っている場合、アニメーションするようにしまし
* た。また、YEP_X_AnimatedSVEnemiesを使っている場合でも、1回目でも表示される
* ようにしました。
*
* Version 1.12
* 図鑑を開いたとき、1回目だけ敵キャラのスプライトがはみ出してしまう不具合を
* 修正しました。
*
* Version 1.11
* 図鑑を開いたとき、1回目は敵キャラのスプライトが表示されず、2回目にカーソル
* を合わせたときに初めて表示される不具合を修正しました。
* (YEP_X_AnimatedSVEnemiesを使っている場合、SVエネミーを表示するためにこの
* 不具合は修正していません)
*
* Version 1.10
* ツクールのデータベースの用語で、HPやMPに「体力」などの日本語を使ったとき、
* 文字が重なってしまうバグを修正しました。
*
* Version 1.09
* プラグインパラメータShowCurrentStatusの設定が反映されないバグを修正しまし
* た。
*
* Version 1.08
* YEP_X_AnimatedSVEnemies.jsを使っているとき、アクターが表示されるようにしま
* した。
*
* Version 1.07
* プラグインパラメータDispLvでレベルを表示するかどうか選べるようにし、倒した
* 数をレベルの次に表示するようにしました。
*
* Version 1.06
* プラグインコマンドを4種追加しました。図鑑の達成率、登録数、敵キャラが登録さ
* れているかどうか、敵キャラを何体倒したかの4種を取得できます。
*
* Version 1.05
* 図鑑に敵を倒した数を表示できるようにしました。
*
* Version 1.04
* 属性の中にアイコンを書けない時のため、プラグインパラメータで属性のアイコン
* を設定できるようにしました。
* が設定されている敵キャラでも、が設定されていれば
* スキルでならチェックできるようにしました。
*
* Version 1.03
* モンスターの番号を表示できるようにしました。
* 達成率を表示するようにしました。
* 無効化ステートの項目をONにしているとき、耐性ステートには無効化ステートは
* 表示されないようにしました。
*
* Version 1.02
* 無効ステートの項目を追加しました。
* 耐性の項目が奇数のとき、図鑑説明がかぶってしまう不具合を修正しました。
*
* Version 1.01
* 表示項目によって余白を削り、ウィンドウの高さを小さくするようにしました。
* 高さを計算するために、説明を表示するかどうかを設定するプラグインパラメータ
* DispDescribe を追加しました。
* また、対象の情報を見るスキルを使ったとき、敵を選択するウィンドウを
* 非表示にするようにしました。
*
* Version 1.00
* 初版
*
* ============================================================================
* 利用規約
* ============================================================================
*
* ・クレジット表記は不要
* ・営利目的で使用可
* ただし、素材そのものの販売は禁止です。
* ・改変可
* ・素材だけの再配布も可
* ・アダルトゲーム、残酷なゲームでの使用も可
* ・ツクール素材の改変素材です
* ツクール公式の利用規約をご覧ください。
* https://tkool.jp/support/index.html
*/
トップ > AB_EnemyBook.js