fix:恢复以前sdk,调整每个boss在眼镜里的效果

This commit is contained in:
bzx
2026-01-28 11:10:59 +08:00
parent 395badc600
commit e9dc7cd79c
65 changed files with 70948 additions and 91970 deletions

View File

@@ -241,8 +241,9 @@ public class Player : MonoBehaviour
public void UserZeroGun()
{
CurGunId = 0;
playerHands.PickUpAndSwitchTo(0, 10000);
CurGunId = 1;
playerHands.PickUpAndSwitchTo(1, 10000);
Debug.LogError("切换成初始枪");
}
#endregion

View File

@@ -59,7 +59,7 @@ public class PlayerBullet : MonoBehaviour
{
if(GameManager.Ins.PlayerBulletDataDic.Count>0)
_damages = GameManager.Ins.PlayerBulletDataDic[(int)bulletType].Damage;
int randomDamage = Random.Range(_damages[0], _damages[1]);
int randomDamage = Random.Range(_damages[0]*10, _damages[1]*10);
randomDamage += (Mathf.FloorToInt(GameManager.Ins.buffAtk * randomDamage));
isCriticalHit=randomDamage > (_damages[1] - (_damages[1] - _damages[0]) * 0.35f);
return randomDamage;