diff --git a/Resources/Prototypes/_CP14/Entities/Actions/Spells/Darkness/T0_demiplane_infiltration.yml b/Resources/Prototypes/_CP14/Entities/Actions/Spells/Darkness/T0_demiplane_infiltration.yml index 3ef4a3b31b..d26139fa77 100644 --- a/Resources/Prototypes/_CP14/Entities/Actions/Spells/Darkness/T0_demiplane_infiltration.yml +++ b/Resources/Prototypes/_CP14/Entities/Actions/Spells/Darkness/T0_demiplane_infiltration.yml @@ -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 diff --git a/Resources/Prototypes/_CP14/Entities/Actions/Spells/Water/T0_freeze.yml b/Resources/Prototypes/_CP14/Entities/Actions/Spells/Water/T0_freeze.yml new file mode 100644 index 0000000000..8e0106f654 --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Actions/Spells/Water/T0_freeze.yml @@ -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 \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/Loadouts/Jobs/general.yml b/Resources/Prototypes/_CP14/Loadouts/Jobs/general.yml index 55cdca7728..a4bdca59b6 100644 --- a/Resources/Prototypes/_CP14/Loadouts/Jobs/general.yml +++ b/Resources/Prototypes/_CP14/Loadouts/Jobs/general.yml @@ -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 diff --git a/Resources/Textures/_CP14/Effects/Magic/cast_impact.rsi/circle_decrease.png b/Resources/Textures/_CP14/Effects/Magic/cast_impact.rsi/circle_decrease.png new file mode 100644 index 0000000000..378b313c8f Binary files /dev/null and b/Resources/Textures/_CP14/Effects/Magic/cast_impact.rsi/circle_decrease.png differ diff --git a/Resources/Textures/_CP14/Effects/Magic/cast_impact.rsi/meta.json b/Resources/Textures/_CP14/Effects/Magic/cast_impact.rsi/meta.json index e0a9f1075a..b4a0239093 100644 --- a/Resources/Textures/_CP14/Effects/Magic/cast_impact.rsi/meta.json +++ b/Resources/Textures/_CP14/Effects/Magic/cast_impact.rsi/meta.json @@ -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": [ diff --git a/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/freeze.png b/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/freeze.png new file mode 100644 index 0000000000..ae3f7406c1 Binary files /dev/null and b/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/freeze.png differ diff --git a/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/meta.json b/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/meta.json index 62094c7bc0..4aa9e10ac4 100644 --- a/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/meta.json +++ b/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/meta.json @@ -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" },