Nerfs & updates

- Stopped necro's spell interaction that allowed souls to be constantly drained from own minions
- Replaced mage melee ability with ice shard with simbolic mana cost
- Updated Mana Barrier as class signature for mage, making it more aligned in power
This commit is contained in:
Pedro Gomes 2024-12-25 22:26:16 +00:00
parent 25d028c5e3
commit c67f5f1b84
12 changed files with 27 additions and 11 deletions

View File

@ -46,6 +46,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
ability: {fileID: 11400000, guid: 50fe026b53483dd4fa08679bd24bb4b9, type: 2} ability: {fileID: 11400000, guid: 50fe026b53483dd4fa08679bd24bb4b9, type: 2}
abilityPrefabName: {fileID: 1405724118519419521, guid: 0ccefd8e90a52a847b38fb05414ed6de, type: 3} abilityPrefabName: {fileID: 1405724118519419521, guid: 0ccefd8e90a52a847b38fb05414ed6de, type: 3}
canDrainAllies: 0
--- !u!1 &7860705738977089692 --- !u!1 &7860705738977089692
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -46,6 +46,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
ability: {fileID: 11400000, guid: 50fe026b53483dd4fa08679bd24bb4b9, type: 2} ability: {fileID: 11400000, guid: 50fe026b53483dd4fa08679bd24bb4b9, type: 2}
abilityPrefabName: {fileID: 1405724118519419521, guid: 0ccefd8e90a52a847b38fb05414ed6de, type: 3} abilityPrefabName: {fileID: 1405724118519419521, guid: 0ccefd8e90a52a847b38fb05414ed6de, type: 3}
canDrainAllies: 0
--- !u!1 &3980789815621071287 --- !u!1 &3980789815621071287
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -176,6 +176,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
ability: {fileID: 11400000, guid: 50fe026b53483dd4fa08679bd24bb4b9, type: 2} ability: {fileID: 11400000, guid: 50fe026b53483dd4fa08679bd24bb4b9, type: 2}
abilityPrefabName: {fileID: 1405724118519419521, guid: 0ccefd8e90a52a847b38fb05414ed6de, type: 3} abilityPrefabName: {fileID: 1405724118519419521, guid: 0ccefd8e90a52a847b38fb05414ed6de, type: 3}
canDrainAllies: 0
--- !u!1 &8389547513526139286 --- !u!1 &8389547513526139286
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -46,6 +46,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
ability: {fileID: 11400000, guid: d8917fa8b398ec7468cbd07a1eab0d29, type: 2} ability: {fileID: 11400000, guid: d8917fa8b398ec7468cbd07a1eab0d29, type: 2}
abilityPrefabName: {fileID: 1405724118519419521, guid: 0ccefd8e90a52a847b38fb05414ed6de, type: 3} abilityPrefabName: {fileID: 1405724118519419521, guid: 0ccefd8e90a52a847b38fb05414ed6de, type: 3}
canDrainAllies: 0
--- !u!1 &752672217036731597 --- !u!1 &752672217036731597
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -339,7 +339,7 @@ PrefabInstance:
- target: {fileID: 4847227750113470832, guid: 9c432d220280f704684a6d5b9354c782, type: 3} - target: {fileID: 4847227750113470832, guid: 9c432d220280f704684a6d5b9354c782, type: 3}
propertyPath: ability propertyPath: ability
value: value:
objectReference: {fileID: 11400000, guid: bb4727d12833f2749b88b66ee5585e6a, type: 2} objectReference: {fileID: 11400000, guid: 6e6816a87356ed54aa546aefca31e06b, type: 2}
- target: {fileID: 5627210965781110480, guid: 9c432d220280f704684a6d5b9354c782, type: 3} - target: {fileID: 5627210965781110480, guid: 9c432d220280f704684a6d5b9354c782, type: 3}
propertyPath: ability propertyPath: ability
value: value:

View File

@ -28,7 +28,7 @@ MonoBehaviour:
- {fileID: 11400000, guid: 7b7a9c9ae4b8ece4eb680f621937c58a, type: 2} - {fileID: 11400000, guid: 7b7a9c9ae4b8ece4eb680f621937c58a, type: 2}
- {fileID: 11400000, guid: 127f92fd14a21174695a692c0cf18746, type: 2} - {fileID: 11400000, guid: 127f92fd14a21174695a692c0cf18746, type: 2}
castTime: 0.5 castTime: 0.5
manaCost: 6 manaCost: 1
healthCost: 0 healthCost: 0
classResourceCost: 0 classResourceCost: 0
cooldown: 0 cooldown: 0

View File

@ -21,13 +21,14 @@ MonoBehaviour:
- {fileID: 11400000, guid: 918ee6f8846e6a9449166ac16b6330ae, type: 2} - {fileID: 11400000, guid: 918ee6f8846e6a9449166ac16b6330ae, type: 2}
- {fileID: 11400000, guid: 9ffd1c81aeea68b4eb6b0f054f0d989f, type: 2} - {fileID: 11400000, guid: 9ffd1c81aeea68b4eb6b0f054f0d989f, type: 2}
- {fileID: 11400000, guid: 5ff891a32306c504f8f6159f69a1866e, type: 2} - {fileID: 11400000, guid: 5ff891a32306c504f8f6159f69a1866e, type: 2}
- {fileID: 11400000, guid: 4242916f0b1bf6e4e8a04bce7028b3f4, type: 2}
abilityEffects: abilityEffects:
- {fileID: 11400000, guid: 2536fad89b0bac442a6ef81548aa028c, type: 2} - {fileID: 11400000, guid: 2536fad89b0bac442a6ef81548aa028c, type: 2}
castTime: 0.25 castTime: 0
manaCost: 5 manaCost: 0
healthCost: 0 healthCost: 0
classResourceCost: 25 classResourceCost: 18
cooldown: 6 cooldown: 5
castableWhileMoving: 1 castableWhileMoving: 1
animationType: 1 animationType: 1
projectilePrefab: {fileID: 3740678194898045934, guid: b347988a444ef2a4aabcc7394add4db2, type: 3} projectilePrefab: {fileID: 3740678194898045934, guid: b347988a444ef2a4aabcc7394add4db2, type: 3}

View File

@ -18,7 +18,7 @@ MonoBehaviour:
influencingStats: influencingStats:
- statTag: {fileID: 11400000, guid: 52f094018088de54ab9507695f2913b7, type: 2} - statTag: {fileID: 11400000, guid: 52f094018088de54ab9507695f2913b7, type: 2}
percentInfluence: 0.001 percentInfluence: 0.001
duration: 0.5 duration: 1.5
applyToTargetsHit: 1 applyToTargetsHit: 1
applyToSelf: 0 applyToSelf: 0
speedModifierPercentage: 0.5 speedModifierPercentage: 0.2

View File

@ -21,4 +21,4 @@ MonoBehaviour:
duration: 0.5 duration: 0.5
applyToTargetsHit: 1 applyToTargetsHit: 1
applyToSelf: 0 applyToSelf: 0
speedModifierPercentage: 0.5 speedModifierPercentage: 0.25

View File

@ -22,6 +22,8 @@ MonoBehaviour:
percentInfluence: 0.01 percentInfluence: 0.01
- statTag: {fileID: 11400000, guid: 5ff891a32306c504f8f6159f69a1866e, type: 2} - statTag: {fileID: 11400000, guid: 5ff891a32306c504f8f6159f69a1866e, type: 2}
percentInfluence: 0.01 percentInfluence: 0.01
- statTag: {fileID: 11400000, guid: 4242916f0b1bf6e4e8a04bce7028b3f4, type: 2}
percentInfluence: 0.15
duration: 5 duration: 5
applyToTargetsHit: 0 applyToTargetsHit: 0
applyToSelf: 1 applyToSelf: 1

View File

@ -7,13 +7,20 @@ public class NetworkDrainEffectChainReaction : NetworkAbilityChainReaction
{ {
NetworkedDrainProjectile drainProjectile; NetworkedDrainProjectile drainProjectile;
public bool canDrainAllies;
public override void ExecuteAbilityChainReaction(PhotonView owner, Taggable ownerTag, List<Taggable> targets) public override void ExecuteAbilityChainReaction(PhotonView owner, Taggable ownerTag, List<Taggable> targets)
{ {
if (!owner.IsMine) return; if (!owner.IsMine) return;
for (int i = 0; i < targets.Count; i++) for (int i = 0; i < targets.Count; i++)
{ {
spawnedChainReaction = PhotonNetwork.Instantiate("Abilities/" + abilityPrefabName.name, targets[i].transform.position + Vector3.up*0.5f, Quaternion.identity); if(!canDrainAllies)
{
if (ownerTag.AlliedTagsContains(targets[i].targetTag)) continue;
}
spawnedChainReaction = PhotonNetwork.Instantiate("Abilities/" + abilityPrefabName.name, targets[i].transform.position + Vector3.up * 0.5f, Quaternion.identity);
drainProjectile = spawnedChainReaction.GetComponent<NetworkedDrainProjectile>(); drainProjectile = spawnedChainReaction.GetComponent<NetworkedDrainProjectile>();

View File

@ -140,6 +140,8 @@ public class NetworkedAreaOfEffect : MonoBehaviour, IPunObservable
protected virtual void CheckSurroundings() protected virtual void CheckSurroundings()
{ {
if (waitingForDestroy) return;
hits = Physics.OverlapSphere(this.transform.position, radius, abilityHitLayer); hits = Physics.OverlapSphere(this.transform.position, radius, abilityHitLayer);
targets.Clear(); targets.Clear();
foreach (Collider collider in hits) foreach (Collider collider in hits)