More magic (#338)

* - tweak: Magic tweaks.

* - add: Rework some spells.

* - fix: Some bugfixes.

* - tweak: Less requirements.

* - add: Loc.
This commit is contained in:
Aviu00
2024-06-08 13:01:49 +00:00
committed by GitHub
parent 4fde7aedee
commit c1fe31b63b
13 changed files with 168 additions and 84 deletions

View File

@@ -0,0 +1 @@
magic-component-missing-req = Missing Requirements! You need to wear your robe and hat!

View File

@@ -15,3 +15,5 @@ wizard-welcome = Вы - космический волшебник. Федера
wizard-no-more-threat-announcement-shuttle-call = Судя по данным наших датчиков дальнего действия, магическая угроза была устранена. Эвакуационный шаттл скоро прибудет. Время прибытия: {$time} {$units}. Вы можете отозвать его, чтобы продлить смену.
wizard-no-more-threat-announcement = Судя по данным наших датчиков дальнего действия, магическая угроза была устранена. Шаттл уже вызван.
magic-component-missing-req = Недостающие требования! Вам необходимо надеть мантию и шляпу!

View File

@@ -1,4 +1,4 @@
- type: entity
- type: entity
name: lightning
id: BaseLightning
abstract: true
@@ -60,6 +60,9 @@
castShadows: false
- type: Lightning
canArc: false
- type: Electrified
requirePower: false
ignoreInsulation: true
shockDamage: 30
- type: entity
@@ -159,3 +162,17 @@
softness: 1
autoRot: true
castShadows: false
- type: entity
name: wizard lightning
id: WizardLightning
parent: BaseLightning
noSpawn: true
components:
- type: Electrified
requirePower: false
ignoreInsulation: true
shockDamage: 40
- type: Lightning
canArc: true
lightningPrototype: WizardLightning

View File

@@ -4,8 +4,10 @@
description: This spell opens nearby doors.
noSpawn: true
components:
- type: Magic
requiresClothes: false
- type: InstantAction
useDelay: 10
useDelay: 8
itemIconStyle: BigAction
checkCanInteract: false
icon:

View File

@@ -38,8 +38,6 @@
name: Force
noSpawn: true
components:
- type: Magic
requiresClothes: true
- type: WorldTargetAction
itemIconStyle: BigAction
useDelay: 60
@@ -63,8 +61,8 @@
speech: "EL DRITCH!"
- type: VariableUseDelay
useDelay: 6
altUseDelay: 12
chargeUseDelay: 40
altUseDelay: 2
chargeUseDelay: 20
- type: entity
id: ActionFireballSpell
@@ -93,8 +91,8 @@
posData: !type:TargetCasterPos
speech: action-speech-spell-fireball
- type: VariableUseDelay
useDelay: 6
altUseDelay: 12
useDelay: 5
altUseDelay: 10
chargeUseDelay: 40
- type: entity
@@ -102,8 +100,6 @@
name: Cards
noSpawn: true
components:
- type: Magic
requiresClothes: true
- type: WorldTargetAction
itemIconStyle: BigAction
useDelay: 60
@@ -128,7 +124,7 @@
posData: !type:TargetCasterPos
speech: "SHIZO NERO!"
- type: VariableUseDelay
useDelay: 6
useDelay: 4
altUseDelay: 1
chargeUseDelay: 40
@@ -220,12 +216,10 @@
name: Cluwne Curse
noSpawn: true
components:
- type: Magic
requiresClothes: true
- type: EntityTargetAction
canTargetSelf: false
range: 2
useDelay: 400
range: 3
useDelay: 60
itemIconStyle: BigAction
icon:
sprite: Objects/Magic/magicactions.rsi
@@ -238,12 +232,10 @@
name: Banana Touch
noSpawn: true
components:
- type: Magic
requiresClothes: true
- type: EntityTargetAction
canTargetSelf: false
range: 2
useDelay: 200
range: 3
useDelay: 30
itemIconStyle: BigAction
icon:
sprite: Objects/Magic/magicactions.rsi
@@ -256,12 +248,10 @@
name: Mime Touch
noSpawn: true
components:
- type: Magic
requiresClothes: true
- type: EntityTargetAction
canTargetSelf: false
range: 2
useDelay: 200
range: 3
useDelay: 30
itemIconStyle: BigAction
icon:
sprite: Objects/Magic/magicactions.rsi
@@ -275,8 +265,6 @@
noSpawn: true
components:
- type: InstantRecall
- type: Magic
requiresClothes: true
- type: InstantAction
useDelay: 10
itemIconStyle: BigAction

View File

@@ -1,4 +1,4 @@
- type: entity
- type: entity
id: BaseScroll
parent: BaseItem
name: "Magic Scroll"
@@ -11,6 +11,7 @@
layers:
- state: scroll
- type: Scroll
learnTime: 1
useSound:
path: /Audio/White/Items/scroll/use.ogg
afterUseSound: