Freak Subplugin: Temp Melee Weapon
A plugin to temporarily grant the boss a different melee weapon, and then give them back a different one at the end of the duration.
PHP Code:
"abilityX"
{
"name" "rage_tempMelee"
"arg1" "2 ; 3.0 ; 68 ; 2 ; 6 ; 0.5" //Temp melee attributes
"arg2" "saxxy" //Temp melee classname
"arg3" "1071" //Temp melee index
"arg4" "10.0" //Duration
"arg5" "2 ; 3.0 ; 68 ; 2" //Return melee attributes
"arg6" "tf_weapon_fists" //Return melee classname
"arg7" "5" //Return melee index
"plugin_name" "ff2_tempMelee"
}
Installation:
- Place ff2_tempMelee.smx in sourcemod\plugins\freaks and change the extension to .ff2
- Place ff2_tempMelee.sp in sourcemod\scripting