Exemplo n.º 1
0
 public override void Execute()
 {
     own.GetModule <StatModule> (x => {
         x.extraMagicAttack = CalculatorUtility.AddExtraValueByPercent(x.extraMagicAttack, magicAttack, .2f, upgradeCount);
         x.Calculate2ndPoint(StatType.Intelligent);
     });
 }
Exemplo n.º 2
0
 public override void Execute()
 {
     own.GetModule <StatModule> (x => {
         x.extraPhysicalAttack = CalculatorUtility.AddExtraValueByPercent(x.extraPhysicalAttack, damage, .2f, upgradeCount);
         x.Calculate2ndPoint(StatType.Strength);
     });
 }
Exemplo n.º 3
0
 public override void Execute()
 {
     own.GetModule <HealthPowerModule>(x => x.maxHp = CalculatorUtility.AddExtraValueByPercent(x.maxHp, hp, .2f, upgradeCount));
 }