hello there!
i try to make an ability which allows you to refill some of your health when a player dies
this is the code so far:
Code:
if(FF2_HasAbility(Boss, this_plugin_name, "health_gain"))
{
new healthonkill = FF2_GetAbilityArgument(Boss,this_plugin_name,"health_gain",1,0.0);
if(healthonkill)
{
FF2_SetBossHealth(Boss, FF2_GetBossHealth(Boss) + healthonkill);
}
}
but on this line new healthonkill = FF2_GetAbilityArgument(Boss,this_plugin_name, "health_gain",1,0.0); i get the tag mismatch error, does anyone knows how to solve this?
__________________