修子弹bug
This commit is contained in:
parent
4eb6e3c01d
commit
6de0047de2
@ -11,7 +11,6 @@ public enum BulletType
|
||||
Bullet,
|
||||
Lightning,
|
||||
Spraying //ÔµØÅçÉä
|
||||
|
||||
}
|
||||
public enum BulletAttributes
|
||||
{
|
||||
@ -130,9 +129,13 @@ public class Bullet : MonoBehaviour
|
||||
}
|
||||
else
|
||||
{
|
||||
NumberOfBulletAttacks -= 1;
|
||||
if (this.myBulletType== BulletType.Spraying)
|
||||
{
|
||||
NumberOfBulletAttacks += 1;
|
||||
}
|
||||
|
||||
NumberOfBulletAttacks -= 1;
|
||||
|
||||
foreach (var buff in role.storageBuff)
|
||||
{
|
||||
if (!Crole.PlayerBuff.Contains(buff))
|
||||
@ -206,6 +209,9 @@ public class Bullet : MonoBehaviour
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user