Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.61 KB | None | 0 0
  1.         public void CastFireray(Firenation firenation, Avatar avatar)
  2.         {
  3.             if (firenation.CurrentDefence == "Fireray" && avatar.CurrentAttack == "Waterray")
  4.             {
  5.                 NoDamage();
  6.             }
  7.             if (avatar.CurrentDefence == "Fireray" && avatar.CurrentAttack == "Airbending")
  8.             {
  9.                 LightDamage();
  10.             }
  11.             if (firenation.CurrentDefence == "Fireray" && avatar.CurrentAttack == "Earthquake")
  12.             {
  13.                 MediumDamage();
  14.             }
  15.             else
  16.             {
  17.                 HeavyDamage();
  18.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement