# Source URL: https://dev.epicgames.com/community/learning/tutorials/v7d9/fortnite-buff-or-nerf-weapons-damage-updated-auto-apply-clear-damage-amplifier-powerups-while-holding-a-specific-weapon-multi-weapon-multi-player-requires-only-one-power-up
# Local doc: verse-cortex-epic-docs/community/learning/tutorials/v7d9/fortnite-buff-or-nerf-weapons-damage-updated-auto-apply-clear-damage-amplifier-powerups-while-holding-a-specific-weapon-multi-weapon-multi-player-requires-only-one-power-up.md
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /Fortnite.com/Characters }
<##########################################################################################################################
###########################################---- CREATED BY EGGOH_FN ----#################################################
###########################################---- DISCORD eggoh_fn ----#################################################
* Version = 1.02
* This code manages the applying and clearing of powerups based on if a player is holding a specific item or not,
it can be used for any powerup but was designed with the damage amplifier As a main use case.
* This device uses an array of structs to allow for multiple different items to be checked for at the same time,
each weapon has its own settings to nerf or buff a weapons damage and a conditional button.
* This device requires only one instance of the damage amplifier to be placed in the level to work,
and can check for as many different items as needed, just add them to the array in the details panel.
* Make sure to set the powerup to infinite duration and 0 respawn time for best results,
also make sure to connect the PowerUps clear Function to the clear trigger,
this will ensure the powerup is cleared when switching away from the weapon or dropping it.
* If you want to use this for a different powerup other than the damage amplifier,
simply change the type of the powerup in the weapon struct and set up the desired powerup settings.
###########################################################################################################################
DAMAGE AMPLIFIER SETUP-SETTINGS:
* DAMAGE MULTIPLIER -> THIS WILL BE OVERRIDEN BY THE VALUE YOU SET FOR EACH WEAPON.
* INFINITE EFFECT DURATION -> MAKE SURE THIS IS SET TO ON/TRUE
* RESPAWN -> MAKE SURE THIS IS SET TO ON/TRUE
Verse Libraryverse
01 Snippet
Manages damage amplifier powerups, automatically applying or clearing buffs and nerfs based on the specific weapon a player is currently holding.
extracted-snippets/community/learning/tutorials/v7d9/fortnite-buff-or-nerf-weapons-damage-updated-auto-apply-clear-damage-amplifier-powerups-while-holding-a-specific-weapon-multi-weapon-multi-player-requires-only-one-power-up/01-snippet.verse
Sign in free to read the full source 🌴
This Verse Library file is members-only. Create a free account to view the complete source and download the .verse file.