Class: RPG::Enemy

Inherits:
BaseItem show all
Defined in:
lib/eidolon/rgss/rpg/enemy.rb,
lib/eidolon/rgss2/rpg/enemy.rb,
lib/eidolon/rgss3/rpg/enemy.rb,
lib/eidolon/rgss/rpg/enemy/action.rb,
lib/eidolon/rgss2/rpg/enemy/action.rb,
lib/eidolon/rgss3/rpg/enemy/action.rb,
lib/eidolon/rgss2/rpg/enemy/drop_item.rb,
lib/eidolon/rgss3/rpg/enemy/drop_item.rb

Overview

RGSS3

This data structure is specific to RGSS3 (VX Ace).

Enemy

The data class for enemies.

Defined Under Namespace

Classes: Action, DropItem

Instance Attribute Summary collapse

Attributes inherited from BaseItem

#description, #features, #icon_index

Instance Attribute Details

#actionsObject

Returns the value of attribute actions.



26
27
28
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 26

def actions
  @actions
end

#agiObject

Returns the value of attribute agi.



16
17
18
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 16

def agi
  @agi
end

#animation1_idObject

Returns the value of attribute animation1_id.



22
23
24
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 22

def animation1_id
  @animation1_id
end

#animation2_idObject

Returns the value of attribute animation2_id.



23
24
25
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 23

def animation2_id
  @animation2_id
end

#armor_idObject

Returns the value of attribute armor_id.



31
32
33
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 31

def armor_id
  @armor_id
end

#atkObject

Returns the value of attribute atk.



18
19
20
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 18

def atk
  @atk
end

#battler_hueObject

Returns the value of attribute battler_hue.



11
12
13
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 11

def battler_hue
  @battler_hue
end

#battler_nameObject

Returns the value of attribute battler_name.



10
11
12
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 10

def battler_name
  @battler_name
end

#defObject

Returns the value of attribute def.



15
16
17
# File 'lib/eidolon/rgss2/rpg/enemy.rb', line 15

def def
  @def
end

#dexObject

Returns the value of attribute dex.



15
16
17
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 15

def dex
  @dex
end

#drop_item1Object

Returns the value of attribute drop_item1.



22
23
24
# File 'lib/eidolon/rgss2/rpg/enemy.rb', line 22

def drop_item1
  @drop_item1
end

#drop_item2Object

Returns the value of attribute drop_item2.



23
24
25
# File 'lib/eidolon/rgss2/rpg/enemy.rb', line 23

def drop_item2
  @drop_item2
end

#drop_itemsObject

Returns the value of attribute drop_items.



16
17
18
# File 'lib/eidolon/rgss3/rpg/enemy.rb', line 16

def drop_items
  @drop_items
end

#element_ranksObject

Returns the value of attribute element_ranks.



24
25
26
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 24

def element_ranks
  @element_ranks
end

#evaObject

Returns the value of attribute eva.



21
22
23
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 21

def eva
  @eva
end

#expObject

Returns the value of attribute exp.



27
28
29
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 27

def exp
  @exp
end

#goldObject

Returns the value of attribute gold.



28
29
30
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 28

def gold
  @gold
end

#has_criticalObject

Returns the value of attribute has_critical.



25
26
27
# File 'lib/eidolon/rgss2/rpg/enemy.rb', line 25

def has_critical
  @has_critical
end

#hitObject

Returns the value of attribute hit.



18
19
20
# File 'lib/eidolon/rgss2/rpg/enemy.rb', line 18

def hit
  @hit
end

#idObject

Returns the value of attribute id.



8
9
10
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 8

def id
  @id
end

#intObject

Returns the value of attribute int.



17
18
19
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 17

def int
  @int
end

#item_idObject

Returns the value of attribute item_id.



29
30
31
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 29

def item_id
  @item_id
end

#levitateObject

Returns the value of attribute levitate.



24
25
26
# File 'lib/eidolon/rgss2/rpg/enemy.rb', line 24

def levitate
  @levitate
end

#maxhpObject

Returns the value of attribute maxhp.



12
13
14
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 12

def maxhp
  @maxhp
end

#maxmpObject

Returns the value of attribute maxmp.



13
14
15
# File 'lib/eidolon/rgss2/rpg/enemy.rb', line 13

def maxmp
  @maxmp
end

#maxspObject

Returns the value of attribute maxsp.



13
14
15
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 13

def maxsp
  @maxsp
end

#mdefObject

Returns the value of attribute mdef.



20
21
22
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 20

def mdef
  @mdef
end

#nameObject

Returns the value of attribute name.



9
10
11
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 9

def name
  @name
end

#noteObject

Returns the value of attribute note.



29
30
31
# File 'lib/eidolon/rgss2/rpg/enemy.rb', line 29

def note
  @note
end

#paramsObject

Returns the value of attribute params.



12
13
14
# File 'lib/eidolon/rgss3/rpg/enemy.rb', line 12

def params
  @params
end

#pdefObject

Returns the value of attribute pdef.



19
20
21
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 19

def pdef
  @pdef
end

#spiObject

Returns the value of attribute spi.



16
17
18
# File 'lib/eidolon/rgss2/rpg/enemy.rb', line 16

def spi
  @spi
end

#state_ranksObject

Returns the value of attribute state_ranks.



25
26
27
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 25

def state_ranks
  @state_ranks
end

#strObject

Returns the value of attribute str.



14
15
16
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 14

def str
  @str
end

#treasure_probObject

Returns the value of attribute treasure_prob.



32
33
34
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 32

def treasure_prob
  @treasure_prob
end

#weapon_idObject

Returns the value of attribute weapon_id.



30
31
32
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 30

def weapon_id
  @weapon_id
end