Tiefling gameplay (#703)

* tiefling damage mana

* tiefling spell

* tweaks
This commit is contained in:
Ed
2025-01-06 17:08:49 +03:00
committed by GitHub
parent 71e6bd4f24
commit 8892d3913d
22 changed files with 257 additions and 22 deletions

View File

@@ -197,7 +197,7 @@
abstract: true
components:
- type: Flammable
fireSpread: true
fireSpread: false #CP14 false
canResistFire: true
damage: #per second, scales with number of fire 'stacks'
types:

View File

@@ -45,3 +45,11 @@
Heat: 1.3
Cold: 0.8
Poison: 0.2
# Species
- type: damageModifierSet
id: CP14Tiefling
coefficients:
Heat: 0.5
Cold: 1.5

View File

@@ -0,0 +1,64 @@
- type: entity
id: CP14ActionSpellTieflingInnerFire
name: Inner fire
description: You unleash your inner fire, setting yourself on fire and temporarily speeding up your movement.
components:
- type: Sprite
sprite: _CP14/Effects/Magic/spells_icons.rsi
state: tiefling_revenge
- type: CP14MagicEffectCastSlowdown
speedMultiplier: 0.5
- type: CP14MagicEffectCastingVisual
proto: CP14RuneTieflingRevenge
- type: CP14MagicEffect
magicType: Fire
effects:
- !type:CP14SpellSpawnEntityOnTarget
spawns:
- CP14ImpactEffectTieflingRevenge
- !type:CP14SpellApplyEntityEffect
effects:
- !type:Jitter
- !type:FlammableReaction
multiplier: 1.5
- !type:AdjustTemperature
amount: 6000
- !type:Ignite
- !type:MovespeedModifier
walkSpeedModifier: 1.2
sprintSpeedModifier: 1.2
statusLifetime: 5
- type: InstantAction
itemIconStyle: BigAction
sound: !type:SoundPathSpecifier
path: /Audio/Magic/rumble.ogg
icon:
sprite: _CP14/Effects/Magic/spells_icons.rsi
state: tiefling_revenge
event: !type:CP14DelayedInstantActionEvent
cooldown: 10
breakOnMove: false
- type: entity
id: CP14ImpactEffectTieflingRevenge
parent: CP14BaseMagicImpact
categories: [ HideSpawnMenu ]
components:
- type: Sprite
layers:
- state: wave_up
color: "#eea911"
shader: unshaded
- type: entity
id: CP14RuneTieflingRevenge
parent: CP14BaseMagicRune
categories: [ HideSpawnMenu ]
components:
- type: PointLight
color: "#eea911"
- type: Sprite
layers:
- state: sun
color: "#eea911"
shader: unshaded

View File

@@ -63,7 +63,7 @@
sprite: _CP14/Effects/Magic/spells_icons.rsi
state: plant_growth
event: !type:CP14ToggleableEntityTargetActionEvent
cooldown: 15
cooldown: 2
castTime: 10
breakOnMove: true

View File

@@ -41,7 +41,7 @@
sprite: _CP14/Effects/Magic/spells_icons.rsi
state: mana_gift
event: !type:CP14ToggleableEntityTargetActionEvent
cooldown: 5
cooldown: 2
castTime: 10
breakOnMove: true

View File

@@ -7,7 +7,7 @@
sprite: _CP14/Effects/Magic/spells_icons.rsi
state: sprint
- type: CP14MagicEffectCastSlowdown
speedMultiplier: 1.6
speedMultiplier: 1.4
- type: CP14MagicEffectStaminaCost
stamina: 3
- type: CP14MagicEffect
@@ -24,6 +24,6 @@
state: sprint
event: !type:CP14ToggleableInstantActionEvent
effectFrequency: 0.2
cooldown: 10
cooldown: 2
castTime: 10
hidden: true

View File

@@ -22,6 +22,32 @@
- type: Wagging
- type: Bloodstream
bloodReagent: CP14BloodTiefling
- type: Damageable
damageContainer: Biological
damageModifierSet: CP14Tiefling
- type: PassiveDamage
damageCap: 65
allowedStates:
- Alive
- Critical
damage:
types:
Heat: -0.14 # Around 8 damage a minute healed
- type: CP14MagicEnergyDraw
energy: 0.75
delay: 3 # 5m to full restore
- type: CP14MagicEnergyFromDamage
damage:
Heat: 1 #Magic regen from fire
Cold: -1
- type: CP14MagicManacostModify
globalModifier: 1.2
modifiers:
Fire: 0.5
- type: CP14SpellStorage
grantAccessToSelf: true
spells:
- CP14ActionSpellTieflingInnerFire
- type: Inventory
templateId: CP14Human
femaleDisplacements:

View File

@@ -4,8 +4,17 @@
name: Playable species
text: "/ServerInfo/_CP14/Guidebook_EN/Species.xml"
children:
- CP14_EN_Elf
- CP14_EN_Human
- CP14_EN_Silva
- CP14_EN_Elf
- CP14_EN_Tiefling
filterEnabled: True
- type: guideEntry
crystallPunkAllowed: true
id: CP14_EN_Human
name: Human
text: "/ServerInfo/_CP14/Guidebook_EN/SpeciesTabs/Human.xml"
filterEnabled: True
- type: guideEntry
@@ -20,4 +29,11 @@
id: CP14_EN_Elf
name: Elf
text: "/ServerInfo/_CP14/Guidebook_EN/SpeciesTabs/Elf.xml"
filterEnabled: True
- type: guideEntry
crystallPunkAllowed: true
id: CP14_EN_Tiefling
name: Tiefling
text: "/ServerInfo/_CP14/Guidebook_EN/SpeciesTabs/Tiefling.xml"
filterEnabled: True

View File

@@ -4,8 +4,17 @@
name: Играбельные расы
text: "/ServerInfo/_CP14/Guidebook_RU/Species.xml"
children:
- CP14_RU_Elf
- CP14_RU_Human
- CP14_RU_Silva
- CP14_RU_Elf
- CP14_RU_Tiefling
filterEnabled: True
- type: guideEntry
crystallPunkAllowed: true
id: CP14_RU_Human
name: Человек
text: "/ServerInfo/_CP14/Guidebook_RU/SpeciesTabs/Human.xml"
filterEnabled: True
- type: guideEntry
@@ -20,4 +29,11 @@
id: CP14_RU_Elf
name: Эльф
text: "/ServerInfo/_CP14/Guidebook_RU/SpeciesTabs/Elf.xml"
filterEnabled: True
- type: guideEntry
crystallPunkAllowed: true
id: CP14_RU_Tiefling
name: Тифлинг
text: "/ServerInfo/_CP14/Guidebook_RU/SpeciesTabs/Tiefling.xml"
filterEnabled: True