28 lines
827 B
C#
28 lines
827 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using DragonLi.Frame;
|
|
using Mirror;
|
|
using UnityEngine;
|
|
|
|
public class DoubleTubeBullet : Bullet
|
|
{
|
|
// [Server]
|
|
// public override void OnSpawn(int ownerIndex, Vector3 recoil, float recoilCount)
|
|
// {
|
|
// base.OnSpawn(ownerIndex, recoil, recoilCount);
|
|
// type = BulletType.QuickBullet;
|
|
// BulletInfo bulletInfo = GameManager.Ins.BulletInfos[type][1];
|
|
// damage = bulletInfo.Damage;
|
|
// deToughness = bulletInfo.DeToughness;
|
|
// }
|
|
|
|
// public override void OnApplyDamage(Damagable damagable)
|
|
// {
|
|
// damagable.ApplyDamage(damage, ownerIndex, transform);
|
|
// if (ownerIndex != -1)
|
|
// {
|
|
// // GameManager.Ins.AddScore(ownerIndex.ToString(), (int)damage);
|
|
// }
|
|
// }
|
|
}
|