Module: GamesAndRpgParadise::DSA::Formulas
- Included in:
- Character
- Defined in:
- lib/games_and_rpg_paradise/rpg/dsa/dsa.rb
Overview
#
The Formulas should come defined quite early in this .rb file, as other code within this .rb file depends on these Strings.
#
Constant Summary collapse
- FORMEL_LE =
#
Next, we define a bunch of Formulas for DSA.
#
'(KO+KO+KK) / 2'
- FORMEL_INI =
'(MU+MU+IN+GE) / 5'
- FORMEL_AT_BAS =
'(MU+GE+KK) / 5'
- FORMEL_PA_BAS =
'(IN+GE+KK) / 5'
- FORMEL_FK_BAS =
(IN+FF+KK):5
'(IN+FF+KK) / 5'
- FORMEL_INI_BAS =
'(MU+MU+IN+GE) / 5'
- FORMEL_MR =
'(MU+KL+KO) / 5'
- FORMEL_AU =
'(MU+GE+KO) / 2'
- FORMEL_AE =
'(MU+IN+CH) / 2'
- FORMEL_BEHERRSCHUNGSWERT =
'(MU+MU+CH+ZfW) / 4'
Class Method Summary collapse
-
.calculate_le_basis(_KO = 12, _KK = 14) ⇒ Object
# === GamesAndRpgParadise::DSA::Formulas.calculate_le_basis ========================================================================= #.
Class Method Details
.calculate_le_basis(_KO = 12, _KK = 14) ⇒ Object
#
GamesAndRpgParadise::DSA::Formulas.calculate_le_basis
#
41 42 43 44 45 |
# File 'lib/games_and_rpg_paradise/rpg/dsa/dsa.rb', line 41 def self.calculate_le_basis( _KO = 12, _KK = 14 ) return (_KO+_KO+_KK) / 2 end |