Make energy sword reflect projectiles and hitscan shots (#14029)

This commit is contained in:
Slava0135
2023-04-02 16:48:32 +03:00
committed by GitHub
parent b8014bc8af
commit 6412289334
16 changed files with 517 additions and 272 deletions

View File

@@ -50,7 +50,7 @@
icon: { sprite: /Textures/Objects/Weapons/Melee/e_sword.rsi, state: icon }
productEntity: EnergySword
cost:
Telecrystal: 6
Telecrystal: 8
categories:
- UplinkWeapons

View File

@@ -2,7 +2,7 @@
name: energy sword
parent: BaseItem
id: EnergySword
description: Very loud and very dangerous. Can be stored in pockets when turned off.
description: Very loud and very dangerous energy sword that can reflect shots. Can be stored in pockets when turned off.
components:
- type: EnergySword
litDamageBonus:
@@ -51,6 +51,11 @@
shader: unshaded
- type: DisarmMalus
malus: 0
- type: Reflect
enabled: false
energeticChance: 0.5
kineticChance: 0.25
spread: 45
- type: entity
name: pen