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

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

@@ -7,6 +7,21 @@
"license": "CC-BY-SA-4.0",
"copyright": "Created by TheShuEd",
"states": [
{
"name": "circle_decrease",
"delays": [
[
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
]
]
},
{
"name": "particles_down",
"delays": [

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

View File

@@ -5,7 +5,7 @@
"y": 32
},
"license": "All right reserved",
"copyright": "Created by .kreks., cure_poison, cure_burn, mana_gift, water creation, plant_growth, beer creation, sprint, tiefling_revenge, demi_arrow, rift_shield, rift_arrow, signal_light_blue, signal_light_red, signal_light_yellow and resurrection by TheShuEd",
"copyright": "Created by .kreks., cure_poison, cure_burn, mana_gift, water creation, plant_growth, beer creation, sprint, tiefling_revenge, demi_arrow, rift_shield, rift_arrow, signal_light_blue, signal_light_red, freeze, signal_light_yellow and resurrection by TheShuEd",
"states": [
{
"name": "beer_creation"
@@ -34,6 +34,9 @@
{
"name": "flash_light"
},
{
"name": "freeze"
},
{
"name": "ice_dagger"
},