From 978f9cf4b9ef6964f6d5a855c48157e1c71127c7 Mon Sep 17 00:00:00 2001 From: Ed Date: Sat, 8 Mar 2025 14:46:13 +0300 Subject: [PATCH] vampire buff --- .../Actions/Spells/Vampire/T2_Blood_step.yml | 43 ++++++++++++++++++ .../_CP14/GameRules/subgamemodes.yml | 1 + .../Actions/Spells/vampire.rsi/blood_step.png | Bin 0 -> 360 bytes .../Actions/Spells/vampire.rsi/meta.json | 3 ++ 4 files changed, 47 insertions(+) create mode 100644 Resources/Prototypes/_CP14/Entities/Actions/Spells/Vampire/T2_Blood_step.yml create mode 100644 Resources/Textures/_CP14/Actions/Spells/vampire.rsi/blood_step.png diff --git a/Resources/Prototypes/_CP14/Entities/Actions/Spells/Vampire/T2_Blood_step.yml b/Resources/Prototypes/_CP14/Entities/Actions/Spells/Vampire/T2_Blood_step.yml new file mode 100644 index 0000000000..2a9af81cae --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Actions/Spells/Vampire/T2_Blood_step.yml @@ -0,0 +1,43 @@ +- type: entity + id: CP14ActionSpellVampireBloodStep + name: Blood step + description: A step through the gash of reality that allows you to cover a small of distance quickly + components: + - type: Sprite + sprite: _CP14/Actions/Spells/vampire.rsi + state: blood_step + - type: CP14MagicEffectCastSlowdown + speedMultiplier: 0.8 + - type: CP14MagicEffect + telegraphyEffects: + - !type:CP14SpellSpawnEntityOnTarget + spawns: + - CP14ImpactEffectBloodStep + effects: + - !type:CP14SpellCasterTeleport + needVision: false + - type: CP14MagicEffectCastingVisual + proto: CP14ImpactEffectBloodStep + - type: EntityWorldTargetAction + checkCanAccess: false + range: 10 + itemIconStyle: BigAction + sound: !type:SoundPathSpecifier + path: /Audio/Magic/rumble.ogg + icon: + sprite: _CP14/Actions/Spells/vampire.rsi + state: blood_step + event: !type:CP14DelayedEntityWorldTargetActionEvent + cooldown: 40 + hidden: true + breakOnMove: false + +- type: entity + id: CP14ImpactEffectBloodStep + parent: CP14BaseMagicImpact + categories: [ HideSpawnMenu ] + components: + - type: Sprite + layers: + - state: wave_up + color: red \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/GameRules/subgamemodes.yml b/Resources/Prototypes/_CP14/GameRules/subgamemodes.yml index b603969b1e..b797afacc6 100644 --- a/Resources/Prototypes/_CP14/GameRules/subgamemodes.yml +++ b/Resources/Prototypes/_CP14/GameRules/subgamemodes.yml @@ -24,6 +24,7 @@ actions: - CP14ActionVampireBite - CP14ActionSpellVampireHypnosis + - CP14ActionSpellVampireBloodStep - type: Hunger baseDecayRate: 0.07 starvationDamage: diff --git a/Resources/Textures/_CP14/Actions/Spells/vampire.rsi/blood_step.png b/Resources/Textures/_CP14/Actions/Spells/vampire.rsi/blood_step.png new file mode 100644 index 0000000000000000000000000000000000000000..eaeb44f5e3fa51c1a91f8a43641fc2685e7db4af GIT binary patch literal 360 zcmV-u0hj)XP)Px$B1uF+R9J=WRk5{$FbtIQGKt;TGq6bpfP#4_$N=6XGw>U-ihiX${lfwR`Bi+C z4VLa?oq(vKqT<`()?W4@jYLGlJauPC`jEzkxg{ccICt0iE?eZdJ^~@f^{RkRVN3i% zKp)cBhcxPII@*HlBR9$U=(m8s_%){BcBv39-sEQ-H3={Z(&?6x0Xk;H* z=ey{jm(r8K>eukE|AIZm{1IRUl*V%lR`sRvtf;8?Zu|mR?AgIr8HXSM0000