Mana trance (#1216)

* That's it, Ed.

* skill

* CleanDisposed.

* now heal

* remake

* bruh rechek

* slowing

* Update metamagic.yml

* some ingame test and balance

---------

Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>
This commit is contained in:
Viator-MV
2025-05-14 14:56:27 +03:00
committed by GitHub
parent c2c66e77c1
commit 80d668361c
4 changed files with 66 additions and 1 deletions

View File

@@ -0,0 +1,48 @@
- type: entity
id: CP14ActionSpellManaTrance
name: Mana trance
description: You go into a trance for a while, restoring mana.
components:
- type: Sprite
sprite: _CP14/Actions/Spells/meta.rsi
state: mana_trance
- type: CP14MagicEffect
effects:
- !type:CP14SpellSpawnEntityOnTarget
spawns:
- CP14ImpactEffectManaGift
- !type:CP14SpellApplyEntityEffect
effects:
- !type:CP14ManaChange
manaDelta: 2
safe: true
- !type:HealthChange
damage:
types:
CP14ManaDepletion: -0.1
- type: CP14MagicEffectCastingVisual
proto: CP14RuneManaTrance
- type: InstantAction
itemIconStyle: BigAction
icon:
sprite: _CP14/Actions/Spells/meta.rsi
state: mana_trance
event: !type:CP14ToggleableInstantActionEvent
cooldown: 60
castTime: 120
hidden: true
breakOnMove: true
- type: entity
id: CP14RuneManaTrance
parent: CP14BaseMagicRune
categories: [ HideSpawnMenu ]
save: false
components:
- type: PointLight
color: "#5096d4"
- type: Sprite
layers:
- state: sun
color: "#5096d4"
shader: unshaded

View File

@@ -124,6 +124,20 @@
- !type:NeedPrerequisite
prerequisite: MetamagicT2
- type: cp14Skill
id: CP14ActionSpellManaTrance
skillUiPosition: 8, 2
tree: Metamagic
icon:
sprite: _CP14/Actions/Spells/meta.rsi
state: mana_trance
effects:
- !type:AddAction
action: CP14ActionSpellManaTrance
restrictions:
- !type:NeedPrerequisite
prerequisite: MetamagicT2
# T3
- type: cp14Skill
@@ -139,4 +153,4 @@
additionalMana: 25
restrictions:
- !type:NeedPrerequisite
prerequisite: MetamagicT2
prerequisite: MetamagicT2

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

View File

@@ -21,6 +21,9 @@
},
{
"name": "mana_gift"
},
{
"name": "mana_trance"
}
]
}