Yeah.
I was creating a boss who can shoot a pumpkin, but I can't find that rage in ff2_witchdoctor. So I borrow its code and modify it. (Im sorry.)
AMS is supported.
Usage:
Code:
"ability6"
{
"name" "rage_pump"
"arg1" "1" // trigger. 0 = E rage, 1 = triggered by ability management system
// args reserved for the ability management system
"arg1001" "5.0" // delay before first use
"arg1002" "0.0" // cooldown
"arg1003" "Pumpkin" // name
"arg1004" "Shoot a pumpkin bomb" // description
"arg1005" "5.0" // rage cost
"arg1006" "1" // index for ability in the AMS menu
"plugin_name" "ff2_spellpump"
}
The pumpkin can be destoryed by enemy. To detonate it either you shoot it with your gun(if you have one) or melee it(that hurts)
Rename .smx to .ff2
Edit: you can also shoot the pumpkin directly to the enemy to detonate it.