Projectile spells + fireball spell (#9058)

* Projectile spells + fireball spell

* say it with some gumption
This commit is contained in:
Kara
2022-06-23 03:24:50 -07:00
committed by GitHub
parent d3233d90af
commit cc755a2051
29 changed files with 231 additions and 3 deletions

View File

@@ -63,3 +63,17 @@
- type: Spellbook
instantSpells:
Knock: -1
- type: entity
id: FireballSpellbook
name: fireball spellbook
parent: BaseSpellbook
components:
- type: Sprite
netsync: false
sprite: Objects/Magic/spellbooks.rsi
layers:
- state: bookfireball
- type: Spellbook
worldSpells:
Fireball: -1

View File

@@ -0,0 +1,17 @@
- type: entity
id: ProjectileFireball
name: fireball
description: You better GITTAH WEIGH.
parent: BulletRocket
noSpawn: true
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/magic.rsi
layers:
- state: fireball
- type: Explosive
explosionType: Default
maxIntensity: 40
intensitySlope: 6
totalIntensity: 200
maxTileBreak: 0

View File

@@ -0,0 +1,17 @@
- type: worldTargetAction
id: Fireball
name: action-name-spell-fireball
description: action-description-spell-fireball
useDelay: 30
speech: action-speech-spell-fireball
itemIconStyle: BigAction
checkCanAccess: false
range: 60
sound: !type:SoundPathSpecifier
path: /Audio/Magic/fireball.ogg
icon:
sprite: Objects/Magic/magicactions.rsi
state: fireball
serverEvent: !type:ProjectileSpellEvent
prototype: ProjectileFireball
posData: !type:TargetCasterPos