After abandoning SourcePawn for quite some time, I decided to give it a shot again. Felt responsible for this plugin, as in my opinion it's code was a mess. It also had restrictions (only adding custom attributes to "starting" weapons).
Anyway, here's an update:
- Now uses TF2Items_OnGiveNamedItem_Post. Full code overhaul and simplification.
- Can add Custom Attributes to any weapons, not just the ones that the boss spawns with.
Please go to the first post to grab an updated version and see how it's used.
Warning: Version 2.0 is not compatible with it's original config structure. If you want to update, please make sure to update all of your boss configs as well.
----
I'm still rusty in SP, so I could have overseen some major issues, though after testing this for some time I didn't encounter anything strange. Will probably be around for a few weeks/months, so if you stumple upon any bugs, please be sure to report them here. Literally the first thing I did in SourcePawn in a long time, so please don't yell at me.