Start Tag System
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8a291a17879242cc8c7cec678aa5aaf1
|
||||
timeCreated: 1772101365
|
||||
@@ -0,0 +1,25 @@
|
||||
namespace GeometryTD.Definition
|
||||
{
|
||||
public class AddGoldEffect : EventEffectBase
|
||||
{
|
||||
public override EventEffectType EffectType => EventEffectType.AddGold;
|
||||
public override EventEffectParam Param => _param;
|
||||
private AddGoldParam _param;
|
||||
|
||||
public AddGoldEffect(AddGoldParam param, float? probability = null)
|
||||
{
|
||||
_param = param;
|
||||
Probability = probability;
|
||||
}
|
||||
}
|
||||
|
||||
public class AddGoldParam : EventEffectParam
|
||||
{
|
||||
public int Count;
|
||||
|
||||
public AddGoldParam(int count)
|
||||
{
|
||||
Count = count;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 75cacc997d8f414ca73f381cad303b5b
|
||||
timeCreated: 1772101474
|
||||
@@ -0,0 +1,28 @@
|
||||
namespace GeometryTD.Definition
|
||||
{
|
||||
public class AddRandomCompsEffect : EventEffectBase
|
||||
{
|
||||
public override EventEffectType EffectType => EventEffectType.AddRandomComps;
|
||||
public override EventEffectParam Param => _param;
|
||||
private AddRandomCompsParam _param;
|
||||
|
||||
public AddRandomCompsEffect(AddRandomCompsParam param, float? probability = null)
|
||||
{
|
||||
_param = param;
|
||||
Probability = probability;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class AddRandomCompsParam : EventEffectParam
|
||||
{
|
||||
public int Count;
|
||||
public RarityType Rarity;
|
||||
|
||||
public AddRandomCompsParam(int count, RarityType rarity)
|
||||
{
|
||||
Count = count;
|
||||
Rarity = rarity;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 35656d42c28448268d0547c19938b2d8
|
||||
timeCreated: 1772101530
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
namespace GeometryTD.Definition
|
||||
{
|
||||
public class DamageRandomTowerEnduranceEffect : EventEffectBase
|
||||
{
|
||||
public override EventEffectType EffectType => EventEffectType.DamageRandomTowersEndurance;
|
||||
public override EventEffectParam Param => _param;
|
||||
private DamageRandomTowerEnduranceParam _param;
|
||||
|
||||
public DamageRandomTowerEnduranceEffect(DamageRandomTowerEnduranceParam param, float? probability = null)
|
||||
{
|
||||
_param = param;
|
||||
Probability = probability;
|
||||
}
|
||||
}
|
||||
|
||||
public class DamageRandomTowerEnduranceParam : EventEffectParam
|
||||
{
|
||||
/// <summary>
|
||||
/// 减少耐久的防御塔数量
|
||||
/// </summary>
|
||||
public int Count;
|
||||
|
||||
/// <summary>
|
||||
/// 防御塔耐久减少的量
|
||||
/// </summary>
|
||||
public int Amount;
|
||||
|
||||
public DamageRandomTowerEnduranceParam(int count, int amount)
|
||||
{
|
||||
Count = count;
|
||||
Amount = amount;
|
||||
}
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a1b06f274c054844ad68b1db02d3737a
|
||||
timeCreated: 1772101563
|
||||
@@ -0,0 +1,14 @@
|
||||
namespace GeometryTD.Definition
|
||||
{
|
||||
public abstract class EventEffectBase
|
||||
{
|
||||
public abstract EventEffectType EffectType { get; }
|
||||
public abstract EventEffectParam Param { get; }
|
||||
public float? Probability;
|
||||
}
|
||||
|
||||
public class EventEffectParam
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2be5a7ff782240f79bde2dd0310d11ea
|
||||
timeCreated: 1772101392
|
||||
@@ -0,0 +1,27 @@
|
||||
namespace GeometryTD.Definition
|
||||
{
|
||||
public class RemoveRandomCompsEffect : EventEffectBase
|
||||
{
|
||||
public override EventEffectType EffectType => EventEffectType.RemoveRandomComps;
|
||||
public override EventEffectParam Param => _param;
|
||||
private RemoveRandomCompsParam _param;
|
||||
|
||||
public RemoveRandomCompsEffect(RemoveRandomCompsParam param, float? probability = null)
|
||||
{
|
||||
_param = param;
|
||||
Probability = probability;
|
||||
}
|
||||
}
|
||||
|
||||
public class RemoveRandomCompsParam : EventEffectParam
|
||||
{
|
||||
public int Count;
|
||||
public RarityType Rarity;
|
||||
|
||||
public RemoveRandomCompsParam(int Count, RarityType Rarity)
|
||||
{
|
||||
this.Count = Count;
|
||||
this.Rarity = Rarity;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 77f8e0d1879b48108e6ad5faca07d7f7
|
||||
timeCreated: 1772101548
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cee1f415e08743a9914efd2ecbc6273e
|
||||
timeCreated: 1772100925
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
namespace GeometryTD.Definition
|
||||
{
|
||||
public class CompCountAtLeastRequirement : EventRequirementBase
|
||||
{
|
||||
public override EventRequirementType RequirementType => EventRequirementType.CompCountAtLeast;
|
||||
public override EventRequirementParam Param => _param;
|
||||
private CompCountAtLeastParam _param;
|
||||
|
||||
public CompCountAtLeastRequirement(CompCountAtLeastParam param)
|
||||
{
|
||||
_param = param;
|
||||
}
|
||||
}
|
||||
|
||||
public class CompCountAtLeastParam : EventRequirementParam
|
||||
{
|
||||
public int Count;
|
||||
public RarityType Rarity;
|
||||
|
||||
public CompCountAtLeastParam(int count, RarityType rarity)
|
||||
{
|
||||
Count = count;
|
||||
Rarity = rarity;
|
||||
}
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b845abef81934b75b266a738597bb890
|
||||
timeCreated: 1772101103
|
||||
@@ -0,0 +1,12 @@
|
||||
namespace GeometryTD.Definition
|
||||
{
|
||||
public abstract class EventRequirementBase
|
||||
{
|
||||
public abstract EventRequirementType RequirementType { get; }
|
||||
public abstract EventRequirementParam Param { get; }
|
||||
}
|
||||
|
||||
public class EventRequirementParam
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eaa757b9c4cd4bcca38d73a30ab06285
|
||||
timeCreated: 1772100961
|
||||
@@ -0,0 +1,24 @@
|
||||
namespace GeometryTD.Definition
|
||||
{
|
||||
public class GoldAtLeastRequirement : EventRequirementBase
|
||||
{
|
||||
public override EventRequirementType RequirementType => EventRequirementType.GoldAtLeast;
|
||||
public override EventRequirementParam Param => _param;
|
||||
private GoldAtLeastParam _param;
|
||||
|
||||
public GoldAtLeastRequirement(GoldAtLeastParam param)
|
||||
{
|
||||
_param = param;
|
||||
}
|
||||
}
|
||||
|
||||
public class GoldAtLeastParam : EventRequirementParam
|
||||
{
|
||||
public int Gold;
|
||||
|
||||
public GoldAtLeastParam(int gold)
|
||||
{
|
||||
Gold = gold;
|
||||
}
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5a2de86ff2b442dd9f7d6af64f518bb8
|
||||
timeCreated: 1772101058
|
||||
@@ -0,0 +1,24 @@
|
||||
namespace GeometryTD.Definition
|
||||
{
|
||||
public class HasRelicRequirement : EventRequirementBase
|
||||
{
|
||||
public override EventRequirementType RequirementType => EventRequirementType.HasRelic;
|
||||
public override EventRequirementParam Param => _param;
|
||||
private HasRelicParam _param;
|
||||
|
||||
public HasRelicRequirement(HasRelicParam param)
|
||||
{
|
||||
_param = param;
|
||||
}
|
||||
}
|
||||
|
||||
public class HasRelicParam : EventRequirementParam
|
||||
{
|
||||
public int RelicId;
|
||||
|
||||
public HasRelicParam(int relicId)
|
||||
{
|
||||
RelicId = relicId;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b06e03ee597d4345b95c524c7a6a27d4
|
||||
timeCreated: 1772101234
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
namespace GeometryTD.Definition
|
||||
{
|
||||
public class TowerCountAtLeastRequirement : EventRequirementBase
|
||||
{
|
||||
public override EventRequirementType RequirementType => EventRequirementType.TowerCountAtLeast;
|
||||
public override EventRequirementParam Param => _param;
|
||||
private TowerCountAtLeastParam _param;
|
||||
|
||||
public TowerCountAtLeastRequirement(TowerCountAtLeastParam param)
|
||||
{
|
||||
_param = param;
|
||||
}
|
||||
}
|
||||
|
||||
public class TowerCountAtLeastParam : EventRequirementParam
|
||||
{
|
||||
public int Count;
|
||||
|
||||
public TowerCountAtLeastParam(int count)
|
||||
{
|
||||
Count = count;
|
||||
}
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 81a1102b3c0e4a53ae74ebb779ea7c19
|
||||
timeCreated: 1772101156
|
||||
Reference in New Issue
Block a user