shadow grab test

This commit is contained in:
Ed
2024-08-02 22:32:59 +03:00
parent 9681a91835
commit de0d8a02b1
13 changed files with 100 additions and 9 deletions

View File

@@ -0,0 +1,48 @@
- type: entity
id: CP14ActionSpellShadowGrab
name: Shadow grab
description: You attract a ghostly hand that draws an object or entity to you
components:
- type: CP14MagicEffect
manaCost: 10
telegraphyEffects:
- !type:CP14SpellSpawnEntityOnTarget
spawns:
- CP14ImpactEffectShadowStep
- !type:CP14SpellSpawnEntityOnUser
spawns:
- CP14ImpactEffectShadowGrab
effects:
- !type:CP14SpellApplyEntityEffect
effects:
- !type:Paralyze
paralyzeTime: 0.5
- !type:CP14SpellThrowToUser
throwPower: 10
- !type:CP14SpellSpawnEntityOnTarget
spawns:
- CP14ImpactEffectShadowStep
- type: CP14MagicEffectSomaticAspect
- type: EntityTargetAction
canTargetSelf: false
checkCanAccess: false
range: 10
useDelay: 10
itemIconStyle: BigAction
sound: !type:SoundPathSpecifier
path: /Audio/Magic/rumble.ogg
icon:
sprite: _CP14/Effects/Magic/spells_icons.rsi
state: shadow_grab
event: !type:CP14DelayedEntityTargetActionEvent
delay: 2
- type: entity
id: CP14ImpactEffectShadowGrab
parent: CP14BaseMagicImpact
categories: [ HideSpawnMenu ]
components:
- type: Sprite
layers:
- state: particles_up
color: "#5e427e"

View File

@@ -75,10 +75,28 @@
- type: Sprite
layers:
- state: brass_ring
- state: emerald_stone_small
- state: amethyst_stone_small
- type: CP14SpellStorageRequireAttune
- type: CP14MagicAttuningItem
- type: CP14SpellStorageAccessWearing
- type: CP14SpellStorage
spells:
- CP14ActionSpellShadowStep
- CP14ActionSpellShadowStep
- type: entity
id: CP14ClothingRingShadowGrab
parent: CP14ClothingRingBase
name: conductive ring
description: A standard mana-conductive ring that allows the user to summon grabbing shadow hand.
suffix: Shadow grab
components:
- type: Sprite
layers:
- state: brass_ring
- state: amethyst_stone_small
- type: CP14SpellStorageRequireAttune
- type: CP14MagicAttuningItem
- type: CP14SpellStorageAccessWearing
- type: CP14SpellStorage
spells:
- CP14ActionSpellShadowGrab

View File

@@ -34,13 +34,6 @@
shader: unshaded
- type: Physics
canCollide: false
- type: PointLight
enabled: true
color: "#4080FF"
radius: 3.5
softness: 1
autoRot: true
castShadows: false
- type: Beam
- type: TimedDespawn
lifetime: 3