secret polymorph spell
This commit is contained in:
@@ -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
|
||||
13
Resources/Prototypes/_CP14/Polymorph/polymorph.yml
Normal file
13
Resources/Prototypes/_CP14/Polymorph/polymorph.yml
Normal file
@@ -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
|
||||
@@ -70,4 +70,14 @@
|
||||
sprite: _CP14/Actions/Spells/healing.rsi
|
||||
state: speed_music
|
||||
effect: !type:AddAction
|
||||
action: CP14ActionSpellSpeedBallade
|
||||
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
|
||||
@@ -9,6 +9,9 @@
|
||||
"states": [
|
||||
{
|
||||
"name": "magical_acceleration"
|
||||
},
|
||||
{
|
||||
"name": "polymorph"
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/_CP14/Actions/Spells/misc.rsi/polymorph.png
Normal file
BIN
Resources/Textures/_CP14/Actions/Spells/misc.rsi/polymorph.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 671 B |
Reference in New Issue
Block a user