Freeze spell (#843)

* freeze spell

* Update T0_freeze.yml
This commit is contained in:
Ed
2025-02-05 23:48:27 +03:00
committed by GitHub
parent 35303d7d80
commit 60737dc36e
7 changed files with 110 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
- type: entity
id: CP14ActionSpellDemiplaneInfiltration
name: Demiplane infiltration
description: Mastery of demiplane space magic allows you to reach inside any open demiplanes
description: You get inside the demiplane of your choice.
components:
- type: Sprite
sprite: _CP14/Effects/Magic/spells_icons.rsi

View File

@@ -0,0 +1,76 @@
- type: entity
id: CP14ActionSpellFreeze
name: Freeze
description: You begin to severely cool down the target, slowing its movement speed.
components:
- type: Sprite
sprite: _CP14/Effects/Magic/spells_icons.rsi
state: freeze
- type: CP14MagicEffectCastSlowdown
speedMultiplier: 0.8
- type: CP14MagicEffectManaCost
manaCost: 7
- type: CP14MagicEffect
magicType: Water
effects:
- !type:CP14SpellSpawnEntityOnTarget
spawns:
- CP14ImpactEffectFreeze
- !type:CP14SpellApplyEntityEffect
effects:
- !type:MovespeedModifier
walkSpeedModifier: 0.5
sprintSpeedModifier: 0.5
statusLifetime: 2
- !type:AdjustTemperature
amount: -12000
- type: CP14MagicEffectVerbalAspect
startSpeech: "Vos adepto frigus..."
- type: CP14MagicEffectCastingVisual
proto: CP14RunePlantFreeze
- type: EntityTargetAction
range: 10
interactOnMiss: false
itemIconStyle: BigAction
sound: !type:SoundPathSpecifier
path: /Audio/Magic/rumble.ogg
icon:
sprite: _CP14/Effects/Magic/spells_icons.rsi
state: freeze
event: !type:CP14ToggleableEntityTargetActionEvent
cooldown: 15
castTime: 10
breakOnMove: false
- type: entity
id: CP14ImpactEffectFreeze
parent: CP14BaseMagicImpact
categories: [ HideSpawnMenu ]
components:
- type: Sprite
layers:
- state: circle_decrease
color: "#5eabeb"
shader: unshaded
- type: entity
id: CP14RunePlantFreeze
parent: CP14BaseMagicRune
categories: [ HideSpawnMenu ]
components:
- type: PointLight
color: "#5eabeb"
- type: Sprite
layers:
- state: medium_circle
color: "#5eabeb"
shader: unshaded
- type: entity
parent: CP14BaseSpellScrollWater
id: CP14SpellScrollFreeze
name: freeze spell scroll
components:
- type: CP14SpellStorage
spells:
- CP14ActionSpellFreeze

View File

@@ -556,6 +556,7 @@
- CP14ActionSpellManaGift
- CP14ActionSpellShadowGrab
- CP14ActionSpellWaterCreation
- CP14ActionSpellFreeze
- CP14ActionSpellBeerCreation
- CP14ActionSpellSprint
@@ -711,6 +712,19 @@
traits:
- CP14ManaWasting
- type: loadout
id: CP14ActionSpellFreeze
dummyEntity: CP14ActionSpellFreeze
actions:
- CP14ActionSpellFreeze
effects:
- !type:JobRequirementLoadoutEffect
requirement:
!type:TraitsRequirement
inverted: true
traits:
- CP14ManaWasting
- type: loadout
id: CP14ActionSpellBeerCreation
dummyEntity: CP14ActionSpellBeerCreation