土熊猫技能升级

This commit is contained in:
lq 2025-01-07 19:40:38 +08:00
parent cef92fbeef
commit e54ed03729
2 changed files with 8 additions and 6 deletions

View File

@ -29,9 +29,9 @@ public class txm_SkillUp : SkillUp
/// </summary> /// </summary>
public override void Skill_1_5() public override void Skill_1_5()
{ {
base.CriticalRate += 0.2f;
base.AttackRange = -1; base.AttackRange = -1;
attack.SetAttackRange(); Action<Role> decelerationBuff=CreateDecelerationBuff(2f,1f);
role.AddBuff(role.storageBuff, decelerationBuff);
} }
@ -40,23 +40,24 @@ public class txm_SkillUp : SkillUp
/// </summary> /// </summary>
public override void Skill_2_1() public override void Skill_2_1()
{ {
base.AttackCooldown += -0.25f; attack.roleBulletSpeedAdd += 0.2f;
} }
/// <summary> /// <summary>
/// 攻击范围增加2格,攻击CD增加5% /// 攻击范围增加2格,攻击CD增加5%
/// </summary> /// </summary>
public override void Skill_2_3() public override void Skill_2_3()
{ {
base.DamageOfMin += 0.25f; base.AttackRange = 2;
base.AttackRange = -1; base.AttackCooldown += 0.05f;
attack.SetAttackRange(); attack.SetAttackRange();
} }
/// <summary> /// <summary>
/// 巨石的溅伤范围增加1格,攻击CD增加5% /// 巨石的溅伤范围增加1格,攻击CD增加5%
/// </summary> /// </summary>
public override void Skill_2_5() public override void Skill_2_5()
{ {
base.CriticalRate += 0.2f; attack.BoomRange += 1;
base.AttackCooldown += 0.05f; base.AttackCooldown += 0.05f;
} }
} }

View File

@ -127,6 +127,7 @@ public class SpawnMonster : Base
await Task.Delay(enemy.startTime * 3); await Task.Delay(enemy.startTime * 3);
Debug.Log("生成怪物");
GameObject go = GameObject.Instantiate( GameObject go = GameObject.Instantiate(
Monster_Infos.instance.GetMonster(enemy.id), Monster_Infos.instance.GetMonster(enemy.id),
SpawnLocations[value.spawnPoint - 1].position, SpawnLocations[value.spawnPoint - 1].position,