* added firebolt spell yml, added to spellbook tree

* Added new sprites for Firebolt action/spellbook, in-game bolt sprite.

* Missing comma from fire .json file.

* Updated firebolt IDs to use own ID instead of Fireball's ID.

* Spell doesn't break on move now.

* Updated on soundHit effect

* Corrected Fireball IDs to Firebolt

* Updated copyright entries

* Update firebolt.yml

---------

Co-authored-by: Red <96445749+TheShuEd@users.noreply.github.com>
This commit is contained in:
firebat4321
2025-06-10 07:14:07 -04:00
committed by GitHub
parent c7302e16a6
commit d89ef56907
6 changed files with 131 additions and 2 deletions

View File

@@ -0,0 +1,98 @@
- type: entity
id: CP14ActionSpellFirebolt
name: Firebolt
description: A staple of a pyrokinetic's arsenal - a small but potent bolt of fire.
components:
- type: Sprite
sprite: _CP14/Actions/Spells/fire.rsi
state: fireball
- type: CP14MagicEffectCastSlowdown
speedMultiplier: 0.75
- type: CP14MagicEffectManaCost
manaCost: 10
- type: CP14MagicEffect
magicType: Fire
effects:
- !type:CP14SpellProjectile
prototype: CP14Firebolt
- !type:CP14SpellSpawnEntityOnUser
spawns:
- CP14ImpactEffectFirebolt
- type: CP14MagicEffectVerbalAspect
endSpeech: "Ignis acus!"
- type: CP14MagicEffectCastingVisual
proto: CP14RuneFirebolt
- type: CP14MagicEffectPacifiedBlock
- type: EntityWorldTargetAction
repeat: true
checkCanAccess: false
raiseOnUser: true
range: 60
itemIconStyle: BigAction
sound: !type:SoundPathSpecifier
path: /Audio/Magic/rumble.ogg
icon:
sprite: _CP14/Actions/Spells/fire.rsi
state: firebolt
event: !type:CP14DelayedEntityWorldTargetActionEvent
cooldown: 1.0
breakOnMove: false
- type: entity
id: CP14RuneFirebolt
parent: CP14BaseMagicRune
categories: [ HideSpawnMenu ]
save: false
components:
- type: PointLight
color: "#eea911"
- type: Sprite
layers:
- state: medium_circle
color: "#fdda5d"
shader: unshaded
- type: entity
id: CP14ImpactEffectFirebolt
parent: CP14BaseMagicImpact
categories: [ HideSpawnMenu ]
save: false
components:
- type: Sprite
layers:
- state: wave_up
color: "#eea911"
shader: unshaded
- type: entity
id: CP14Firebolt
parent: BaseBullet
name: firebolt
categories: [ HideSpawnMenu ]
save: false
components:
- type: PointLight
color: "#E25822"
radius: 1.1
energy: 1.0
- type: Projectile
damage:
types:
Heat: 10
soundHit:
path: /Audio/Weapons/Guns/Hits/energy_metal1.ogg
- type: Sprite
sprite: _CP14/Effects/Magic/firebolt.rsi
layers:
- state: firebolt
shader: unshaded
- type: entity
parent: CP14BaseSpellScrollFire
id: CP14SpellScrollFirebolt
name: firebolt spell scroll
components:
- type: CP14SpellStorage
spells:
- CP14ActionSpellFirebolt

View File

@@ -102,6 +102,20 @@
- !type:NeedPrerequisite
prerequisite: PyrokineticT2
- type: cp14Skill
id: CP14ActionSpellFirebolt
skillUiPosition: 6, 6
tree: Pyrokinetic
icon:
sprite: _CP14/Actions/Spells/fire.rsi
state: firebolt
effects:
- !type:AddAction
action: CP14ActionSpellFirebolt
restrictions:
- !type:NeedPrerequisite
prerequisite: PyrokineticT2
# T3
- type: cp14Skill

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 B

View File

@@ -5,7 +5,7 @@
"y": 32
},
"license": "All right reserved",
"copyright": "Created by .kreks., tiefling_revenge, fire_music by TheShuEd",
"copyright": "Created by .kreks., tiefling_revenge, fire_music by TheShuEd, firebolt by TheShuEd + edited by firebat4321",
"states": [
{
"name": "fire_music"
@@ -21,6 +21,9 @@
},
{
"name": "heat"
},
{
"name": "firebolt"
}
]
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 583 B

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-4.0",
"copyright": "Created by /tg/station, edited by firebat4321",
"states": [
{
"name": "firebolt"
}
]
}