Class: RPG::UsableItem

Inherits:
BaseItem show all
Defined in:
lib/eidolon/rgss2/rpg/usable_item.rb,
lib/eidolon/rgss3/rpg/usable_item.rb,
lib/eidolon/rgss3/rpg/usable_item/damage.rb,
lib/eidolon/rgss3/rpg/usable_item/effect.rb

Overview

RGSS3

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

UsableItem

Superclass of Skill and Item.

Direct Known Subclasses

Item, Skill

Defined Under Namespace

Classes: Damage, Effect

Instance Attribute Summary collapse

Attributes inherited from BaseItem

#description, #features, #icon_index, #id, #name, #note

Instance Attribute Details

#absorb_damageObject

Returns the value of attribute absorb_damage.



21
22
23
# File 'lib/eidolon/rgss2/rpg/usable_item.rb', line 21

def absorb_damage
  @absorb_damage
end

#animation_idObject

Returns the value of attribute animation_id.



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

def animation_id
  @animation_id
end

#atk_fObject

Returns the value of attribute atk_f.



17
18
19
# File 'lib/eidolon/rgss2/rpg/usable_item.rb', line 17

def atk_f
  @atk_f
end

#base_damageObject

Returns the value of attribute base_damage.



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

def base_damage
  @base_damage
end

#common_event_idObject

Returns the value of attribute common_event_id.



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

def common_event_id
  @common_event_id
end

#damageObject

Returns the value of attribute damage.



18
19
20
# File 'lib/eidolon/rgss3/rpg/usable_item.rb', line 18

def damage
  @damage
end

#damage_to_mpObject

Returns the value of attribute damage_to_mp.



20
21
22
# File 'lib/eidolon/rgss2/rpg/usable_item.rb', line 20

def damage_to_mp
  @damage_to_mp
end

#effectsObject

Returns the value of attribute effects.



19
20
21
# File 'lib/eidolon/rgss3/rpg/usable_item.rb', line 19

def effects
  @effects
end

#element_setObject

Returns the value of attribute element_set.



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

def element_set
  @element_set
end

#hit_typeObject

Returns the value of attribute hit_type.



17
18
19
# File 'lib/eidolon/rgss3/rpg/usable_item.rb', line 17

def hit_type
  @hit_type
end

#ignore_defenseObject

Returns the value of attribute ignore_defense.



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

def ignore_defense
  @ignore_defense
end

#minus_state_setObject

Returns the value of attribute minus_state_set.



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

def minus_state_set
  @minus_state_set
end

#occasionObject

Returns the value of attribute occasion.



11
12
13
# File 'lib/eidolon/rgss2/rpg/usable_item.rb', line 11

def occasion
  @occasion
end

#physical_attackObject

Returns the value of attribute physical_attack.



19
20
21
# File 'lib/eidolon/rgss2/rpg/usable_item.rb', line 19

def physical_attack
  @physical_attack
end

#plus_state_setObject

Returns the value of attribute plus_state_set.



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

def plus_state_set
  @plus_state_set
end

#repeatsObject

Returns the value of attribute repeats.



15
16
17
# File 'lib/eidolon/rgss3/rpg/usable_item.rb', line 15

def repeats
  @repeats
end

#scopeObject

Returns the value of attribute scope.



10
11
12
# File 'lib/eidolon/rgss2/rpg/usable_item.rb', line 10

def scope
  @scope
end

#speedObject

Returns the value of attribute speed.



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

def speed
  @speed
end

#spi_fObject

Returns the value of attribute spi_f.



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

def spi_f
  @spi_f
end

#success_rateObject

Returns the value of attribute success_rate.



14
15
16
# File 'lib/eidolon/rgss3/rpg/usable_item.rb', line 14

def success_rate
  @success_rate
end

#tp_gainObject

Returns the value of attribute tp_gain.



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

def tp_gain
  @tp_gain
end

#varianceObject

Returns the value of attribute variance.



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

def variance
  @variance
end