Compare commits

...

2 Commits

Author SHA1 Message Date
GL
fdc901c695 Merge branch 'main' of http://shu.sheziwanglo.cn:3000/shurongsen/Cute_demon_attacks 2025-01-07 15:41:55 +08:00
GL
de63247d63 ssmSkill 2025-01-07 15:41:39 +08:00
3 changed files with 72 additions and 4 deletions

View File

@ -419,7 +419,7 @@ GameObject:
- component: {fileID: 8433650274028726420}
- component: {fileID: -3836672401185760439}
- component: {fileID: 1608620729910401442}
- component: {fileID: 206052671066122143}
- component: {fileID: 5691593194522339925}
m_Layer: 0
m_Name: ssm
m_TagString: Player
@ -515,7 +515,7 @@ MonoBehaviour:
normalIndex: 0
isHit: 0
myTags: 0
mySkillUp: {fileID: 206052671066122143}
mySkillUp: {fileID: 5691593194522339925}
IsDead: 0
HaveDieTime: 0
enemyId:
@ -574,7 +574,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
tower: {fileID: 0}
Tag: tower
--- !u!114 &206052671066122143
--- !u!114 &5691593194522339925
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@ -583,7 +583,7 @@ MonoBehaviour:
m_GameObject: {fileID: 8433650275485930554}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0f2e2ca90067ba742b2ebdc8e467e4bd, type: 3}
m_Script: {fileID: 11500000, guid: be1afb412b17ae74a9039a00d02170c6, type: 3}
m_Name:
m_EditorClassIdentifier:
retbutton: {fileID: 0}

View File

@ -0,0 +1,57 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ssm_SkillUp : SkillUp
{
/// <summary>
/// 射程提升1格位置
/// </summary>
public override void Skill_1_1()
{
base.AttackRange = -1;
attack.SetAttackRange();
}
/// <summary>
/// 攻击CD减少10%
/// </summary>
public override void Skill_1_3()
{
base.AttackCooldown += 0.1f;
}
/// <summary>
/// 每次扇形喷出3个毒雾攻击CD增加5%
/// </summary>
public override void Skill_1_5()
{
}
/// <summary>
/// 敌人中毒后受到伤害提升20%
/// </summary>
public override void Skill_2_1()
{
}
/// <summary>
/// 敌人中毒后毒药生效时间减少30% 攻击CD增加5%
/// </summary>
public override void Skill_2_3()
{
base.AttackCooldown += 0.05f;
}
/// <summary>
/// 敌人中毒后受到伤害提升50%,攻击CD增加5%
/// </summary>
public override void Skill_2_5()
{
base.AttackCooldown += 0.05f;
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: be1afb412b17ae74a9039a00d02170c6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: