예제 #1
0
 public override void hitEffect(MyCharacterController src, GameObject target, Vector2 currentpos, bool penatrable, bool armorpiercing)
 {
     //base.hitEffect(src, target, currentpos, penatrable, armorpiercing);
     var c = target.GetComponent<MyCharacterController>();
     if (c != null) {
         src.attackToCharacter(c, BasisParameter.FixDamage);
         c.registerBuff(new Poison(c, 1));
     }
 }