Magical ballade (#946)

* mana ballade

* mana gift + consume merged in 1 loadout option

* Update T0_mana_gift.yml
This commit is contained in:
Ed
2025-02-26 17:23:53 +03:00
committed by GitHub
parent 9440115087
commit c6cc4daa3f
6 changed files with 133 additions and 25 deletions

View File

@@ -0,0 +1,83 @@
- type: entity
id: CP14ActionSpellMagicBallade
name: Magic ballade
description: With your music, you infuse the objects around you with mana
components:
- type: Sprite
sprite: _CP14/Actions/Spells/meta.rsi
state: magic_music
- type: CP14MagicEffectCastSlowdown
speedMultiplier: 0.8
- type: CP14MagicEffectManaCost
manaCost: 9
canModifyManacost: false
- type: CP14MagicEffect
magicType: Meta
effects:
- !type:CP14SpellSpawnEntityOnTarget
spawns:
- CP14AreaEntityEffectMagicBallade
- type: CP14MagicEffectRequiredMusicTool
- type: CP14MagicEffectCastingVisual
proto: CP14RuneMagicBallade
- type: InstantAction
itemIconStyle: BigAction
sound: !type:SoundPathSpecifier
path: /Audio/Magic/rumble.ogg
icon:
sprite: _CP14/Actions/Spells/meta.rsi
state: magic_music
event: !type:CP14ToggleableInstantActionEvent
effectFrequency: 1
cooldown: 15
castTime: 120
hidden: true
- type: entity
id: CP14AreaEntityEffectMagicBallade
categories: [ HideSpawnMenu ]
components:
- type: TimedDespawn
lifetime: 1.6
- type: CP14AreaEntityEffect
range: 3
maxTargets: 4
whitelist:
components:
- CP14MagicEnergyContainer
- CP14MagicEnergyCrystalSlot
effects:
- !type:CP14SpellSpawnEntityOnTarget
spawns:
- CP14ImpactEffectMagicBallade
- !type:CP14SpellApplyEntityEffect
effects:
- !type:CP14ManaChange
manaDelta: 3
safe: false
- type: entity
id: CP14ImpactEffectMagicBallade
parent: CP14BaseMagicImpact
categories: [ HideSpawnMenu ]
components:
- type: Sprite
sprite: _CP14/Effects/music.rsi
layers:
- state: notes_5
color: "#5096d4"
shader: unshaded
- type: entity
id: CP14RuneMagicBallade
parent: CP14BaseMagicRune
categories: [ HideSpawnMenu ]
components:
- type: PointLight
color: "#5096d4"
- type: Sprite
sprite: _CP14/Effects/music.rsi
layers:
- state: notes_3
color: "#5096d4"
shader: unshaded

View File

@@ -1,3 +1,13 @@
- type: entity
id: CP14DummyActionSpellManaManipulation
name: Mana manipulation
description: You can manipulate mana by giving it to other objects or taking it from them.
categories: [ HideSpawnMenu ]
components:
- type: Sprite
sprite: _CP14/Actions/Spells/meta.rsi
state: mana
- type: entity
id: CP14ActionSpellManaGift
name: Mana transfer

View File

@@ -6,26 +6,34 @@
minLimit: 0
maxLimit: 3
loadouts:
#Dimension
- CP14ActionSpellShadowGrab
#Earth
#Fire
- CP14ActionSpellFlameCreation
- CP14ActionSpellHellBallade
#Healing
- CP14ActionSpellCureWounds
- CP14ActionSpellCureBurn
- CP14ActionSpellBloodPurification
- CP14ActionSpellPlantGrowth
- CP14ActionSpellHealBallade
- CP14ActionSpellSpeedBallade
- CP14ActionSpellPeaceBallade
#Light
- CP14ActionSpellSphereOfLight
- CP14ActionSpellManaConsume
- CP14ActionSpellManaGift
#Meta
- CP14ActionSpellManaManipulation
- CP14ActionSpellCounterSpell
- CP14ActionSpellShadowGrab
- CP14ActionSpellMagicBallade
#Physical
- CP14ActionSpellSprint
- CP14ActionSpellKick
#Water
- CP14ActionSpellWaterCreation
- CP14ActionSpellIceShards
- CP14ActionSpellFreeze
- CP14ActionSpellBeerCreation
- CP14ActionSpellSprint
- CP14ActionSpellKick
- CP14ActionSpellHealBallade
- CP14ActionSpellSpeedBallade
- CP14ActionSpellPeaceBallade
- CP14ActionSpellHellBallade
- type: loadout
id: CP14ActionSpellBase
@@ -122,9 +130,10 @@
- CP14ManaWasting
- type: loadout
id: CP14ActionSpellManaConsume
dummyEntity: CP14ActionSpellManaConsume
id: CP14ActionSpellManaManipulation
dummyEntity: CP14DummyActionSpellManaManipulation
actions:
- CP14ActionSpellManaGift
- CP14ActionSpellManaConsume
effects:
- !type:JobRequirementLoadoutEffect
@@ -140,19 +149,6 @@
traits:
- CP14ManaWasting
- type: loadout
id: CP14ActionSpellManaGift
dummyEntity: CP14ActionSpellManaGift
actions:
- CP14ActionSpellManaGift
effects:
- !type:JobRequirementLoadoutEffect
requirement:
!type:TraitsRequirement
inverted: true
traits:
- CP14ManaWasting
- type: loadout
id: CP14ActionSpellCounterSpell
dummyEntity: CP14ActionSpellCounterSpell
@@ -310,4 +306,17 @@
requirement:
!type:SpeciesRequirement
species:
- CP14Tiefling
- CP14Tiefling
- type: loadout
id: CP14ActionSpellMagicBallade
dummyEntity: CP14ActionSpellMagicBallade
actions:
- CP14ActionSpellMagicBallade
effects:
- !type:JobRequirementLoadoutEffect
requirement:
!type:TraitsRequirement
inverted: true
traits:
- CP14ManaWasting

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 B

View File

@@ -10,9 +10,15 @@
{
"name": "counter_spell"
},
{
"name": "magic_music"
},
{
"name": "mana_consume"
},
{
"name": "mana"
},
{
"name": "mana_gift"
}