Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. Damage *= Reborn;
  2. Damage *= Target.ItemBless;
  3. double torist = (double)(Target.Gems[GemTypes.Tortoise] / 100d);
  4. torist = (double)(1 - torist);
  5. torist = Math.Max(torist, 0.5);
  6. Damage *= torist;
  7. Double BattlePower = Attacker.BattlePower - Target.BattlePower;
  8. BattlePower = Math.Pow(2, BattlePower / 12.0);
  9. BattlePower = Math.Min(BattlePower, 100.0);
  10. bool bypass = false;
  11. if (Target.BattlePower > Attacker.BattlePower)
  12. {
  13. if (Attacker.Breaktrough > Target.Counteraction)
  14. {
  15. double Power = (double)(Attacker.Breaktrough - Target.Counteraction);
  16. Power = (double)(Power / 10);
  17. if (MyMath.Success(Power))
  18. {
  19. bypass = true;
  20. Packet.Effect1 |= Attack.AttackEffects1.Break;
  21. }
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement