Add guard weapon loadouts and new electric staff (#1525)
Introduces new guard weapon loadouts including guard's sword, halberd, rapier, and a magic electric staff. Adds the 'lightning strike small' spell and related assets, updates spell damage values, and provides new modular grip and staff sprites. Updates localization, trading positions, and integrates new equipment into guard roles.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
- !type:HealthChange
|
||||
damage:
|
||||
types:
|
||||
Shock: 15
|
||||
Shock: 20
|
||||
- !type:Jitter
|
||||
- !type:CP14StaminaChange
|
||||
staminaDelta: -75
|
||||
@@ -86,10 +86,10 @@
|
||||
- !type:HealthChange
|
||||
damage:
|
||||
types:
|
||||
Shock: 5
|
||||
Shock: 10
|
||||
- !type:Jitter
|
||||
- !type:CP14StaminaChange
|
||||
staminaDelta: -15
|
||||
staminaDelta: -20
|
||||
|
||||
- type: entity
|
||||
id: CP14RuneLightningStrike
|
||||
|
||||
@@ -0,0 +1,86 @@
|
||||
- type: entity
|
||||
id: CP14ActionSpellLightningStrikeSmall
|
||||
parent: CP14ActionSpellBase
|
||||
name: Small lightning strike
|
||||
description: You charge a lightning bolt that burns a medium amount of stamina from the target.
|
||||
components:
|
||||
- type: CP14MagicEffectCastSlowdown
|
||||
speedMultiplier: 0.5
|
||||
- type: CP14MagicEffectManaCost
|
||||
manaCost: 7
|
||||
- type: CP14MagicEffect
|
||||
magicType: Energia
|
||||
effects:
|
||||
- !type:CP14SpellSpawnEntityOnTarget
|
||||
spawns:
|
||||
- CP14ElectrifiedEffect
|
||||
- !type:CP14SpellCreateBeam
|
||||
beamProto: CP14LightningStrikeSmallBeam
|
||||
- !type:CP14SpellApplyEntityEffect
|
||||
effects:
|
||||
- !type:HealthChange
|
||||
damage:
|
||||
types:
|
||||
Shock: 8
|
||||
- !type:Jitter
|
||||
- !type:CP14StaminaChange
|
||||
staminaDelta: -15
|
||||
- !type:CP14SpellThrowFromUser
|
||||
throwPower: 2
|
||||
distance: 0.5
|
||||
- type: CP14MagicEffectPacifiedBlock
|
||||
- type: Action
|
||||
icon:
|
||||
sprite: _CP14/Actions/Spells/electromancy.rsi
|
||||
state: lightning_strike_small
|
||||
- type: TargetAction
|
||||
range: 3
|
||||
- type: EntityTargetAction
|
||||
canTargetSelf: false
|
||||
event: !type:CP14EntityTargetActionEvent
|
||||
cooldown: 4
|
||||
|
||||
- type: entity
|
||||
name: lightning
|
||||
id: CP14LightningStrikeSmallBeam
|
||||
categories: [ HideSpawnMenu ]
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: /Textures/_CP14/Effects/Beams/lightning.rsi
|
||||
drawdepth: Effects
|
||||
layers:
|
||||
- state: lightning_small
|
||||
shader: unshaded
|
||||
- type: Physics
|
||||
canCollide: false
|
||||
- type: PointLight
|
||||
enabled: true
|
||||
color: "#e8ff4c"
|
||||
radius: 1.2
|
||||
softness: 1
|
||||
autoRot: true
|
||||
castShadows: false
|
||||
- type: Beam
|
||||
sound:
|
||||
collection: sparks
|
||||
- type: TimedDespawn
|
||||
lifetime: 1
|
||||
- type: LightFade
|
||||
duration: 1
|
||||
- type: Tag
|
||||
tags:
|
||||
- HideContextMenu
|
||||
- type: CP14SpellEffectOnCollide
|
||||
effects:
|
||||
- !type:CP14SpellSpawnEntityOnTarget
|
||||
spawns:
|
||||
- CP14ElectrifiedEffect
|
||||
- !type:CP14SpellApplyEntityEffect
|
||||
effects:
|
||||
- !type:HealthChange
|
||||
damage:
|
||||
types:
|
||||
Shock: 7
|
||||
- !type:Jitter
|
||||
- !type:CP14StaminaChange
|
||||
staminaDelta: -8
|
||||
@@ -191,6 +191,18 @@
|
||||
materialComposition:
|
||||
CP14Iron: 10
|
||||
|
||||
- type: entity
|
||||
parent: CP14ModularGripIron
|
||||
id: CP14ModularGripIronGuard
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/ModularTools/Grip/iron_guard_grip.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftStartPoint
|
||||
startProtoPart: CP14ModularGripIronGuard
|
||||
- type: StaticPrice
|
||||
price: 10
|
||||
|
||||
- type: entity
|
||||
parent: CP14ModularGripShort
|
||||
id: CP14ModularGripGolden
|
||||
|
||||
@@ -108,6 +108,24 @@
|
||||
- type: StaticPrice
|
||||
price: 300
|
||||
|
||||
- type: entity
|
||||
id: CP14MagicGuardElectroStaff
|
||||
parent: CP14MagicShadowStaff
|
||||
name: guards electric staff
|
||||
description: A long, half-tech, half-magic stick designed to convert magical energy into eletric spells.
|
||||
components:
|
||||
- type: CP14SpellStorage
|
||||
spells:
|
||||
- CP14ActionSpellLightningStrike
|
||||
- CP14ActionSpellLightningStrikeSmall
|
||||
- CP14ActionSpellLightningStrikeSmall
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/Weapons/Magic/TwoHandedStaff/guard_electro_staff.rsi
|
||||
- type: Clothing
|
||||
sprite: _CP14/Objects/Weapons/Magic/TwoHandedStaff/guard_electro_staff.rsi
|
||||
- type: StaticPrice
|
||||
price: 150
|
||||
|
||||
- type: entity
|
||||
id: CP14MagicDruidStaff
|
||||
parent: CP14MagicHealingStaff
|
||||
|
||||
@@ -47,6 +47,24 @@
|
||||
- CP14ModularBladeIronRapier
|
||||
- CP14ModularGardeGuildmaster
|
||||
|
||||
- type: entity
|
||||
id: CP14ModularGuardRapier
|
||||
parent: CP14ModularGripIronGuard
|
||||
name: "guard's rapier"
|
||||
description: The standard issue armament of the imperial guard. A short rapier adorned with blue feathers and brass.
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: icon
|
||||
- sprite: _CP14/Objects/ModularTools/Blade/Rapier/metall_rapier.rsi
|
||||
state: icon
|
||||
- sprite: _CP14/Objects/ModularTools/Garde/metall_sharp.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftAutoAssemble
|
||||
details:
|
||||
- CP14ModularBladeIronRapier
|
||||
- CP14ModularGardeSharpIron
|
||||
|
||||
- type: entity
|
||||
id: CP14ModularWoodenRapier
|
||||
parent: CP14ModularGripWooden
|
||||
|
||||
@@ -33,7 +33,25 @@
|
||||
id: CP14ModularGuardHalberd
|
||||
parent: CP14ModularGripIronLongGuard
|
||||
name: "guard's halberd"
|
||||
description: The standard issue armament of the imperial guard. A long iron halberd adorned with blue feathers and brass
|
||||
description: The standard issue armament of the imperial guard. A long iron halberd adorned with blue feathers and brass.
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: icon
|
||||
- sprite: _CP14/Objects/ModularTools/Blade/Sword/metall_sword.rsi
|
||||
state: icon
|
||||
- sprite: _CP14/Objects/ModularTools/Garde/metall_sharp.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftAutoAssemble
|
||||
details:
|
||||
- CP14ModularBladeIronSword
|
||||
- CP14ModularGardeSharpIron
|
||||
|
||||
- type: entity
|
||||
id: CP14ModularGuardSword
|
||||
parent: CP14ModularGripIronGuard
|
||||
name: "guard's sword"
|
||||
description: The standard issue armament of the imperial guard. A short sword adorned with blue feathers and brass.
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
|
||||
@@ -76,3 +76,46 @@
|
||||
id: CP14ClothingShirtGuardsChainmailShirtB
|
||||
equipment:
|
||||
shirt: CP14ClothingShirtGuardsChainmailShirtB
|
||||
|
||||
# Weapon
|
||||
|
||||
- type: loadoutGroup
|
||||
id: CP14GuardEquip
|
||||
name: cp14-loadout-guard-equip
|
||||
minLimit: 1
|
||||
maxLimit: 1
|
||||
loadouts:
|
||||
- CP14ModularGuardSword
|
||||
- CP14ModularGuardHalberd
|
||||
- CP14ModularGuardRapier
|
||||
- CP14BowCombat
|
||||
- CP14MagicGuardElectroStaff
|
||||
|
||||
- type: loadout
|
||||
id: CP14ModularGuardSword
|
||||
dummyEntity: CP14ModularGuardSword
|
||||
equipment:
|
||||
belt2: CP14ModularGuardSword
|
||||
skills:
|
||||
- SwordMastery
|
||||
|
||||
- type: loadout
|
||||
id: CP14MagicGuardElectroStaff
|
||||
equipment:
|
||||
belt2: CP14MagicGuardElectroStaff
|
||||
|
||||
- type: loadout
|
||||
id: CP14ModularGuardHalberd
|
||||
dummyEntity: CP14ModularGuardHalberd
|
||||
equipment:
|
||||
belt2: CP14ModularGuardHalberd
|
||||
skills:
|
||||
- SwordMastery
|
||||
|
||||
- type: loadout
|
||||
id: CP14ModularGuardRapier
|
||||
dummyEntity: CP14ModularGuardRapier
|
||||
equipment:
|
||||
belt2: CP14ModularGuardRapier
|
||||
skills:
|
||||
- RapierMastery
|
||||
|
||||
@@ -85,6 +85,7 @@
|
||||
- CP14GeneralShoes
|
||||
- CP14GeneralBack
|
||||
- CP14GeneralTrinkets
|
||||
- CP14GuardEquip
|
||||
|
||||
- type: roleLoadout
|
||||
id: JobCP14Investigator
|
||||
@@ -99,6 +100,7 @@
|
||||
- CP14GeneralShoes
|
||||
- CP14GeneralBack
|
||||
- CP14GeneralTrinkets
|
||||
- CP14GuardEquip
|
||||
|
||||
- type: roleLoadout
|
||||
id: JobCP14Guard
|
||||
@@ -113,6 +115,7 @@
|
||||
- CP14GeneralShoes
|
||||
- CP14GeneralBack
|
||||
- CP14GeneralTrinkets
|
||||
- CP14GuardEquip
|
||||
|
||||
- type: roleLoadout
|
||||
id: JobCP14Commandant
|
||||
|
||||
@@ -24,6 +24,20 @@
|
||||
- !type:NeedPrerequisite
|
||||
prerequisite: ElectromancyT1
|
||||
|
||||
- type: cp14Skill
|
||||
id: CP14ActionSpellLightningStrikeSmall
|
||||
skillUiPosition: 2, 4
|
||||
tree: Electromancy
|
||||
icon:
|
||||
sprite: _CP14/Actions/Spells/electromancy.rsi
|
||||
state: lightning_strike_small
|
||||
effects:
|
||||
- !type:AddAction
|
||||
action: CP14ActionSpellLightningStrikeSmall
|
||||
restrictions:
|
||||
- !type:NeedPrerequisite
|
||||
prerequisite: ElectromancyT1
|
||||
|
||||
# T2
|
||||
|
||||
- type: cp14Skill
|
||||
|
||||
@@ -53,3 +53,36 @@
|
||||
service: !type:CP14BuyItemsService
|
||||
product: CP14Rope
|
||||
count: 1
|
||||
|
||||
- type: cp14TradingPosition
|
||||
id: CP14MagicGuardElectroStaff
|
||||
faction: Guards
|
||||
uiPosition: 5
|
||||
icon:
|
||||
sprite: _CP14/Objects/Weapons/Magic/TwoHandedStaff/guard_electro_staff.rsi
|
||||
state: icon
|
||||
service: !type:CP14BuyItemsService
|
||||
product: CP14MagicGuardElectroStaff
|
||||
count: 1
|
||||
|
||||
- type: cp14TradingPosition
|
||||
id: CP14ModularGripIronGuard
|
||||
faction: Guards
|
||||
uiPosition: 6
|
||||
icon:
|
||||
sprite: _CP14/Objects/ModularTools/Grip/iron_guard_grip.rsi
|
||||
state: icon
|
||||
service: !type:CP14BuyItemsService
|
||||
product: CP14ModularGripIronGuard
|
||||
count: 1
|
||||
|
||||
- type: cp14TradingPosition
|
||||
id: CP14ModularGripIronLongGuard
|
||||
faction: Guards
|
||||
uiPosition: 7
|
||||
icon:
|
||||
sprite: _CP14/Objects/ModularTools/GripLong/iron_grip_long_guard.rsi
|
||||
state: icon
|
||||
service: !type:CP14BuyItemsService
|
||||
product: CP14ModularGripIronLongGuard
|
||||
count: 1
|
||||
|
||||
Reference in New Issue
Block a user