a0819cd338
- Use on existing weapons (Katana_Default, Knife_Default) - Add hidden IconicWeaponModAbilityBase with statModifiers - GameplayLogicPackage with OnAttach for 100% bleed effect - Correct stat types: ArmorPenetration, BleedingApplicationRate - Proper annotations for all records
138 lines
4.1 KiB
YAML
138 lines
4.1 KiB
YAML
# Crystal Blades — Kristallklingen
|
|
# Korrekte TweakXL Struktur für CP2077 2.31
|
|
# Eine Iconic Waffe = Base Weapon + Hidden Mod (GameplayLogicPackage)
|
|
|
|
# ============================================================
|
|
# WAFFE 1: Kristallschneider (Katana)
|
|
# ============================================================
|
|
|
|
Items.Preset_Crystal_Katana:
|
|
$base: Items.Preset_Katana_Default
|
|
displayName: LocKey#crystal_katana_name
|
|
localizedDescription: LocKey#crystal_katana_desc
|
|
quality: Quality.Legendary
|
|
iconicName: LocKey#crystal_katana_iconic
|
|
iconicDescription: LocKey#crystal_katana_iconic_desc
|
|
|
|
# Hidden Iconic Mod (das ist der Schlüssel!)
|
|
mods:
|
|
- Items.Crystal_Katana_Mod
|
|
|
|
# Das Hidden Mod — enthält alle Stat-Veränderungen
|
|
Items.Crystal_Katana_Mod:
|
|
$base: Items.IconicWeaponModAbilityBase
|
|
statModifiers:
|
|
# 100% Armor Penetration
|
|
- $type: gamedataConstantStatModifier_Record
|
|
modifierType: Additive
|
|
statType: ArmorPenetration
|
|
value: 1.0
|
|
# 100% Bleed Chance
|
|
- $type: gamedataConstantStatModifier_Record
|
|
modifierType: Additive
|
|
statType: BleedingApplicationRate
|
|
value: 1.0
|
|
# Damage Bonus
|
|
- $type: gamedataConstantStatModifier_Record
|
|
modifierType: Additive
|
|
statType: DPS
|
|
value: 150.0
|
|
# Attack Speed
|
|
- $type: gamedataConstantStatModifier_Record
|
|
modifierType: Additive
|
|
statType: AttackSpeed
|
|
value: 0.2
|
|
# Crit Chance
|
|
- $type: gamedataConstantStatModifier_Record
|
|
modifierType: Additive
|
|
statType: CritChance
|
|
value: 15.0
|
|
OnAttach:
|
|
- Items.Crystal_Katana_Package
|
|
|
|
# Gameplay Logic Package — Iconic Effekte
|
|
Items.Crystal_Katana_Package:
|
|
$type: gamedataGameplayLogicPackage_Record
|
|
stackable: false
|
|
UIData:
|
|
$type: gamedataGameplayLogicPackageUIData_Record
|
|
iconPath: icon katana
|
|
localizedDescription: LocKey#crystal_katana_iconic_desc
|
|
effects:
|
|
- Items.Crystal_Katana_Bleed_Effect
|
|
|
|
# 100% Bleed Effekt bei jedem Treffer
|
|
Items.Crystal_Katana_Bleed_Effect:
|
|
$type: gamedataEffector_Record
|
|
effectorType: AddStatusEffect
|
|
applicationTarget: Target
|
|
statusEffect: BaseStatusEffect.Bleeding
|
|
probability: 1.0
|
|
|
|
# ============================================================
|
|
# WAFFE 2: Phantom Splitter (Wurfdolch)
|
|
# ============================================================
|
|
|
|
Items.Preset_Crystal_ThrowingKnife:
|
|
$base: Items.Preset_Knife_Default
|
|
displayName: LocKey#crystal_knife_name
|
|
localizedDescription: LocKey#crystal_knife_desc
|
|
quality: Quality.Legendary
|
|
iconicName: LocKey#crystal_knife_iconic
|
|
iconicDescription: LocKey#crystal_knife_iconic_desc
|
|
|
|
mods:
|
|
- Items.Crystal_Knife_Mod
|
|
|
|
Items.Crystal_Knife_Mod:
|
|
$base: Items.IconicWeaponModAbilityBase
|
|
statModifiers:
|
|
# 100% Armor Penetration
|
|
- $type: gamedataConstantStatModifier_Record
|
|
modifierType: Additive
|
|
statType: ArmorPenetration
|
|
value: 1.0
|
|
# 100% Bleed Chance
|
|
- $type: gamedataConstantStatModifier_Record
|
|
modifierType: Additive
|
|
statType: BleedingApplicationRate
|
|
value: 1.0
|
|
# Damage Bonus
|
|
- $type: gamedataConstantStatModifier_Record
|
|
modifierType: Additive
|
|
statType: DPS
|
|
value: 100.0
|
|
# Attack Speed — sehr schnell für Wurfdolch
|
|
- $type: gamedataConstantStatModifier_Record
|
|
modifierType: Additive
|
|
statType: AttackSpeed
|
|
value: 0.5
|
|
# Crit Chance — hoch für Wurfdolch
|
|
- $type: gamedataConstantStatModifier_Record
|
|
modifierType: Additive
|
|
statType: CritChance
|
|
value: 25.0
|
|
# Crit Damage
|
|
- $type: gamedataConstantStatModifier_Record
|
|
modifierType: Additive
|
|
statType: CritDamage
|
|
value: 50.0
|
|
OnAttach:
|
|
- Items.Crystal_Knife_Package
|
|
|
|
Items.Crystal_Knife_Package:
|
|
$type: gamedataGameplayLogicPackage_Record
|
|
stackable: false
|
|
UIData:
|
|
$type: gamedataGameplayLogicPackageUIData_Record
|
|
iconPath: icon knife
|
|
localizedDescription: LocKey#crystal_knife_iconic_desc
|
|
effects:
|
|
- Items.Crystal_Knife_Bleed_Effect
|
|
|
|
Items.Crystal_Knife_Bleed_Effect:
|
|
$type: gamedataEffector_Record
|
|
effectorType: AddStatusEffect
|
|
applicationTarget: Target
|
|
statusEffect: BaseStatusEffect.Bleeding
|
|
probability: 1.0 |