From 44f1c03e345db1cc4b75777f6c83b8b6dadc325f Mon Sep 17 00:00:00 2001 From: Viator-MV Date: Sat, 10 May 2025 13:28:33 +0300 Subject: [PATCH] Spells extension (#1202) * fire * trance_compression_distoration * scroll loot * fix * myeh * again mb? * compression fix * crystal fix * disorion debuff * delete all it * final? * nah * not mine * fix * fix * mmmm * mana trance rebalance * relocate trance * fix * blyat * no compression * delete all * fix * Update modifier_sets.yml * Update heat.yml * Update heat.yml --------- Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com> --- .../Entities/Actions/Spells/Fire/heat.yml | 76 ++++++++++++++++++ .../Spawners/Random/Loot/demiplane.yml | 3 +- .../Prototypes/_CP14/Skill/pyrokinetic.yml | 10 +++ .../_CP14/Actions/Spells/fire.rsi/heat.png | Bin 0 -> 406 bytes .../_CP14/Actions/Spells/fire.rsi/meta.json | 3 + 5 files changed, 91 insertions(+), 1 deletion(-) create mode 100644 Resources/Prototypes/_CP14/Entities/Actions/Spells/Fire/heat.yml create mode 100644 Resources/Textures/_CP14/Actions/Spells/fire.rsi/heat.png diff --git a/Resources/Prototypes/_CP14/Entities/Actions/Spells/Fire/heat.yml b/Resources/Prototypes/_CP14/Entities/Actions/Spells/Fire/heat.yml new file mode 100644 index 0000000000..bf073bb3f6 --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Actions/Spells/Fire/heat.yml @@ -0,0 +1,76 @@ +- type: entity + id: CP14ActionSpellHeat + name: Heat + description: You start to heat the target up a lot, burning it from the inside. + components: + - type: Sprite + sprite: _CP14/Actions/Spells/fire.rsi + state: heat + - type: CP14MagicEffectCastSlowdown + speedMultiplier: 0.8 + - type: CP14MagicEffectManaCost + manaCost: 7 + - type: CP14MagicEffect + magicType: Fire + effects: + - !type:CP14SpellSpawnEntityOnTarget + spawns: + - CP14ImpactEffectHeat + - !type:CP14SpellApplyEntityEffect + effects: + - !type:AdjustTemperature + amount: 36000 + - !type:ExtinguishReaction + - type: CP14MagicEffectVerbalAspect + startSpeech: "Vos adepto calidum..." + - type: CP14MagicEffectCastingVisual + proto: CP14RuneHeat + - type: EntityTargetAction + range: 8 + interactOnMiss: false + itemIconStyle: BigAction + sound: !type:SoundPathSpecifier + path: /Audio/Magic/rumble.ogg + icon: + sprite: _CP14/Actions/Spells/fire.rsi + state: heat + event: !type:CP14ToggleableEntityTargetActionEvent + cooldown: 8 + castTime: 10 + distanceThreshold: 5 + breakOnMove: false + +- type: entity + id: CP14ImpactEffectHeat + parent: CP14BaseMagicImpact + categories: [ HideSpawnMenu ] + save: false + components: + - type: Sprite + layers: + - state: circle_increase + color: "#eea911" + shader: unshaded + +- type: entity + id: CP14RuneHeat + parent: CP14BaseMagicRune + categories: [ HideSpawnMenu ] + save: false + components: + - type: PointLight + color: "#eea911" + - type: Sprite + layers: + - state: sun + color: "#eea911" + shader: unshaded + +- type: entity + parent: CP14BaseSpellScrollFire + id: CP14SpellScrollHeat + name: heat spell scroll + components: + - type: CP14SpellStorage + spells: + - CP14ActionSpellHeat diff --git a/Resources/Prototypes/_CP14/Entities/Markers/Spawners/Random/Loot/demiplane.yml b/Resources/Prototypes/_CP14/Entities/Markers/Spawners/Random/Loot/demiplane.yml index b92de34291..f88925af3b 100644 --- a/Resources/Prototypes/_CP14/Entities/Markers/Spawners/Random/Loot/demiplane.yml +++ b/Resources/Prototypes/_CP14/Entities/Markers/Spawners/Random/Loot/demiplane.yml @@ -39,6 +39,7 @@ - id: CP14SpellScrollPlantGrowth - id: CP14SpellScrollMagicSplitting - id: CP14SpellScrollMagicalAcceleration + - id: CP14SpellScrollHeat - id: CP14BaseSharpeningStone - id: CP14ScrapCopper - id: CP14ScrapIron @@ -99,4 +100,4 @@ - !type:GroupSelector # remove this when players can create their own magic items children: - id: CP14SpellScrollResurrection - - id: CP14ClothingCloakAmuletMana + - id: CP14ClothingCloakAmuletMana \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/Skill/pyrokinetic.yml b/Resources/Prototypes/_CP14/Skill/pyrokinetic.yml index ef5782ee55..0b5bde0be1 100644 --- a/Resources/Prototypes/_CP14/Skill/pyrokinetic.yml +++ b/Resources/Prototypes/_CP14/Skill/pyrokinetic.yml @@ -8,6 +8,16 @@ effect: !type:AddAction action: CP14ActionSpellFlameCreation +- type: cp14Skill + id: CP14ActionSpellHeat + skillUiPosition: 4, 0 + tree: Pyrokinetic + icon: + sprite: _CP14/Actions/Spells/fire.rsi + state: heat + effect: !type:AddAction + action: CP14ActionSpellHeat + - type: cp14Skill id: CP14ActionSpellHellBallade skillUiPosition: 0, 2 diff --git a/Resources/Textures/_CP14/Actions/Spells/fire.rsi/heat.png b/Resources/Textures/_CP14/Actions/Spells/fire.rsi/heat.png new file mode 100644 index 0000000000000000000000000000000000000000..e4c8f54bf893486519ddacf98043643b49f5466e GIT binary patch literal 406 zcmV;H0crk;P)Px$P)S5VR9J=Wm(h*FFbsx&pO}M9SmSo!p)*{Wp%2}mZ_L0ZEaH2(x^h$72{aK% zoFydGr1^g*Uz`Sb=iqPjFBRtjyw^nT{jaEzI?!(M6MiBSp#dJidkg^iBwPbDp~npu znszS1vq_XN!1pur{TvE3V?YagCYmu|33?`~GZ0O=X)MFQ!5vJdPs|vD(Q%|ym3`j~83Q_V$v!n5E$vtkBJ z5U=CkPfW~hOW)cItOmM{pbkVGXk{XWHN$|r4Z|%oi)#_aXcw&kj2kWw8?fqt76jJt zQ3u-8iJEo56JHrg`d4RQ1EPX31u#mY$bfqmNHz+*#e|V*)w5t@QkKK3m@OEv+Pr@4 z&Vm5W(&t4{