Class: RPG::Weapon
- Defined in:
- lib/eidolon/rgss/rpg/weapon.rb,
lib/eidolon/rgss2/rpg/weapon.rb,
lib/eidolon/rgss3/rpg/weapon.rb
Overview
RGSS3
This data structure is specific to RGSS3 (VX Ace).
Weapon
The data class for weapons.
Instance Attribute Summary collapse
-
#agi ⇒ Object
Returns the value of attribute agi.
-
#agi_plus ⇒ Object
Returns the value of attribute agi_plus.
-
#animation1_id ⇒ Object
Returns the value of attribute animation1_id.
-
#animation2_id ⇒ Object
Returns the value of attribute animation2_id.
-
#animation_id ⇒ Object
Returns the value of attribute animation_id.
-
#atk ⇒ Object
Returns the value of attribute atk.
-
#critical_bonus ⇒ Object
Returns the value of attribute critical_bonus.
-
#def ⇒ Object
Returns the value of attribute def.
-
#description ⇒ Object
Returns the value of attribute description.
-
#dex_plus ⇒ Object
Returns the value of attribute dex_plus.
-
#dual_attack ⇒ Object
Returns the value of attribute dual_attack.
-
#element_set ⇒ Object
Returns the value of attribute element_set.
-
#fast_attack ⇒ Object
Returns the value of attribute fast_attack.
-
#hit ⇒ Object
Returns the value of attribute hit.
-
#icon_name ⇒ Object
Returns the value of attribute icon_name.
-
#id ⇒ Object
Returns the value of attribute id.
-
#int_plus ⇒ Object
Returns the value of attribute int_plus.
-
#mdef ⇒ Object
Returns the value of attribute mdef.
-
#minus_state_set ⇒ Object
Returns the value of attribute minus_state_set.
-
#name ⇒ Object
Returns the value of attribute name.
-
#pdef ⇒ Object
Returns the value of attribute pdef.
-
#plus_state_set ⇒ Object
Returns the value of attribute plus_state_set.
-
#price ⇒ Object
Returns the value of attribute price.
-
#spi ⇒ Object
Returns the value of attribute spi.
-
#state_set ⇒ Object
Returns the value of attribute state_set.
-
#str_plus ⇒ Object
Returns the value of attribute str_plus.
-
#two_handed ⇒ Object
Returns the value of attribute two_handed.
-
#wtype_id ⇒ Object
Returns the value of attribute wtype_id.
Attributes inherited from EquipItem
Attributes inherited from BaseItem
Instance Attribute Details
#agi ⇒ Object
Returns the value of attribute agi.
16 17 18 |
# File 'lib/eidolon/rgss2/rpg/weapon.rb', line 16 def agi @agi end |
#agi_plus ⇒ Object
Returns the value of attribute agi_plus.
20 21 22 |
# File 'lib/eidolon/rgss/rpg/weapon.rb', line 20 def agi_plus @agi_plus end |
#animation1_id ⇒ Object
Returns the value of attribute animation1_id.
12 13 14 |
# File 'lib/eidolon/rgss/rpg/weapon.rb', line 12 def animation1_id @animation1_id end |
#animation2_id ⇒ Object
Returns the value of attribute animation2_id.
13 14 15 |
# File 'lib/eidolon/rgss/rpg/weapon.rb', line 13 def animation2_id @animation2_id end |
#animation_id ⇒ Object
Returns the value of attribute animation_id.
10 11 12 |
# File 'lib/eidolon/rgss2/rpg/weapon.rb', line 10 def animation_id @animation_id end |
#atk ⇒ Object
Returns the value of attribute atk.
15 16 17 |
# File 'lib/eidolon/rgss/rpg/weapon.rb', line 15 def atk @atk end |
#critical_bonus ⇒ Object
Returns the value of attribute critical_bonus.
20 21 22 |
# File 'lib/eidolon/rgss2/rpg/weapon.rb', line 20 def critical_bonus @critical_bonus end |
#def ⇒ Object
Returns the value of attribute def.
14 15 16 |
# File 'lib/eidolon/rgss2/rpg/weapon.rb', line 14 def def @def end |
#description ⇒ Object
Returns the value of attribute description.
11 12 13 |
# File 'lib/eidolon/rgss/rpg/weapon.rb', line 11 def description @description end |
#dex_plus ⇒ Object
Returns the value of attribute dex_plus.
19 20 21 |
# File 'lib/eidolon/rgss/rpg/weapon.rb', line 19 def dex_plus @dex_plus end |
#dual_attack ⇒ Object
Returns the value of attribute dual_attack.
19 20 21 |
# File 'lib/eidolon/rgss2/rpg/weapon.rb', line 19 def dual_attack @dual_attack end |
#element_set ⇒ Object
Returns the value of attribute element_set.
22 23 24 |
# File 'lib/eidolon/rgss/rpg/weapon.rb', line 22 def element_set @element_set end |
#fast_attack ⇒ Object
Returns the value of attribute fast_attack.
18 19 20 |
# File 'lib/eidolon/rgss2/rpg/weapon.rb', line 18 def fast_attack @fast_attack end |
#hit ⇒ Object
Returns the value of attribute hit.
12 13 14 |
# File 'lib/eidolon/rgss2/rpg/weapon.rb', line 12 def hit @hit end |
#icon_name ⇒ Object
Returns the value of attribute icon_name.
10 11 12 |
# File 'lib/eidolon/rgss/rpg/weapon.rb', line 10 def icon_name @icon_name end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/eidolon/rgss/rpg/weapon.rb', line 8 def id @id end |
#int_plus ⇒ Object
Returns the value of attribute int_plus.
21 22 23 |
# File 'lib/eidolon/rgss/rpg/weapon.rb', line 21 def int_plus @int_plus end |
#mdef ⇒ Object
Returns the value of attribute mdef.
17 18 19 |
# File 'lib/eidolon/rgss/rpg/weapon.rb', line 17 def mdef @mdef end |
#minus_state_set ⇒ Object
Returns the value of attribute minus_state_set.
24 25 26 |
# File 'lib/eidolon/rgss/rpg/weapon.rb', line 24 def minus_state_set @minus_state_set end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/eidolon/rgss/rpg/weapon.rb', line 9 def name @name end |
#pdef ⇒ Object
Returns the value of attribute pdef.
16 17 18 |
# File 'lib/eidolon/rgss/rpg/weapon.rb', line 16 def pdef @pdef end |
#plus_state_set ⇒ Object
Returns the value of attribute plus_state_set.
23 24 25 |
# File 'lib/eidolon/rgss/rpg/weapon.rb', line 23 def plus_state_set @plus_state_set end |
#price ⇒ Object
Returns the value of attribute price.
14 15 16 |
# File 'lib/eidolon/rgss/rpg/weapon.rb', line 14 def price @price end |
#spi ⇒ Object
Returns the value of attribute spi.
15 16 17 |
# File 'lib/eidolon/rgss2/rpg/weapon.rb', line 15 def spi @spi end |
#state_set ⇒ Object
Returns the value of attribute state_set.
22 23 24 |
# File 'lib/eidolon/rgss2/rpg/weapon.rb', line 22 def state_set @state_set end |
#str_plus ⇒ Object
Returns the value of attribute str_plus.
18 19 20 |
# File 'lib/eidolon/rgss/rpg/weapon.rb', line 18 def str_plus @str_plus end |
#two_handed ⇒ Object
Returns the value of attribute two_handed.
17 18 19 |
# File 'lib/eidolon/rgss2/rpg/weapon.rb', line 17 def two_handed @two_handed end |
#wtype_id ⇒ Object
Returns the value of attribute wtype_id.
10 11 12 |
# File 'lib/eidolon/rgss3/rpg/weapon.rb', line 10 def wtype_id @wtype_id end |