I don't know if this is the best method or the correct one, but tell me if it work and if this is what you want:
Code:
#include <amxmodx>
#include <hamsandwich>
#define PLUGIN "Increase Damage by Porcent"
#define AUTHOR "Alucard"
#define VERSION "0.0.1"
#define PORCENT 50
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
RegisterHam(Ham_TakeDamage, "player", "FwdTakeDamage");
}
public FwdTakeDamage(id, iInflictor, iAttacker, Float:fDamage, iDamagebits)
{
new Float:fResult = (fDamage * PORCENT) / 100;
fDamage += fResult;
SetHamParamFloat(4, fDamage);
return HAM_HANDLED;
}
This should take the 50% of the damage, and then increase that porcent to the default damage.
__________________