Class: RPG::Weapon

Inherits:
EquipItem show all
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

Attributes inherited from EquipItem

#etype_id, #params

Attributes inherited from BaseItem

#features, #icon_index, #note

Instance Attribute Details

#agiObject

Returns the value of attribute agi.



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

def agi
  @agi
end

#agi_plusObject

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_idObject

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_idObject

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_idObject

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

#atkObject

Returns the value of attribute atk.



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

def atk
  @atk
end

#critical_bonusObject

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

#defObject

Returns the value of attribute def.



14
15
16
# File 'lib/eidolon/rgss2/rpg/weapon.rb', line 14

def def
  @def
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#dex_plusObject

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_attackObject

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_setObject

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_attackObject

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

#hitObject

Returns the value of attribute hit.



12
13
14
# File 'lib/eidolon/rgss2/rpg/weapon.rb', line 12

def hit
  @hit
end

#icon_nameObject

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

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#int_plusObject

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

#mdefObject

Returns the value of attribute mdef.



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

def mdef
  @mdef
end

#minus_state_setObject

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

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#pdefObject

Returns the value of attribute pdef.



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

def pdef
  @pdef
end

#plus_state_setObject

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

#priceObject

Returns the value of attribute price.



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

def price
  @price
end

#spiObject

Returns the value of attribute spi.



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

def spi
  @spi
end

#state_setObject

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_plusObject

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_handedObject

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_idObject

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