Esempio n. 1
0
 void LoadBasicDataStats(JObject o)
 {
     stats = new BasicDataStatsStatic((double?)o["FlatArmorMod"],
         (double?)o["FlatAttackSpeedMod"],
         (double?)o["FlatBlockMod"],
         (double?)o["FlatCritChanceMod"],
         (double?)o["FlatCritDamageMod"],
         (double?)o["FlatEXPBonus"],
         (double?)o["FlatEnergyPoolMod"],
         (double?)o["FlatEnergyRegenMod"],
         (double?)o["FlatHPPoolMod"],
         (double?)o["FlatHPRegenMod"],
         (double?)o["FlatMPPoolMod"],
         (double?)o["FlatMPRegenMod"],
         (double?)o["FlatMagicDamageMod"],
         (double?)o["FlatMovementSpeedMod"],
         (double?)o["FlatPhysicalDamageMod"],
         (double?)o["FlatSpellBlockMod"],
         (double?)o["PercentArmorMod"],
         (double?)o["PercentAttackSpeedMod"],
         (double?)o["PercentBlockMod"],
         (double?)o["PercentCritChanceMod"],
         (double?)o["PercentCritDamageMod"],
         (double?)o["PercentDodgeMod"],
         (double?)o["PercentEXPBonus"],
         (double?)o["PercentHPPoolMod"],
         (double?)o["PercentHPRegenMod"],
         (double?)o["PercentLifeStealMod"],
         (double?)o["PercentMPPoolMod"],
         (double?)o["PercentMPRegenMod"],
         (double?)o["PercentMagicDamageMod"],
         (double?)o["PercentMovementSpeedMod"],
         (double?)o["PercentPhysicalDamageMod"],
         (double?)o["PercentSpellBlockMod"],
         (double?)o["PercentSpellVampMod"],
         (double?)o["rFlatArmorModPerLevel"],
         (double?)o["rFlatArmorPenetrationMod"],
         (double?)o["rFlatArmorPenetrationModPerLevel"],
         (double?)o["rFlatCritChanceModPerLevel"],
         (double?)o["rFlatCritDamageModPerLevel"],
         (double?)o["rFlatDodgeMod"],
         (double?)o["rFlatDodgeModPerLevel"],
         (double?)o["rFlatEnergyModPerLevel"],
         (double?)o["rFlatEnergyRegenModPerLevel"],
         (double?)o["rFlatGoldPer10Mod"],
         (double?)o["rFlatHPModPerLevel"],
         (double?)o["rFlatHPRegenModPerLevel"],
         (double?)o["rFlatMPModPerLevel"],
         (double?)o["rFlatMPRegenModPerLevel"],
         (double?)o["rFlatMagicDamageModPerLevel"],
         (double?)o["rFlatMagicPenetrationMod"],
         (double?)o["rFlatMagicPenetrationModPerLevel"],
         (double?)o["rFlatMovementSpeedModPerLevel"],
         (double?)o["rFlatPhysicalDamageModPerLevel"],
         (double?)o["rFlatSpellBlockModPerLevel"],
         (double?)o["rFlatTimeDeadMod"],
         (double?)o["rFlatTimeDeadModPerLevel"],
         (double?)o["rPercentArmorPenetrationMod"],
         (double?)o["rPercentArmorPenetrationModPerLevel"],
         (double?)o["rPercentAttackSpeedModPerLevel"],
         (double?)o["rPercentCooldownMod"],
         (double?)o["rPercentCooldownModPerLevel"],
         (double?)o["rPercentMagicPenetrationMod"],
         (double?)o["rPercentMagicPenetrationModPerLevel"],
         (double?)o["rPercentMovementSpeedModPerLevel"],
         (double?)o["rPercentTimeDeadMod"],
         (double?)o["rPercentTimeDeadModPerLeveldouble"]);
 }
Esempio n. 2
0
 void LoadBasicDataStats(JObject o)
 {
     stats = new BasicDataStatsStatic((double?)o["FlatArmorMod"],
                                      (double?)o["FlatAttackSpeedMod"],
                                      (double?)o["FlatBlockMod"],
                                      (double?)o["FlatCritChanceMod"],
                                      (double?)o["FlatCritDamageMod"],
                                      (double?)o["FlatEXPBonus"],
                                      (double?)o["FlatEnergyPoolMod"],
                                      (double?)o["FlatEnergyRegenMod"],
                                      (double?)o["FlatHPPoolMod"],
                                      (double?)o["FlatHPRegenMod"],
                                      (double?)o["FlatMPPoolMod"],
                                      (double?)o["FlatMPRegenMod"],
                                      (double?)o["FlatMagicDamageMod"],
                                      (double?)o["FlatMovementSpeedMod"],
                                      (double?)o["FlatPhysicalDamageMod"],
                                      (double?)o["FlatSpellBlockMod"],
                                      (double?)o["PercentArmorMod"],
                                      (double?)o["PercentAttackSpeedMod"],
                                      (double?)o["PercentBlockMod"],
                                      (double?)o["PercentCritChanceMod"],
                                      (double?)o["PercentCritDamageMod"],
                                      (double?)o["PercentDodgeMod"],
                                      (double?)o["PercentEXPBonus"],
                                      (double?)o["PercentHPPoolMod"],
                                      (double?)o["PercentHPRegenMod"],
                                      (double?)o["PercentLifeStealMod"],
                                      (double?)o["PercentMPPoolMod"],
                                      (double?)o["PercentMPRegenMod"],
                                      (double?)o["PercentMagicDamageMod"],
                                      (double?)o["PercentMovementSpeedMod"],
                                      (double?)o["PercentPhysicalDamageMod"],
                                      (double?)o["PercentSpellBlockMod"],
                                      (double?)o["PercentSpellVampMod"],
                                      (double?)o["rFlatArmorModPerLevel"],
                                      (double?)o["rFlatArmorPenetrationMod"],
                                      (double?)o["rFlatArmorPenetrationModPerLevel"],
                                      (double?)o["rFlatCritChanceModPerLevel"],
                                      (double?)o["rFlatCritDamageModPerLevel"],
                                      (double?)o["rFlatDodgeMod"],
                                      (double?)o["rFlatDodgeModPerLevel"],
                                      (double?)o["rFlatEnergyModPerLevel"],
                                      (double?)o["rFlatEnergyRegenModPerLevel"],
                                      (double?)o["rFlatGoldPer10Mod"],
                                      (double?)o["rFlatHPModPerLevel"],
                                      (double?)o["rFlatHPRegenModPerLevel"],
                                      (double?)o["rFlatMPModPerLevel"],
                                      (double?)o["rFlatMPRegenModPerLevel"],
                                      (double?)o["rFlatMagicDamageModPerLevel"],
                                      (double?)o["rFlatMagicPenetrationMod"],
                                      (double?)o["rFlatMagicPenetrationModPerLevel"],
                                      (double?)o["rFlatMovementSpeedModPerLevel"],
                                      (double?)o["rFlatPhysicalDamageModPerLevel"],
                                      (double?)o["rFlatSpellBlockModPerLevel"],
                                      (double?)o["rFlatTimeDeadMod"],
                                      (double?)o["rFlatTimeDeadModPerLevel"],
                                      (double?)o["rPercentArmorPenetrationMod"],
                                      (double?)o["rPercentArmorPenetrationModPerLevel"],
                                      (double?)o["rPercentAttackSpeedModPerLevel"],
                                      (double?)o["rPercentCooldownMod"],
                                      (double?)o["rPercentCooldownModPerLevel"],
                                      (double?)o["rPercentMagicPenetrationMod"],
                                      (double?)o["rPercentMagicPenetrationModPerLevel"],
                                      (double?)o["rPercentMovementSpeedModPerLevel"],
                                      (double?)o["rPercentTimeDeadMod"],
                                      (double?)o["rPercentTimeDeadModPerLeveldouble"]);
 }