Class: Game_Enemy
new Game_Enemy ()
戦闘中の[敵キャラ]のパラメータの取得、画像の設定を行うクラス。
関連クラス: RPG.Enemy.Action, Game_Troop, Game_Actor, Game_Party, Scene_Battle, BattleManager, Window_BattleEnemy
Properties:
Name |
Type |
Description |
_enemyId |
Number |
敵キャラ ID |
_letter |
String |
接尾辞(A,B…など) |
_plural |
Boolean |
群(2 体以上)か |
_screenX |
Number |
画面上の x 座標 |
_screenY |
Number |
画面上の y 座標 |
Inherited From
Methods
battlerHue () → {Number}
色相。
battlerName () → {String}
[名前]を返す。
dropItemRate () → {Number}
ドロップアイテム出現率を返す。
[敵キャラ]のデータベース情報を返す。
enemyId () → {Number}
[敵キャラ]の ID を返す。
[敵キャラ]の[経験値]を返す。
[敵グループ]を返す。
[所持金]を返す。
index () → {Number}
[敵キャラ]の番号を返す。
initialize (enemyId, x, y)
指定の[敵キャラ]と座標で初期化。
Overrides:[Game_Battler#initialize]
Parameters:
initMembers ()
Overrides:Game_Battler
isActionValid (action) → {Boolean}
[行動パターン]が実行可能か。
Parameters:
isBattleMember () → {Boolean}
戦闘に参加しているか。
isEnemy () → {Boolean}
Overrides:Game_BattlerBase
isLetterEmpty () → {Boolean}
接尾辞(A,B…など)が付いていない名前か。
isSpriteVisible () → {Boolean}
画像が表示されているか。
itemObject (kind, dataId) → {RPG.BaseItem}
指定したアイテムを返す。
Parameters:
Name |
Type |
Description |
kind |
Number |
種類(1:アイテム, 2:武器, 3:防具) |
dataId |
Numver |
アイテム ID |
makeActions ()
Overrides:Game_Battler
ドロップアイテムを生成して返す。
meetsCondition (action) → {Boolean}
[行動パターン]が[条件]に合致しているか。
Parameters:
meetsHpCondition (param1, param2) → {Boolean}
[条件 - HP]に合致しているか。
Parameters:
Name |
Type |
Description |
param1 |
Number |
範囲下限 HP |
param2 |
Number |
範囲上限 HP |
meetsMpCondition (param1, param2) → {Boolean}
[条件 - MP]に合致しているか。
Parameters:
Name |
Type |
Description |
param1 |
Number |
範囲下限 MP |
param2 |
Number |
範囲上限 MP |
meetsPartyLevelCondition (param) → {Boolean}
[条件 - パーティ Lv]に合致しているか。
Parameters:
Name |
Type |
Description |
param |
Number |
レベル |
meetsStateCondition (param) → {Boolean}
[条件 - ステート]に合致しているか。
Parameters:
meetsSwitchCondition (param) → {Boolean}
[条件 - スイッチ]に合致しているか。
Parameters:
Name |
Type |
Description |
param |
Number |
スイッチ ID |
meetsTurnCondition (param1, param2) → {Boolean}
[条件 - ターン]に合致しているか。
Parameters:
Name |
Type |
Description |
param1 |
Number |
範囲下限ターン |
param2 |
Number |
範囲上限ターン |
接尾辞つきの名前を返す。
opponentsUnit () → {Game_Party}
味方パーティを返す。
originalName () → {String}
[名前]を返す。
paramBase (paramId) → {Number}
Overrides:Game_BattlerBase
Overrides:Game_Battler
Overrides:Game_Battler
Overrides Game_Battler
Overrides:Game_Battler
Overrides:Game_Battler
screenX () → {Number}
画面上の x 座標を返す。
screenY () → {Number}
画面上の y 座標を返す。
selectAction (actionList, ratingZero) → {RPG.Enemy.Action}
指定した[行動パターン]リストの中から選択した[行動パターン]を返す。
Parameters:
selectAllActions (actionList)
指定した[行動パターン]リストを元に全行動を選択。
Parameters:
setLetter (letter)
接尾辞(A,B…など)を設定。
Parameters:
Name |
Type |
Description |
letter |
String |
接尾辞 |
setPlural (plural)
群(2 体以上)であるか設定。
Parameters:
Name |
Type |
Description |
plural |
Boolean |
群か |
setup (enemyId, x, y)
指定の敵と座標で Gama_Enemy を設定。
Parameters:
Overrides:Game_Battler</a>
指定の[敵キャラ]へ変更(変身)。
Parameters:
Name |
Type |
Description |
enemyId |
Number |
敵キャラ ID |
Menu
RPG ツクール MV JavaScript 非公式リファレンスClass: ArrayClass: AudioManagerClass: BattleManagerClass: BitmapClass: CacheEntryClass: CacheMapClass: ConfigManagerClass: DataManagerClass: DecrypterClass: Game_ActionClass: Game_ActionResultClass: Game_ActorClass: Game_ActorsClass: Game_BattlerClass: Game_BattlerBaseClass: Game_CharacterClass: Game_CharacterBaseClass: Game_CommonEventClass: Game_EnemyClass: Game_EventClass: Game_FollowerClass: Game_FollowersClass: Game_InterpreterClass: Game_ItemClass: Game_MapClass: Game_MessageClass: Game_PartyClass: Game_PictureClass: Game_PlayerClass: Game_ScreenClass: Game_SelfSwitchesClass: Game_SwitchesClass: Game_SystemClass: Game_TempClass: Game_TimerClass: Game_TroopClass: Game_UnitClass: Game_VariablesClass: Game_VehicleClass: GraphicsClass: Html5AudioClass: ImageCacheClass: ImageManagerClass: InputClass: JsonExClass: MV.AudioParametersClass: MV.BattleLogMethodClass: MV.BattleRewardsClass: MV.BattlerAnimationClass: MV.ColorClass: MV.CommandItemClass: MV.ConfigDataClass: MV.CssColorClass: MV.DatabaseFileClass: MV.MatrixClass: MV.MotionClass: MV.PluginSettingsClass: MV.SaveContentsClass: MV.SaveFileInfoClass: MV.TextStateClass: MV.ToneClass: MV.TouchInputEventsNamespace: MVClass: MathClass: NumberClass: PIXI.ContainerClass: PIXI.DisplayObjectClass: PIXI.GraphicsClass: PIXI.RendererClass: PIXI.SpriteClass: PluginManagerClass: PointClass: RPG.ActorClass: RPG.Animation.TimingClass: RPG.AnimationClass: RPG.ArmorClass: RPG.AudioFileClass: RPG.BaseItemClass: RPG.BattleEventPage.ConditionsClass: RPG.BattleEventPageClass: RPG.Class.LearningClass: RPG.ClassClass: RPG.CommonEventClass: RPG.DamageClass: RPG.EffectClass: RPG.Enemy.ActionClass: RPG.Enemy.DropItemClass: RPG.EnemyClass: RPG.EquipItemClass: RPG.EventClass: RPG.EventCommandClass: RPG.EventPage.ConditionsClass: RPG.EventPage.ImageClass: RPG.EventPageClass: RPG.ItemClass: RPG.Map.EncounterClass: RPG.MapClass: RPG.MapInfoClass: RPG.MetaDataClass: RPG.MoveCommandClass: RPG.MoveRouteClass: RPG.SkillClass: RPG.StateClass: RPG.System.AttackMotionClass: RPG.System.TermsClass: RPG.System.TestBattlerClass: RPG.System.VehicleClass: RPG.SystemClass: RPG.TilesetClass: RPG.TraitClass: RPG.Troop.MemberClass: RPG.TroopClass: RPG.UsableItemClass: RPG.WeaponNamespace: RPGClass: RectangleClass: RequestQueueClass: ResourceHandlerClass: SceneManagerClass: Scene_BaseClass: Scene_BattleClass: Scene_BootClass: Scene_DebugClass: Scene_EquipClass: Scene_FileClass: Scene_GameEndClass: Scene_GameoverClass: Scene_ItemClass: Scene_ItemBaseClass: Scene_LoadClass: Scene_MapClass: Scene_MenuClass: Scene_MenuBaseClass: Scene_NameClass: Scene_OptionsClass: Scene_SaveClass: Scene_ShopClass: Scene_SkillClass: Scene_StatusClass: Scene_TitleClass: ScreenSpriteClass: ShaderTilemapClass: SoundManagerClass: SpriteClass: Sprite_ActorClass: Sprite_AnimationClass: Sprite_BalloonClass: Sprite_BaseClass: Sprite_BattlerClass: Sprite_ButtonClass: Sprite_CharacterClass: Sprite_DamageClass: Sprite_DestinationClass: Sprite_EnemyClass: Sprite_PictureClass: Sprite_StateIconClass: Sprite_StateOverlayClass: Sprite_TimerClass: Sprite_WeaponClass: Spriteset_BaseClass: Spriteset_BattleClass: Spriteset_MapClass: StageClass: StorageManagerClass: StringClass: TextManagerClass: TilemapClass: TilingSpriteClass: ToneFilterClass: ToneSpriteClass: TouchInputClass: UtilsClass: WeatherClass: WebAudioClass: WindowClass: WindowLayerClass: Window_ActorCommandClass: Window_BaseClass: Window_BattleActorClass: Window_BattleEnemyClass: Window_BattleItemClass: Window_BattleLogClass: Window_BattleSkillClass: Window_BattleStatusClass: Window_ChoiceListClass: Window_CommandClass: Window_DebugEditClass: Window_DebugRangeClass: Window_EquipCommandClass: Window_EquipItemClass: Window_EquipSlotClass: Window_EquipStatusClass: Window_EventItemClass: Window_GameEndClass: Window_GoldClass: Window_HelpClass: Window_HorzCommandClass: Window_ItemCategoryClass: Window_ItemListClass: Window_MapNameClass: Window_MenuActorClass: Window_MenuCommandClass: Window_MenuStatusClass: Window_MessageClass: Window_NameEditClass: Window_NameInputClass: Window_NumberInputClass: Window_OptionsClass: Window_PartyCommandClass: Window_SavefileListClass: Window_ScrollTextClass: Window_SelectableClass: Window_ShopBuyClass: Window_ShopCommandClass: Window_ShopNumberClass: Window_ShopSellClass: Window_ShopStatusClass: Window_SkillListClass: Window_SkillStatusClass: Window_SkillTypeClass: Window_StatusClass: Window_TitleCommandGlobalクラスツリー