View Single Post
Batfoxkid
Senior Member
Join Date: Nov 2018
Location: ''On the map''
Old 12-03-2019 , 12:26   Re: Bat's Collection of Stuff
Reply With Quote #7

Quote:
Originally Posted by doroemon View Post
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.)
__________________
Batfoxkid is offline