Abilities / upgrade_berserker
upgrade_berserker Berserker item Copy name Weapon tier 3 · class citadel_item · inherits from weapon_upgrade_t3
Deadworks (C#) Copy
pawn.AddItem("upgrade_berserker");
pawn.SellItem("upgrade_berserker"); Properties Ability values, by the name modifiers and AddModifier overrides use. Tier columns are what each upgrade adds; "scaling" is how much more the value grows with spirit power or another stat.
Property English label Value Tier 1 Provides MaxStacks Max Stacks 10 +8 TechPower Spirit Power 0 TECH_POWER WeaponPower Weapon Damage 0 WEAPON_POWER BulletResist Bullet Resist 8 +8 BULLET_ARMOR_DAMAGE_RESIST BonusClipSize Ammo AMMO_CLIP_SIZE DamageToStack Damage taken to Stack 120 AbilityCharges Charges 0 DamageDuration Duration 10 AbilityCooldown Cooldown 0 AbilityDuration Duration 0 AbilityCastDelay Cast Delay 0 AbilityCastRange Cast Range 0 ChannelMoveSpeed -1 AbilityChannelTime Channel Duration 0 AbilityResourceCost 0 WeaponPowerPerStack Weapon Damage per Stack 7 +3 AbilityUnitTargetLimit 1 AbilityPostCastDuration 0 AbilityCooldownBetweenCharge Charge Delay -1.0
Modifiers Defined inside this ability. AddModifier finds each by its scoped name.
VData _class "citadel_item" _editor 1 key {
"folder_name": "Weapon"
} _multibase 1 item [
"weapon_upgrade_t3"
] m_iItemTier "EModTier_3" m_WeaponInfo 1 key {
"m_flBulletSpeed": 10000
} m_strCSSClass "berserker" m_eAbilityType "EAbilityType_Item" m_eShopFilters "EShopFilterWeaponDamage | EShopFilterClipSize | EShopFilterDurability" m_bStartTrained true m_eItemSlotType "EItemSlotType_WeaponMod" m_strAbilityImage "file://{images}/upgrades/mods_weapon/berserker.psd" m_nUpgradeSlotCost 1 m_strAG2SourceName "item" m_strShopIconLarge "file://{images}/items/weapon/berserker.psd" m_flBossDamageScale 1 m_eAbilityActivation "CITADEL_ABILITY_ACTIVATION_PASSIVE" m_PreviewPathParticle "particles/generic/generic_arc.vpcf" m_strCastAnimGraphParam "e_GenericCast" m_vecTooltipSectionInfo 2 items [
{
"m_eAbilitySectionType": "EArea_Innate",
"m_vecSectionAttributes": [
{
"m_vecAbilityProperties": [
"BulletResist"
]
}
]
},
{
"m_vecSectionAttributes": [
{
"m_strLocString": "#upgrade_berserker_desc",
"m_vecAbilityProperties": [
"DamageToStack",
"MaxStacks",
"DamageDuration"
],
"m_vecImportantAbilityProperties": [
{
"m_strImportantProperty": "WeaponPowerPerStack"
}
]
}
]
}
] m_AutoIntrinsicModifiers 1 item [
{
"_class": "modifier_berserker",
"m_bIsHidden": true,
"m_StackModifier": {
"_class": "modifier_berserker_damage_stack",
"_my_subclass_name": "modifier_berserker_damage_stack",
"m_strMaxStackLayer": "Mods.Weapon.Berserk.Max",
"m_BuffStatusParticle": "particles/upgrades/upgrades_berserker_stacks_buff.vpcf",
"m_eHudDisplayLocation": "DISPLAY_HUD_NONE",
"m_strBerserkerStackSound": "Mods.Weapon.Berserk",
"m_BuffStatusParticleEnemy": "particles/upgrades/upgrades_berserker_stacks_buff.vpcf",
"m_strParticleStatusEffect": "",
"m_eModifierDisplayLocaiton": "MODIFIER_DISPLAY_HEALTHBAR"
},
"_my_subclass_name": "modifier_berserker",
"m_vecAutoRegisterModifierValueFromAbilityPropertyName": [
"BulletResist"
]
}
] m_strCastAnimSequenceName "ability_generic_cast" m_strSelectionNameOverride "item" m_eAbilityTargetingLocation "CITADEL_ABILITY_TARGETING_LOCATION_SELF" m_bitsChannelEnabledStateMask "MODIFIER_STATE_BUSY_WITH_ACTION" m_bitsPreCastEnabledStateMask "MODIFIER_STATE_BUSY_WITH_ACTION" m_bitsPostCastEnabledStateMask "MODIFIER_STATE_BUSY_WITH_ACTION"
History 6722–6745 changed + m_nShopVersion 0+ m_mapWeaponInfos { 1 key } {
primary =
{
m_flBulletSpeed = 10000
}
} + m_CorruptedItemInfo { 1 key } {
m_Upgrade =
{
m_vecPropertyUpgrades =
[
{
m_strBonus = "12"
m_strPropertyName = "BulletResist"
},
{
m_strBonus = "7"
m_strPropertyName = "WeaponPowerPerStack"
},
{
m_strBonus = "3"
m_strPropertyName = "MaxStacks"
m_bRoundCorruptedBonus = true
},
{
m_strBonus = "5"
m_strPropertyName = "DamageDuration"
},
]
}
} + m_sCustomStackLabel #CurrentStacks_label+ m_eDisableShopFilters EShopFilterPhysicalAdditionalDamage+ m_strDisableItemTarget ""+ m_vecTooltipSectionInfo [0] .m_vecSectionAttributes [0] .m_vecElevatedAbilityProperties []+ m_eAdditionalShopFilters EShopFilterWeaponDamage− m_WeaponInfo { 1 key } {
m_flBulletSpeed = 10000
} − m_eShopFilters EShopFilterWeaponDamage | EShopFilterClipSize | EShopFilterDurability− m_nUpgradeSlotCost 1− m_strCastAnimGraphParam e_GenericCastShow 2 more 6696–6701 first dumped