Class: Params
- Inherits:
-
Object
- Object
- Params
- Defined in:
- app/models/params.rb
Overview
This class keeps all the global static constants.
Constant Summary
- PERCENT_DENOMINATOR =
Denominator of percentage.
100
- SS_MAX =
Maximum value of sum of squares.
10000
- DIRECTION_SYMBOLS =
Symbols of a point of the compass.
[:north, :east, :west, :south]
- RESEARCH_COST_BASE =
Base cost of research.
1000
- RESEARCH_SYMBOLS =
Symbols of research.
[:weapon, :armor, :potion, :trap]
- MAP_DISTANCE_MAX =
Maximum distance between mini maps.
100
- ROAD_BUILD_COST_BASE =
Base cost of building new road between mini maps.
100
- FORTRESS_SIZE_MULTIPLIER =
Multiplier of fortress size which calculated from mini map size.
2
- ITEM_SYMBOL_DESCRIPTIONS =
Description of item.(Internationalized)
Hash.new
- ELEMENT_SYMBOL_DESCRIPTIONS =
Description of element.(Internationalized)
Hash.new
- SKILL_TYPE_DESCRIPTIONS =
Description of skill.(Internationalized)
Hash.new
- GENDER_SYMBOL_DESCRIPTIONS =
Description of gender.(Internationalized)
Hash.new
- PRODUCTION_QUEUE_DEFAULT_PRIORITY =
Default priority of production queue item.
3
- PRODUCTION_QUEUE_DEFAULT_ALLOTMENT =
Default allotment of production queue item.
0
- PRODUCTION_QUEUE_DESTROY_MULTIPLIER =
Note:
Destroying is faster than creating.
Multiplier of destroying production queue item.
10
- NEW_ROOT_FIND_PERCENTAGE =
Ratio percentage of finding new root to another mini map.
30
- GENDER_FEMALE =
Symbol of female gender.
:f
- GENDER_MALE =
Symbol of male gender.
:m
- GENDER_ASEXUAL =
Symbol of male asexual.
:a
- MOB_DNA_QUANTITY =
Quantity of gene which belongs to same mob.
2
- GENE_SEED_VARIANCE =
Variance of gene attribute modifier for seed mob.
0.1
- GENE_MIX_VARIANCE =
Variance of gene attribute modifier for mating.
0.1
- MOB_ADULT_AGE_RATE =
Becoming an adult age rate with life of mob.
0.1875
- MOB_AGE_MAX =
Maximum age of mob.
1000
- MOB_STATUS_MAX =
Maximum status value of mob.
100000
- MOB_ELEMENT_MAX =
Maximum element value of mob.
1000
- MOB_ELEMENT_MIN =
Minimum element value of mob.
-1000
- MOB_MAX_HP_MULTIPLIER =
Multiplier of sp which is calculated from CON.
2
- MOB_MAX_SP_MULTIPLIER =
Multiplier of sp which is calculated from CON.
2
- JOB_TYPE_DESCRIPTIONS =
Description of job type.(Internationalized)
Hash.new
- MISSION_CATEGORY_SYMBOLS =
Symbols of mission category.
[:guard, :intrude, :move]
- MISSION_CATEGORY_SYMBOL_DESCRIPTIONS =
Description of mission status.(Internationalized)
Hash.new
- MISSION_STATUS_SYMBOLS =
Symbols of mission status.
[:not_start, :on_going, :pending, :completed]
- MISSION_STATUS_SYMBOL_DESCRIPTIONS =
Description of mission status.(Internationalized)
Hash.new
- ENEMY_VISIBLE_DISTANCE =
Multiplier of fortress size which calculated from mini map size.
4
- BATTLE_START_ATK_VPOS =
Vpos of mobs of attacker squad
1
- BATTLE_START_DEF_VPOS =
Vpos of mobs of defender squad
5
- HIT_ADJUST_MAX =
Maximum value of hit adjustment.
0.3
- DAMAGE_ADJUST_MAX =
Maximum value of damage adjustment.
0.8
- DAMAGE_SD =
Standard deviation of damage
0.2
- BUFF_EXP =
Exp for Buff and DeBuff.
5
- JOBS =
Job IDs.
{:war=>1, :wiz=>2, :pri=>3, :thf=>4, :rng=>5}
- TAUNT_HATE_INCREASE =
Hate increase value by taunt. TODO hate increase value should be changeable.
1000
- EVAC_HP_RATE =
HP Rate of evac skill is happen
0.2