cure trace
This commit is contained in:
@@ -51,8 +51,6 @@ public sealed class CP14ClientMagicVisionSystem : CP14SharedMagicVisionSystem
|
||||
{
|
||||
sprite.Visible = MagicVisible;
|
||||
|
||||
|
||||
|
||||
if (MagicVisible == false)
|
||||
return;
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ using Content.Shared._CP14.MagicEnergy.Components;
|
||||
using Content.Shared._CP14.MagicSpell.Components;
|
||||
using Content.Shared._CP14.MagicSpell.Events;
|
||||
using Content.Shared._CP14.MagicSpell.Spells;
|
||||
using Content.Shared._CP14.MagicSpellStorage;
|
||||
using Content.Shared.Actions;
|
||||
using Content.Shared.DoAfter;
|
||||
using Content.Shared.FixedPoint;
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
- !type:CP14SpellSpawnEntityOnTarget
|
||||
spawns:
|
||||
- CP14ImpactEffectCureWounds
|
||||
- CP14MagicTraceCureWounds
|
||||
- !type:CP14SpellApplyEntityEffect
|
||||
effects:
|
||||
- !type:HealthChange
|
||||
@@ -48,13 +49,25 @@
|
||||
sound: !type:SoundPathSpecifier
|
||||
path: /Audio/Magic/rumble.ogg
|
||||
icon:
|
||||
sprite: _CP14/Effects/Magic/spells_icons.rsi
|
||||
sprite: _CP14/Effects/Magic/spells_icons.rsi
|
||||
state: cure_wounds
|
||||
event: !type:CP14DelayedEntityTargetActionEvent
|
||||
cooldown: 10
|
||||
castDelay: 3
|
||||
breakOnMove: false
|
||||
|
||||
|
||||
- type: entity
|
||||
id: CP14MagicTraceCureWounds
|
||||
parent: CP14BaseMagicTrace
|
||||
categories: [ HideSpawnMenu ]
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: cure_wounds
|
||||
shader: unshaded
|
||||
- type: CP14MagicVisionMarker
|
||||
visibilityTime: 20
|
||||
|
||||
- type: entity
|
||||
id: CP14RuneCureWounds
|
||||
parent: CP14BaseMagicRune
|
||||
|
||||
@@ -34,4 +34,15 @@
|
||||
- type: Sprite
|
||||
drawdepth: Effects
|
||||
sprite: _CP14/Effects/Magic/cast_impact.rsi
|
||||
noRot: true
|
||||
noRot: true
|
||||
|
||||
- type: entity
|
||||
id: CP14BaseMagicTrace
|
||||
abstract: true
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Effects/Magic/spells_icons.rsi
|
||||
drawdepth: Effects
|
||||
- type: Clickable
|
||||
- type: CP14MagicVisionMarker
|
||||
visibilityTime: 30
|
||||
@@ -1,14 +0,0 @@
|
||||
- type: entity
|
||||
id: CP14MagicTrace
|
||||
categories: [ ForkFiltered ]
|
||||
components:
|
||||
- type: Sprite
|
||||
drawdepth: Effects
|
||||
snapCardinals: true
|
||||
sprite: _CP14/Effects/fire.rsi
|
||||
layers:
|
||||
- state: full
|
||||
shader: unshaded
|
||||
- type: Clickable
|
||||
- type: CP14MagicVisionMarker
|
||||
visibilityTime: 30
|
||||
Reference in New Issue
Block a user