fireball spell

This commit is contained in:
Ed
2024-08-03 00:07:28 +03:00
parent de0d8a02b1
commit 824c676769
5 changed files with 112 additions and 4 deletions

View File

@@ -0,0 +1,90 @@
- type: entity
id: CP14ActionSpellFireball
name: Fireball
description: An effective method of destruction - an explosive fireball
components:
- type: CP14MagicEffect
manaCost: 20
effects:
- !type:CP14SpellSpawnEntityOnUser
spawns:
- CP14ImpactEffectFireball
- !type:CP14SpellProjectile
prototype: CP14Fireball
- type: CP14MagicEffectVerbalAspect
startSpeech: "Quaeso, quemdam inter vos quaero... "
endSpeech: "A pila!"
- type: CP14MagicEffectSomaticAspect
- type: CP14MagicEffectCastingVisual
proto: CP14RuneFireball
- type: WorldTargetAction
useDelay: 20
checkCanAccess: false
raiseOnUser: true
range: 60
itemIconStyle: BigAction
sound: !type:SoundPathSpecifier
path: /Audio/Magic/rumble.ogg
icon:
sprite: _CP14/Effects/Magic/spells_icons.rsi
state: fireball
event: !type:CP14DelayedWorldTargetActionEvent
delay: 3
- type: entity
id: CP14RuneFireball
parent: CP14BaseMagicRune
categories: [ HideSpawnMenu ]
components:
- type: PointLight
color: "#eea911"
- type: Sprite
layers:
- state: sun
color: "#eea911"
shader: unshaded
- state: medium_circle
color: "#fdda5d"
shader: unshaded
- type: entity
id: CP14ImpactEffectFireball
parent: CP14BaseMagicImpact
categories: [ HideSpawnMenu ]
components:
- type: Sprite
layers:
- state: wave_up
color: "#eea911"
shader: unshaded
- type: entity
id: CP14Fireball
parent: BulletRocket
name: artificial flame
categories: [ HideSpawnMenu ]
components:
- type: PointLight
color: "#E25822"
radius: 2.0
energy: 5.0
- type: Projectile
damage:
types:
Heat: 10
- type: IgnitionSource
temperature: 400
ignited: true
- type: IgniteOnCollide
fireStacks: 0.35
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/magic.rsi
layers:
- state: fireball
shader: unshaded
- type: Explosive
explosionType: FireBomb
totalIntensity: 15
intensitySlope: 1
maxIntensity: 6
canCreateVacuum: false

View File

@@ -13,10 +13,6 @@
spawns:
- CP14ImpactEffectShadowGrab
effects:
- !type:CP14SpellApplyEntityEffect
effects:
- !type:Paralyze
paralyzeTime: 0.5
- !type:CP14SpellThrowToUser
throwPower: 10
- !type:CP14SpellSpawnEntityOnTarget
@@ -36,6 +32,7 @@
state: shadow_grab
event: !type:CP14DelayedEntityTargetActionEvent
delay: 2
hidden: true
- type: entity
id: CP14ImpactEffectShadowGrab

View File

@@ -47,6 +47,24 @@
spells:
- CP14ActionSpellFlameCreation
- type: entity
id: CP14ClothingRingFireball
parent: CP14ClothingRingBase
name: conductive ring
description: A standard mana-conductive ring that allows the user to summon fireballs.
suffix: Fireball
components:
- type: Sprite
layers:
- state: brass_ring
- state: ruby_stone_small
- type: CP14SpellStorageRequireAttune
- type: CP14MagicAttuningItem
- type: CP14SpellStorageAccessWearing
- type: CP14SpellStorage
spells:
- CP14ActionSpellFireball
- type: entity
id: CP14ClothingRingCureWounds
parent: CP14ClothingRingBase

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -13,6 +13,9 @@
{
"name": "flame_creation"
},
{
"name": "fireball"
},
{
"name": "ice_dagger"
},