Kick stamina spell (#844)

* kick spell

* kick fix
This commit is contained in:
Ed
2025-02-06 12:38:20 +03:00
committed by GitHub
parent 60737dc36e
commit b5eb3a3dc1
11 changed files with 100 additions and 8 deletions

View File

@@ -29,7 +29,6 @@
components:
- Item
canTargetSelf: false
checkCanAccess: false
range: 10
itemIconStyle: BigAction
sound: !type:SoundPathSpecifier

View File

@@ -0,0 +1,42 @@
- type: entity
id: CP14ActionSpellKick
name: Kick
description: You perform an epic leg kick at your chosen object, pushing it away from you.
components:
- type: Sprite
sprite: _CP14/Effects/Magic/spells_icons.rsi
state: kick
- type: CP14MagicEffectCastSlowdown
speedMultiplier: 0.4
- type: CP14MagicEffectStaminaCost
stamina: 40
- type: CP14MagicEffect
effects:
- !type:CP14SpellApplyEntityEffect
effects:
- !type:Paralyze
paralyzeTime: 1
- !type:CP14SpellThrowFromUser
throwPower: 9
- !type:CP14SpellSpawnEntityOnTarget
spawns:
- CP14DustEffect
- type: CP14MagicEffectVerbalAspect
endSpeech: cp14-kick-emote
emote: true
- type: EntityTargetAction
canTargetSelf: false
range: 1
itemIconStyle: BigAction
sound: !type:SoundPathSpecifier
path: /Audio/Effects/hit_kick.ogg
params:
pitch: 2
icon:
sprite: _CP14/Effects/Magic/spells_icons.rsi
state: kick
event: !type:CP14DelayedEntityTargetActionEvent
cooldown: 5
castDelay: 1
entityDistance: 1
breakOnMove: false

View File

@@ -427,6 +427,7 @@
- CP14ModularIronPickaxe
- CP14Lighter
- CP14Torch
- CP14SmokingPipeFilledTobacco
- CP14FluteInstrument
- CP14LyraInstrument
- CP14ClothingBeltQuiver
@@ -498,7 +499,7 @@
- CP14Torch
- type: loadout
id: CP14Pipe
id: CP14SmokingPipeFilledTobacco
storage:
back:
- CP14SmokingPipeFilledTobacco
@@ -559,6 +560,7 @@
- CP14ActionSpellFreeze
- CP14ActionSpellBeerCreation
- CP14ActionSpellSprint
- CP14ActionSpellKick
- type: loadout
id: CP14ActionSpellBase
@@ -755,3 +757,9 @@
species:
- CP14Goblin
inverted: true # Goblins cannot take this spell, they have buffed version by default
- type: loadout
id: CP14ActionSpellKick
dummyEntity: CP14ActionSpellKick
actions:
- CP14ActionSpellKick