Wizard Touch Spells (Smite, Cluwne's Curse, Slippery Slope) (#34531)
* Renames Smite Spells yml to Touch Spells and Renames Smite Spells region to the same * Adds wizard clothes requirement to Smite. Adds Cluwne spell. Adds EnsureCompOnTouchSpellEvent and implements it in the magicsystem * Adds Smite and Cluwne to the grimore and loc for them * Adds Slippery Slope spell and SlipOnCollide * Adds handled for comp spell event * Removes super slippery * Removes EnsureCompOnTouchSpell it was redundant with ChangeComponentsSpellEvent * Makes requirement-free action for smite * checks if we should be slipping what we touch * Removes SlipOnCollide, adds negative speed for steptrigger * Removes slip on collide adds negative speed for steptrigger
This commit is contained in:
@@ -26,6 +26,45 @@
|
||||
- !type:ListingLimitedStockCondition
|
||||
stock: 1
|
||||
|
||||
- type: listing
|
||||
id: SpellbookSmite
|
||||
name: spellbook-smite-name
|
||||
description: spellbook-smite-desc
|
||||
productAction: ActionSmite
|
||||
cost:
|
||||
WizCoin: 3
|
||||
categories:
|
||||
- SpellbookOffensive
|
||||
conditions:
|
||||
- !type:ListingLimitedStockCondition
|
||||
stock: 1
|
||||
|
||||
- type: listing
|
||||
id: SpellbookCluwne
|
||||
name: spellbook-cluwne-name
|
||||
description: spellbook-cluwne-desc
|
||||
productAction: ActionCluwne
|
||||
cost:
|
||||
WizCoin: 3
|
||||
categories:
|
||||
- SpellbookOffensive
|
||||
conditions:
|
||||
- !type:ListingLimitedStockCondition
|
||||
stock: 1
|
||||
|
||||
- type: listing
|
||||
id: SpellbookSlip
|
||||
name: spellbook-slip-name
|
||||
description: spellbook-slip-desc
|
||||
productAction: ActionSlippery
|
||||
cost:
|
||||
WizCoin: 2
|
||||
categories:
|
||||
- SpellbookOffensive
|
||||
conditions:
|
||||
- !type:ListingLimitedStockCondition
|
||||
stock: 1
|
||||
|
||||
# Defensive
|
||||
- type: listing
|
||||
id: SpellbookForceWall
|
||||
|
||||
@@ -515,7 +515,7 @@
|
||||
- type: MobStateActions
|
||||
actions:
|
||||
Alive:
|
||||
- ActionSmite
|
||||
- ActionSmiteNoReq
|
||||
Critical:
|
||||
- ActionCritSuccumb
|
||||
- ActionCritFakeDeath
|
||||
|
||||
@@ -136,7 +136,7 @@
|
||||
- state: overlay_blood
|
||||
- type: Spellbook
|
||||
spellActions:
|
||||
ActionSmite: -1
|
||||
ActionSmiteNoReq: -1
|
||||
|
||||
- type: entity
|
||||
id: KnockSpellbook
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
- type: entity
|
||||
id: ActionSmite
|
||||
name: Smite
|
||||
description: Instantly gibs a target.
|
||||
components:
|
||||
- type: EntityTargetAction
|
||||
useDelay: 60
|
||||
itemIconStyle: BigAction
|
||||
whitelist:
|
||||
components:
|
||||
- Body
|
||||
canTargetSelf: false
|
||||
interactOnMiss: false
|
||||
sound: !type:SoundPathSpecifier
|
||||
path: /Audio/Magic/disintegrate.ogg
|
||||
icon:
|
||||
sprite: Objects/Magic/magicactions.rsi
|
||||
state: gib
|
||||
event: !type:SmiteSpellEvent
|
||||
speech: action-speech-spell-smite
|
||||
83
Resources/Prototypes/Magic/touch_spells.yml
Normal file
83
Resources/Prototypes/Magic/touch_spells.yml
Normal file
@@ -0,0 +1,83 @@
|
||||
- type: entity
|
||||
id: ActionSmite
|
||||
name: Smite
|
||||
description: Instantly gibs a target.
|
||||
components:
|
||||
- type: EntityTargetAction
|
||||
useDelay: 90
|
||||
itemIconStyle: BigAction
|
||||
whitelist:
|
||||
components:
|
||||
- Body
|
||||
canTargetSelf: false
|
||||
interactOnMiss: false
|
||||
sound: !type:SoundPathSpecifier
|
||||
path: /Audio/Magic/disintegrate.ogg
|
||||
icon:
|
||||
sprite: Objects/Magic/magicactions.rsi
|
||||
state: gib
|
||||
event: !type:SmiteSpellEvent
|
||||
speech: action-speech-spell-smite
|
||||
- type: Magic
|
||||
requiresClothes: true
|
||||
|
||||
# For the Snail
|
||||
- type: entity
|
||||
id: ActionSmiteNoReq
|
||||
parent: ActionSmite
|
||||
name: Smite
|
||||
description: Instantly gibs a target.
|
||||
components:
|
||||
- type: Magic
|
||||
|
||||
- type: entity
|
||||
id: ActionCluwne
|
||||
name: Cluwne's Curse
|
||||
description: Turns someone into a Cluwne!
|
||||
components:
|
||||
- type: EntityTargetAction
|
||||
useDelay: 120
|
||||
itemIconStyle: BigAction
|
||||
whitelist:
|
||||
components:
|
||||
- Body
|
||||
canTargetSelf: false
|
||||
interactOnMiss: false
|
||||
sound: !type:SoundPathSpecifier
|
||||
path: /Audio/Items/brokenbikehorn.ogg
|
||||
icon:
|
||||
sprite: Clothing/Mask/cluwne.rsi
|
||||
state: icon
|
||||
event: !type:ChangeComponentsSpellEvent
|
||||
speech: action-speech-spell-cluwne
|
||||
toAdd:
|
||||
- type: Cluwne
|
||||
- type: Magic
|
||||
requiresClothes: true
|
||||
|
||||
- type: entity
|
||||
id: ActionSlippery
|
||||
name: Slippery Slope
|
||||
description: Make someone slippery.
|
||||
components:
|
||||
- type: EntityTargetAction
|
||||
useDelay: 60
|
||||
itemIconStyle: BigAction
|
||||
whitelist:
|
||||
components:
|
||||
- Body
|
||||
canTargetSelf: false
|
||||
interactOnMiss: false
|
||||
sound: !type:SoundPathSpecifier
|
||||
path: /Audio/Effects/slip.ogg
|
||||
icon:
|
||||
sprite: Objects/Specific/Janitorial/soap.rsi
|
||||
state: omega-4
|
||||
event: !type:ChangeComponentsSpellEvent
|
||||
speech: action-speech-spell-slip
|
||||
toAdd:
|
||||
- type: Slippery
|
||||
- type: StepTrigger
|
||||
requiredTriggeredSpeed: -1
|
||||
- type: Magic
|
||||
requiresClothes: true
|
||||
Reference in New Issue
Block a user