diff --git a/Resources/Prototypes/_CP14/Entities/Actions/Spells/Life/sheep_polymorph.yml b/Resources/Prototypes/_CP14/Entities/Actions/Spells/Life/sheep_polymorph.yml new file mode 100644 index 0000000000..854d150a2c --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Actions/Spells/Life/sheep_polymorph.yml @@ -0,0 +1,73 @@ +- type: entity + id: CP14ActionSpellSheepPolymorph + name: Sheep polymorph + description: You curse the target, turning it into a silly sheep for a short period of time. + components: + - type: Sprite + sprite: _CP14/Actions/Spells/misc.rsi + state: polymorph + - type: CP14MagicEffectCastSlowdown + speedMultiplier: 0.5 + - type: CP14MagicEffectManaCost + manaCost: 30 + - type: CP14MagicEffect + telegraphyEffects: + - !type:CP14SpellSpawnEntityOnTarget + spawns: + - CP14ImpactEffectSheepPolymorph + effects: + - !type:CP14SpellSpawnEntityOnTarget + spawns: + - CP14ImpactEffectSheepPolymorph + - !type:CP14SpellApplyEntityEffect + effects: + - !type:Polymorph + prototype: CP14Sheep + - type: CP14MagicEffectVerbalAspect + startSpeech: "Pellis dolorem..." + endSpeech: "non novit" + - type: CP14MagicEffectCastingVisual + proto: CP14RuneSheepPolymorph + - type: EntityTargetAction + whitelist: + components: + - MobState + range: 3 + itemIconStyle: BigAction + interactOnMiss: false + sound: !type:SoundPathSpecifier + path: /Audio/Magic/rumble.ogg + icon: + sprite: _CP14/Actions/Spells/misc.rsi + state: polymorph + event: !type:CP14DelayedEntityTargetActionEvent + cooldown: 30 + castDelay: 1.5 + breakOnMove: false + +- type: entity + id: CP14RuneSheepPolymorph + parent: CP14BaseMagicRune + categories: [ HideSpawnMenu ] + components: + - type: PointLight + color: "#8532a8" + - type: Sprite + layers: + - state: sun + color: "#8532a8" + shader: unshaded + - state: double_outer + color: "#db35c8" + shader: unshaded + +- type: entity + id: CP14ImpactEffectSheepPolymorph + parent: CP14BaseMagicImpact + categories: [ HideSpawnMenu ] + components: + - type: Sprite + layers: + - state: particles_up + color: "#db35c8" + shader: unshaded \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/Polymorph/polymorph.yml b/Resources/Prototypes/_CP14/Polymorph/polymorph.yml new file mode 100644 index 0000000000..5d3189701f --- /dev/null +++ b/Resources/Prototypes/_CP14/Polymorph/polymorph.yml @@ -0,0 +1,13 @@ +- type: polymorph + id: CP14Sheep + configuration: + entity: CP14MobSheep + forced: true + revertOnCrit: true + revertOnDeath: true + transferDamage: true + polymorphSound: !type:SoundPathSpecifier + path: /Audio/Magic/forcewall.ogg + exitPolymorphSound: !type:SoundPathSpecifier + path: /Audio/Magic/forcewall.ogg + duration: 15 \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/Skill/healing.yml b/Resources/Prototypes/_CP14/Skill/healing.yml index 9f3b527200..2509b08192 100644 --- a/Resources/Prototypes/_CP14/Skill/healing.yml +++ b/Resources/Prototypes/_CP14/Skill/healing.yml @@ -70,4 +70,14 @@ sprite: _CP14/Actions/Spells/healing.rsi state: speed_music effect: !type:AddAction - action: CP14ActionSpellSpeedBallade \ No newline at end of file + action: CP14ActionSpellSpeedBallade + +- type: cp14Skill + id: CP14ActionSpellSheepPolymorph + skillUiPosition: 4, 10 + tree: Healing + icon: + sprite: _CP14/Actions/Spells/misc.rsi + state: polymorph + effect: !type:AddAction + action: CP14ActionSpellSheepPolymorph \ No newline at end of file diff --git a/Resources/Textures/_CP14/Actions/Spells/misc.rsi/meta.json b/Resources/Textures/_CP14/Actions/Spells/misc.rsi/meta.json index 4bc6d501a7..1c0e5d594e 100644 --- a/Resources/Textures/_CP14/Actions/Spells/misc.rsi/meta.json +++ b/Resources/Textures/_CP14/Actions/Spells/misc.rsi/meta.json @@ -9,6 +9,9 @@ "states": [ { "name": "magical_acceleration" + }, + { + "name": "polymorph" } ] } \ No newline at end of file diff --git a/Resources/Textures/_CP14/Actions/Spells/misc.rsi/polymorph.png b/Resources/Textures/_CP14/Actions/Spells/misc.rsi/polymorph.png new file mode 100644 index 0000000000..0b87c050f5 Binary files /dev/null and b/Resources/Textures/_CP14/Actions/Spells/misc.rsi/polymorph.png differ