Files
DefendNJ/Assets/_DefendNJ/Scripts/Bullets/PlayerAIBullet.cs

18 lines
451 B
C#

using System.Collections;
using System.Collections.Generic;
using Mirror;
using UnityEngine;
public class PlayerAIBullet : Bullet
{
[Server]
public override void OnSpawn(int ownerIndex, Vector3 recoil, float recoilCount)
{
base.OnSpawn(ownerIndex, recoil, recoilCount);
type = BulletType.PlayerAi;
//BulletInfo bulletInfo = GameManager.Ins.BulletInfos[type];
damage = 100;
deToughness = 1;
}
}