Class: RPG::UsableItem::Damage

Inherits:
Object
  • Object
show all
Defined in:
lib/eidolon/rgss3/rpg/usable_item/damage.rb

Overview

RGSS3

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

Damage

The data class for damage.

Instance Attribute Summary collapse

Instance Attribute Details

#criticalObject

Returns the value of attribute critical.



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

def critical
  @critical
end

#element_idObject

Returns the value of attribute element_id.



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

def element_id
  @element_id
end

#formulaObject

Returns the value of attribute formula.



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

def formula
  @formula
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

#varianceObject

Returns the value of attribute variance.



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

def variance
  @variance
end