|
|
@@ -11,8 +11,7 @@ public enum ConductSkills
|
|
|
[LabelText("电光炮")] FlyingSwords,
|
|
|
[LabelText("冰雨")] IceRain,
|
|
|
[LabelText("保护罩")] Barrier,
|
|
|
- [LabelText("合成大胖子")]
|
|
|
- Giant,
|
|
|
+ [LabelText("灵血聚合器")] SpiritBloodAggregator,
|
|
|
|
|
|
}
|
|
|
public class ConductManager : MonoBehaviour
|
|
|
@@ -76,6 +75,20 @@ public class ConductManager : MonoBehaviour
|
|
|
}
|
|
|
[LabelText("保护罩")] public Barrier barrier;
|
|
|
|
|
|
+ //灵血聚合器
|
|
|
+ [Serializable] public struct SpiritBloodAggregator
|
|
|
+ {
|
|
|
+ [LabelText("标签")] public AttributeTag attributeTag;
|
|
|
+ [LabelText("献祭方式")] [Tooltip("勾选定额;不勾选百分比")] public bool bUseFixedSacrifice;
|
|
|
+ [ShowIf("@!bUseFixedSacrifice")] [LabelText("献祭比例(%)")] public float[] sacrificeRatio;
|
|
|
+ [ShowIf("@!bUseFixedSacrifice")] [LabelText("CD")] public float[] cd;
|
|
|
+ [ShowIf("bUseFixedSacrifice")] [LabelText("献祭数量")] public int[] sacrificeValue;
|
|
|
+ [LabelText("效果规模")] public int[] power;
|
|
|
+ [LabelText("效果加成(%)")] public float[] effectBonus;
|
|
|
+ public GameObject obj;
|
|
|
+ }
|
|
|
+ [LabelText("灵血聚合器")] public SpiritBloodAggregator spiritBloodAggregator;
|
|
|
+
|
|
|
private void Awake()
|
|
|
{
|
|
|
if(!instance)
|