Class: RPG::Enemy
- 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
Instance Attribute Summary collapse
-
#actions ⇒ Object
Returns the value of attribute actions.
-
#agi ⇒ Object
Returns the value of attribute agi.
-
#animation1_id ⇒ Object
Returns the value of attribute animation1_id.
-
#animation2_id ⇒ Object
Returns the value of attribute animation2_id.
-
#armor_id ⇒ Object
Returns the value of attribute armor_id.
-
#atk ⇒ Object
Returns the value of attribute atk.
-
#battler_hue ⇒ Object
Returns the value of attribute battler_hue.
-
#battler_name ⇒ Object
Returns the value of attribute battler_name.
-
#def ⇒ Object
Returns the value of attribute def.
-
#dex ⇒ Object
Returns the value of attribute dex.
-
#drop_item1 ⇒ Object
Returns the value of attribute drop_item1.
-
#drop_item2 ⇒ Object
Returns the value of attribute drop_item2.
-
#drop_items ⇒ Object
Returns the value of attribute drop_items.
-
#element_ranks ⇒ Object
Returns the value of attribute element_ranks.
-
#eva ⇒ Object
Returns the value of attribute eva.
-
#exp ⇒ Object
Returns the value of attribute exp.
-
#gold ⇒ Object
Returns the value of attribute gold.
-
#has_critical ⇒ Object
Returns the value of attribute has_critical.
-
#hit ⇒ Object
Returns the value of attribute hit.
-
#id ⇒ Object
Returns the value of attribute id.
-
#int ⇒ Object
Returns the value of attribute int.
-
#item_id ⇒ Object
Returns the value of attribute item_id.
-
#levitate ⇒ Object
Returns the value of attribute levitate.
-
#maxhp ⇒ Object
Returns the value of attribute maxhp.
-
#maxmp ⇒ Object
Returns the value of attribute maxmp.
-
#maxsp ⇒ Object
Returns the value of attribute maxsp.
-
#mdef ⇒ Object
Returns the value of attribute mdef.
-
#name ⇒ Object
Returns the value of attribute name.
-
#note ⇒ Object
Returns the value of attribute note.
-
#params ⇒ Object
Returns the value of attribute params.
-
#pdef ⇒ Object
Returns the value of attribute pdef.
-
#spi ⇒ Object
Returns the value of attribute spi.
-
#state_ranks ⇒ Object
Returns the value of attribute state_ranks.
-
#str ⇒ Object
Returns the value of attribute str.
-
#treasure_prob ⇒ Object
Returns the value of attribute treasure_prob.
-
#weapon_id ⇒ Object
Returns the value of attribute weapon_id.
Attributes inherited from BaseItem
#description, #features, #icon_index
Instance Attribute Details
#actions ⇒ Object
Returns the value of attribute actions.
26 27 28 |
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 26 def actions @actions end |
#agi ⇒ Object
Returns the value of attribute agi.
16 17 18 |
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 16 def agi @agi end |
#animation1_id ⇒ Object
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_id ⇒ Object
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_id ⇒ Object
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 |
#atk ⇒ Object
Returns the value of attribute atk.
18 19 20 |
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 18 def atk @atk end |
#battler_hue ⇒ Object
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_name ⇒ Object
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 |
#def ⇒ Object
Returns the value of attribute def.
15 16 17 |
# File 'lib/eidolon/rgss2/rpg/enemy.rb', line 15 def def @def end |
#dex ⇒ Object
Returns the value of attribute dex.
15 16 17 |
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 15 def dex @dex end |
#drop_item1 ⇒ Object
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_item2 ⇒ Object
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_items ⇒ Object
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_ranks ⇒ Object
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 |
#eva ⇒ Object
Returns the value of attribute eva.
21 22 23 |
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 21 def eva @eva end |
#exp ⇒ Object
Returns the value of attribute exp.
27 28 29 |
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 27 def exp @exp end |
#gold ⇒ Object
Returns the value of attribute gold.
28 29 30 |
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 28 def gold @gold end |
#has_critical ⇒ Object
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 |
#hit ⇒ Object
Returns the value of attribute hit.
18 19 20 |
# File 'lib/eidolon/rgss2/rpg/enemy.rb', line 18 def hit @hit end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 8 def id @id end |
#int ⇒ Object
Returns the value of attribute int.
17 18 19 |
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 17 def int @int end |
#item_id ⇒ Object
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 |
#levitate ⇒ Object
Returns the value of attribute levitate.
24 25 26 |
# File 'lib/eidolon/rgss2/rpg/enemy.rb', line 24 def levitate @levitate end |
#maxhp ⇒ Object
Returns the value of attribute maxhp.
12 13 14 |
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 12 def maxhp @maxhp end |
#maxmp ⇒ Object
Returns the value of attribute maxmp.
13 14 15 |
# File 'lib/eidolon/rgss2/rpg/enemy.rb', line 13 def maxmp @maxmp end |
#maxsp ⇒ Object
Returns the value of attribute maxsp.
13 14 15 |
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 13 def maxsp @maxsp end |
#mdef ⇒ Object
Returns the value of attribute mdef.
20 21 22 |
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 20 def mdef @mdef end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 9 def name @name end |
#note ⇒ Object
Returns the value of attribute note.
29 30 31 |
# File 'lib/eidolon/rgss2/rpg/enemy.rb', line 29 def note @note end |
#params ⇒ Object
Returns the value of attribute params.
12 13 14 |
# File 'lib/eidolon/rgss3/rpg/enemy.rb', line 12 def params @params end |
#pdef ⇒ Object
Returns the value of attribute pdef.
19 20 21 |
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 19 def pdef @pdef end |
#spi ⇒ Object
Returns the value of attribute spi.
16 17 18 |
# File 'lib/eidolon/rgss2/rpg/enemy.rb', line 16 def spi @spi end |
#state_ranks ⇒ Object
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 |
#str ⇒ Object
Returns the value of attribute str.
14 15 16 |
# File 'lib/eidolon/rgss/rpg/enemy.rb', line 14 def str @str end |
#treasure_prob ⇒ Object
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_id ⇒ Object
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 |