Skill requirements (#1085)

* prerequites refactor

* tiefling only spells

* metamagic update

* sort trying

* goblin speed port
This commit is contained in:
Ed
2025-03-29 16:50:14 +03:00
committed by GitHub
parent 2248e2ad5c
commit fddbb010cf
32 changed files with 378 additions and 89 deletions

View File

@@ -24,8 +24,8 @@
- !type:Polymorph
prototype: CP14Sheep
- type: CP14MagicEffectVerbalAspect
startSpeech: "Pellis dolorem..."
endSpeech: "non novit"
startSpeech: "Pascam et custodiam..."
endSpeech: "pecora tua"
- type: CP14MagicEffectCastingVisual
proto: CP14RuneSheepPolymorph
- type: EntityTargetAction

View File

@@ -1,13 +1,3 @@
- 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
@@ -54,6 +44,25 @@
castTime: 10
breakOnMove: true
- type: entity
id: CP14ActionSpellManaGiftElf
parent: CP14ActionSpellManaGift
name: Carefull mana transfer
description: You transfer mana at a tremendous rate without dealing damage to the target.
components:
- type: CP14MagicEffectManaCost
manaCost: 20
- type: CP14MagicEffect
effects:
- !type:CP14SpellSpawnEntityOnTarget
spawns:
- CP14ImpactEffectManaGift
- !type:CP14SpellApplyEntityEffect
effects:
- !type:CP14ManaChange
manaDelta: 20
safe: true
- type: entity
id: CP14RuneManaGift
parent: CP14BaseMagicRune

View File

@@ -1,12 +1,12 @@
- type: loadoutGroup
id: CP14SkillTree
name: cp14-loadout-skill-tree
minLimit: 0
minLimit: 2
maxLimit: 2
loadouts:
- CP14SkillTreePyrokinetic
- CP14SkillTreeHydrosophistry
- CP14SkillTreeMetamagic
- CP14SkillTreeHydrosophistry
- CP14SkillTreePyrokinetic
- CP14SkillTreeIllusion
- CP14SkillTreeHealing
- CP14SkillTreeAtlethic

View File

@@ -16,4 +16,21 @@
sprite: _CP14/Actions/Spells/physical.rsi
state: sprint
effect: !type:AddAction
action: CP14ActionSpellSprint
action: CP14ActionSpellSprint
- type: cp14Skill
id: CP14ActionSpellSprintGoblin
skillUiPosition: 2, 2
learnCost: 0
tree: Atlethic
icon:
sprite: _CP14/Actions/Spells/physical.rsi
state: sprint
effect: !type:ReplaceAction
oldAction: CP14ActionSpellSprint
newAction: CP14ActionSpellSprintGoblin
restrictions:
- !type:NeedPrerequisite
prerequisite: CP14ActionSpellSprint
- !type:SpeciesWhitelist
species: CP14Goblin

View File

@@ -27,6 +27,9 @@
state: beer_creation
effect: !type:AddAction
action: CP14ActionSpellBeerCreation
restrictions:
- !type:SpeciesWhitelist
species: CP14Dwarf
- type: cp14Skill
id: CP14ActionSpellIceShards

View File

@@ -20,16 +20,50 @@
action: CP14ActionSpellManaGift
- type: cp14Skill
id: CP14ActionSpellManaConsume
id: CP14ActionSpellManaGiftElf
skillUiPosition: 2, 2
learnCost: 0.5
tree: Metamagic
icon:
sprite: _CP14/Actions/Spells/meta.rsi
state: mana_gift
effect: !type:ReplaceAction
oldAction: CP14ActionSpellManaGift
newAction: CP14ActionSpellManaGiftElf
restrictions:
- !type:NeedPrerequisite
prerequisite: CP14ActionSpellManaGift
- !type:SpeciesWhitelist
species: CP14Elf
- type: cp14Skill
id: CP14ActionSpellManaConsume
skillUiPosition: 0, 4
learnCost: 0.5
tree: Metamagic
icon:
sprite: _CP14/Actions/Spells/meta.rsi
state: mana_consume
effect: !type:AddAction
action: CP14ActionSpellManaConsume
- type: cp14Skill
id: CP14ActionSpellManaConsumeElf
skillUiPosition: 2, 4
learnCost: 0.5
tree: Metamagic
icon:
sprite: _CP14/Actions/Spells/meta.rsi
state: mana_consume
effect: !type:ReplaceAction
oldAction: CP14ActionSpellManaConsume
newAction: CP14ActionSpellManaConsumeElf
restrictions:
- !type:NeedPrerequisite
prerequisite: CP14ActionSpellManaConsume
- !type:SpeciesWhitelist
species: CP14Elf
- type: cp14Skill
id: CP14ActionSpellMagicBallade
skillUiPosition: 0, 6

View File

@@ -10,10 +10,26 @@
- type: cp14Skill
id: CP14ActionSpellHellBallade
skillUiPosition: 0, 10
skillUiPosition: 0, 2
tree: Pyrokinetic
icon:
sprite: _CP14/Actions/Spells/fire.rsi
state: fire_music
effect: !type:AddAction
action: CP14ActionSpellHellBallade
action: CP14ActionSpellHellBallade
restrictions:
- !type:SpeciesWhitelist
species: CP14Tiefling
- type: cp14Skill
id: CP14ActionSpellTieflingInnerFire
skillUiPosition: 0, 4
tree: Pyrokinetic
icon:
sprite: _CP14/Actions/Spells/fire.rsi
state: tiefling_revenge
effect: !type:AddAction
action: CP14ActionSpellTieflingInnerFire
restrictions:
- !type:SpeciesWhitelist
species: CP14Tiefling