Start Tag System
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using GeometryTD.CustomUtility;
|
||||
using GeometryTD.Definition;
|
||||
using GeometryTD.Entity;
|
||||
using GeometryTD.Entity.EntityData;
|
||||
@@ -232,6 +233,7 @@ namespace GeometryTD.Map
|
||||
AttackSpeed = new[] { 1.5f, 1.2f, 1.1f, 1.0f, 0.8f },
|
||||
AttackMethodType = AttackMethodType.NormalBullet,
|
||||
AttackPropertyType = AttackPropertyType.Physics,
|
||||
TagRuntimes = Array.Empty<TagRuntimeData>(),
|
||||
Tags = Array.Empty<TagType>()
|
||||
};
|
||||
case 1:
|
||||
@@ -244,6 +246,7 @@ namespace GeometryTD.Map
|
||||
AttackSpeed = new[] { 1.5f, 1.2f, 1.1f, 1.0f, 0.8f },
|
||||
AttackMethodType = AttackMethodType.NormalBullet,
|
||||
AttackPropertyType = AttackPropertyType.Fire,
|
||||
TagRuntimes = Array.Empty<TagRuntimeData>(),
|
||||
Tags = Array.Empty<TagType>()
|
||||
};
|
||||
case 2:
|
||||
@@ -256,6 +259,7 @@ namespace GeometryTD.Map
|
||||
AttackSpeed = new[] { 1.5f, 1.2f, 1.1f, 1.0f, 0.8f },
|
||||
AttackMethodType = AttackMethodType.NormalBullet,
|
||||
AttackPropertyType = AttackPropertyType.Ice,
|
||||
TagRuntimes = Array.Empty<TagRuntimeData>(),
|
||||
Tags = Array.Empty<TagType>()
|
||||
};
|
||||
case 3:
|
||||
@@ -268,6 +272,7 @@ namespace GeometryTD.Map
|
||||
AttackSpeed = new[] { 1.5f, 1.2f, 1.1f, 1.0f, 0.8f },
|
||||
AttackMethodType = AttackMethodType.NormalBullet,
|
||||
AttackPropertyType = AttackPropertyType.Poison,
|
||||
TagRuntimes = Array.Empty<TagRuntimeData>(),
|
||||
Tags = Array.Empty<TagType>()
|
||||
};
|
||||
default:
|
||||
@@ -280,6 +285,7 @@ namespace GeometryTD.Map
|
||||
AttackSpeed = new[] { 1.5f, 1.2f, 1.1f, 1.0f, 0.8f },
|
||||
AttackMethodType = AttackMethodType.NormalBullet,
|
||||
AttackPropertyType = AttackPropertyType.Physics,
|
||||
TagRuntimes = Array.Empty<TagRuntimeData>(),
|
||||
Tags = Array.Empty<TagType>()
|
||||
};
|
||||
}
|
||||
@@ -302,6 +308,7 @@ namespace GeometryTD.Map
|
||||
AttackSpeed = source.AttackSpeed != null ? (float[])source.AttackSpeed.Clone() : Array.Empty<float>(),
|
||||
AttackMethodType = source.AttackMethodType,
|
||||
AttackPropertyType = source.AttackPropertyType,
|
||||
TagRuntimes = InventoryCloneUtility.CloneTagRuntimes(source.TagRuntimes),
|
||||
Tags = copiedTags
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user