void attMelee()
 {
     atType   = attType.direct;
     baseDmg  = 5;
     apCost   = 1;
     basecrit = 40;
 }
 void attShoot()
 {
     atType   = attType.direct;
     baseDmg  = 10;
     apCost   = 2;
     baseacc  = 20;
     basecrit = 80;
 }
 void attHeal()
 {
     apCost = 5;
     atType = attType.heal;
 }
 void attReload()
 {
     apCost = 2;
     atType = attType.rest;
     // GetComponentInParent<stats>().currentap += 2;
 }