fix: inline LocalizationOverride + simplified Iconic structure
- Moved localization into the same YAML (LocalizationOverride block) - Removed separate JSON localization file - Simplified OnAttach (empty array, stats via statModifiers only) - UIData directly on the mod record - Still: 100% armor pen, 100% bleed, legendary quality
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
# Crystal Blades — Kristallklingen
|
# Crystal Blades — Kristallklingen
|
||||||
# Korrekte TweakXL Struktur für CP2077 2.31
|
# CP2077 2.31 — Korrekte Iconic Waffen-Definition
|
||||||
# Eine Iconic Waffe = Base Weapon + Hidden Mod (GameplayLogicPackage)
|
|
||||||
|
|
||||||
# ============================================================
|
# ============================================================
|
||||||
# WAFFE 1: Kristallschneider (Katana)
|
# WAFFE 1: Kristallschneider (Katana)
|
||||||
@@ -8,66 +7,51 @@
|
|||||||
|
|
||||||
Items.Preset_Crystal_Katana:
|
Items.Preset_Crystal_Katana:
|
||||||
$base: Items.Preset_Katana_Default
|
$base: Items.Preset_Katana_Default
|
||||||
|
|
||||||
|
# Name & Beschreibung — direkte LocKeys
|
||||||
displayName: LocKey#crystal_katana_name
|
displayName: LocKey#crystal_katana_name
|
||||||
localizedDescription: LocKey#crystal_katana_desc
|
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!)
|
# Legendary Qualität
|
||||||
mods:
|
quality: Quality.Legendary
|
||||||
|
|
||||||
|
# Iconic hidden mod
|
||||||
|
mods:
|
||||||
- Items.Crystal_Katana_Mod
|
- Items.Crystal_Katana_Mod
|
||||||
|
|
||||||
# Das Hidden Mod — enthält alle Stat-Veränderungen
|
# Hidden Iconic Mod
|
||||||
Items.Crystal_Katana_Mod:
|
Items.Crystal_Katana_Mod:
|
||||||
$base: Items.IconicWeaponModAbilityBase
|
$base: Items.IconicWeaponModAbilityBase
|
||||||
statModifiers:
|
statModifiers:
|
||||||
# 100% Armor Penetration
|
|
||||||
- $type: gamedataConstantStatModifier_Record
|
- $type: gamedataConstantStatModifier_Record
|
||||||
modifierType: Additive
|
modifierType: Multiplier
|
||||||
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
|
statType: DPS
|
||||||
value: 150.0
|
value: 2.0
|
||||||
# Attack Speed
|
|
||||||
- $type: gamedataConstantStatModifier_Record
|
- $type: gamedataConstantStatModifier_Record
|
||||||
modifierType: Additive
|
modifierType: Additive
|
||||||
statType: AttackSpeed
|
statType: AttackSpeed
|
||||||
value: 0.2
|
value: 0.2
|
||||||
# Crit Chance
|
|
||||||
- $type: gamedataConstantStatModifier_Record
|
- $type: gamedataConstantStatModifier_Record
|
||||||
modifierType: Additive
|
modifierType: Additive
|
||||||
statType: CritChance
|
statType: CritChance
|
||||||
value: 15.0
|
value: 15.0
|
||||||
OnAttach:
|
- $type: gamedataConstantStatModifier_Record
|
||||||
- Items.Crystal_Katana_Package
|
modifierType: Additive
|
||||||
|
statType: CritDamage
|
||||||
# Gameplay Logic Package — Iconic Effekte
|
value: 30.0
|
||||||
Items.Crystal_Katana_Package:
|
- $type: gamedataConstantStatModifier_Record
|
||||||
$type: gamedataGameplayLogicPackage_Record
|
modifierType: Additive
|
||||||
stackable: false
|
statType: BleedingApplicationRate
|
||||||
|
value: 1.0
|
||||||
|
- $type: gamedataConstantStatModifier_Record
|
||||||
|
modifierType: Additive
|
||||||
|
statType: ArmorPenetration
|
||||||
|
value: 1.0
|
||||||
|
OnAttach: []
|
||||||
UIData:
|
UIData:
|
||||||
$type: gamedataGameplayLogicPackageUIData_Record
|
$type: gamedataGameplayLogicPackageUIData_Record
|
||||||
iconPath: icon katana
|
iconPath: ability_icon
|
||||||
localizedDescription: LocKey#crystal_katana_iconic_desc
|
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)
|
# WAFFE 2: Phantom Splitter (Wurfdolch)
|
||||||
@@ -75,11 +59,11 @@ Items.Crystal_Katana_Bleed_Effect:
|
|||||||
|
|
||||||
Items.Preset_Crystal_ThrowingKnife:
|
Items.Preset_Crystal_ThrowingKnife:
|
||||||
$base: Items.Preset_Knife_Default
|
$base: Items.Preset_Knife_Default
|
||||||
|
|
||||||
displayName: LocKey#crystal_knife_name
|
displayName: LocKey#crystal_knife_name
|
||||||
localizedDescription: LocKey#crystal_knife_desc
|
localizedDescription: LocKey#crystal_knife_desc
|
||||||
|
|
||||||
quality: Quality.Legendary
|
quality: Quality.Legendary
|
||||||
iconicName: LocKey#crystal_knife_iconic
|
|
||||||
iconicDescription: LocKey#crystal_knife_iconic_desc
|
|
||||||
|
|
||||||
mods:
|
mods:
|
||||||
- Items.Crystal_Knife_Mod
|
- Items.Crystal_Knife_Mod
|
||||||
@@ -87,52 +71,55 @@ Items.Preset_Crystal_ThrowingKnife:
|
|||||||
Items.Crystal_Knife_Mod:
|
Items.Crystal_Knife_Mod:
|
||||||
$base: Items.IconicWeaponModAbilityBase
|
$base: Items.IconicWeaponModAbilityBase
|
||||||
statModifiers:
|
statModifiers:
|
||||||
# 100% Armor Penetration
|
|
||||||
- $type: gamedataConstantStatModifier_Record
|
- $type: gamedataConstantStatModifier_Record
|
||||||
modifierType: Additive
|
modifierType: Multiplier
|
||||||
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
|
statType: DPS
|
||||||
value: 100.0
|
value: 1.8
|
||||||
# Attack Speed — sehr schnell für Wurfdolch
|
|
||||||
- $type: gamedataConstantStatModifier_Record
|
- $type: gamedataConstantStatModifier_Record
|
||||||
modifierType: Additive
|
modifierType: Additive
|
||||||
statType: AttackSpeed
|
statType: AttackSpeed
|
||||||
value: 0.5
|
value: 0.5
|
||||||
# Crit Chance — hoch für Wurfdolch
|
|
||||||
- $type: gamedataConstantStatModifier_Record
|
- $type: gamedataConstantStatModifier_Record
|
||||||
modifierType: Additive
|
modifierType: Additive
|
||||||
statType: CritChance
|
statType: CritChance
|
||||||
value: 25.0
|
value: 25.0
|
||||||
# Crit Damage
|
|
||||||
- $type: gamedataConstantStatModifier_Record
|
- $type: gamedataConstantStatModifier_Record
|
||||||
modifierType: Additive
|
modifierType: Additive
|
||||||
statType: CritDamage
|
statType: CritDamage
|
||||||
value: 50.0
|
value: 50.0
|
||||||
OnAttach:
|
- $type: gamedataConstantStatModifier_Record
|
||||||
- Items.Crystal_Knife_Package
|
modifierType: Additive
|
||||||
|
statType: BleedingApplicationRate
|
||||||
Items.Crystal_Knife_Package:
|
value: 1.0
|
||||||
$type: gamedataGameplayLogicPackage_Record
|
- $type: gamedataConstantStatModifier_Record
|
||||||
stackable: false
|
modifierType: Additive
|
||||||
|
statType: ArmorPenetration
|
||||||
|
value: 1.0
|
||||||
|
OnAttach: []
|
||||||
UIData:
|
UIData:
|
||||||
$type: gamedataGameplayLogicPackageUIData_Record
|
$type: gamedataGameplayLogicPackageUIData_Record
|
||||||
iconPath: icon knife
|
iconPath: ability_icon
|
||||||
localizedDescription: LocKey#crystal_knife_iconic_desc
|
localizedDescription: LocKey#crystal_knife_iconic_desc
|
||||||
effects:
|
|
||||||
- Items.Crystal_Knife_Bleed_Effect
|
|
||||||
|
|
||||||
Items.Crystal_Knife_Bleed_Effect:
|
# ============================================================
|
||||||
$type: gamedataEffector_Record
|
# Localization Override
|
||||||
effectorType: AddStatusEffect
|
# ============================================================
|
||||||
applicationTarget: Target
|
|
||||||
statusEffect: BaseStatusEffect.Bleeding
|
LocalizationOverride:
|
||||||
probability: 1.0
|
en-us:
|
||||||
|
crystal_katana_name: "Crystal Cleaver"
|
||||||
|
crystal_katana_desc: "A katana with a monomolecular crystal blade. Forged in the depths of Night City's black market, this weapon ignores all armor and guarantees bleeding on every strike."
|
||||||
|
crystal_katana_iconic_desc: "Monomolecular Edge: Ignores all armor. Every hit causes bleeding."
|
||||||
|
|
||||||
|
crystal_knife_name: "Phantom Splitter"
|
||||||
|
crystal_knife_desc: "A throwing knife with a monomolecular crystal edge. Designed for silent takedowns, it pierces any armor and ensures your target bleeds out."
|
||||||
|
crystal_knife_iconic_desc: "Monomolecular Edge: Ignores all armor. Every hit causes bleeding."
|
||||||
|
|
||||||
|
de-de:
|
||||||
|
crystal_katana_name: "Kristallschneider"
|
||||||
|
crystal_katana_desc: "Ein Katana mit monomolekularer Kristallklinge. Geschmiedet in den Tiefen des schwarzen Marktes von Night City, ignoriert diese Waffe alle Rüstung und garantiert Blutung bei jedem Treffer."
|
||||||
|
crystal_katana_iconic_desc: "Monomolekulare Klinge: Ignoriert alle Rüstung. Jeder Treffer verursacht Blutung."
|
||||||
|
|
||||||
|
crystal_knife_name: "Phantom Splitter"
|
||||||
|
crystal_knife_desc: "Ein Wurfdolch mit monomolekularer Kristallklinge. Konstruiert für stille Eliminierungen, durchdringt er jede Rüstung und sorgt dafür, dass dein Ziel verblutet."
|
||||||
|
crystal_knife_iconic_desc: "Monomolekulare Klinge: Ignoriert alle Rüstung. Jeder Treffer verursacht Blutung."
|
||||||
Reference in New Issue
Block a user