Im basically just reinventing the Wheel, but I've found the Original Lifeloss to be quite boring, so thats why i made This!
The Normal FF2 Lifeloss would just Refill the Bossbar instantly, this Plugin sets your HP to 1 when you would normally Die (invulnerability), and then Smoothly Regenerates your Health back to Max Health.
EDIT: NOW FEATURING A FAKE ROUNDEND!
>
Example Video with the Fake Roundend
As of now, BatFox updated Unofficial FF2 to Update Healthbar with FF2_SetBossHealth, this Ability no longer requires a different version or the Fix stated before.
(You need the latest version of FF2Bat though)
Usage:
Code:
"abilityX"
{
"name" "lifeloss_regen"
"arg1" "Int for lives" // 1 = 0 refills, 2 = 1 refills, etc.
"arg2" "0" // 0 = No Attacking but Moving, 1 = Complete Freeze including Attacking, 2 and above = No Impairment
"arg3" "3.0" // Time in s after which it starts Refilling Health
"arg4" "0" // Enable Fake End
"arg5" "path/to/sound/" // if arg4 enabled, Path to sound triggered after full refill (i.e freak_fortress_2/hale/file.mp3)
"arg6" "path/to/sound/" // if arg4 enabled, Path to sound triggered after health sinks to 1
"arg7" "path/to/sound/" // if arg4 enabled, Path to sound triggered after Players are Respawned
"plugin_name" "mmHealthRefill"
}
An Example with 3 Lives can be Found here
Changelog:
- 1.0.1: Added Arg2. Refill Impairment selection.
- 1.0.2: Removed FF2_HPBarUpdate call, as its unnecessary in FF2Bats latest update
- 1.0.3: Added Fake Roundend
- 1.0.4: More Sound Support
- 1.0.5: Fixed Mistake causing Sounds to not get Precached
- 1.0.6: Fixed another Mistake causing sounds to not get Precached
If you encounter any bugs or some things dont work correctly let me know!