Quote:
Originally Posted by doroemon
hello everyone~
I try to use "ams_doability" in boss cfg,
AMS system are working , and it will cost RAGE too,
But the ability doesn't have active it...
And have these Error msg in server console:
does I CFG wrong format or plugin bug?
That's CFG in attach file
Thanks a lot!
|
Code:
char abilityName[MAXABILITYNAME];
Format(abilityName, MAXABILITYNAME, "%s%i", ABILITY);
FF2_SetBossCharge(boss, 0, FF2_GetBossCharge(boss, 0)+FF2_GetAbilityArgument(boss, this_plugin_name, abilityName, 1005));
Looks like I messed up here and needed to replace this line with:
Format(abilityName, MAXABILITYNAME, "%s%i", ABILITY, abililty);
(I should really remake this plugin when I get the chance.)
__________________