Raised This Month: $ Target: $400
 0% 

FF2 Freak Fortress 2 1.10.14 Released


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Eggman
Senior Member
Join Date: Jan 2010
Old 04-11-2014 , 17:16   Re: Freak Fortress 2 1.9.3 Released (and 1.10.0 betas)
Reply With Quote #11

freak_fortress_2.sp line 7378 procedure UseAbility:
Code:
			new Float:angles[3];
			GetClientEyeAngles(Boss[client], angles);
			if(angles[0]<-45.0)
			{
				Call_PushCell(3);
				Call_Finish(action);
				new Handle:data;
				CreateDataTimer(0.1, Timer_UseBossCharge, data);
				WritePackCell(data, client);
				WritePackCell(data, slot);
				WritePackFloat(data, -1.0*GetAbilityArgumentFloat(client, plugin_name, ability_name, 2, 5.0));
				ResetPack(data);
			}
			else
			{
				Call_PushCell(0);
				Call_Finish(action);
				BossCharge[client][slot]=0.0;
			}
I have no idea why it prevents Boss release charge abilities when angles[0]<-45.0, but this is bad and this makes a problems to make new charge abilities.
Cnarge abilities doesn't work when Boss looking up. So, it sould be replaced with
Code:
			Call_PushCell(3);
			Call_Finish(action);
			new Handle:data;
			CreateDataTimer(0.1, Timer_UseBossCharge, data);
			WritePackCell(data, client);
			WritePackCell(data, slot);
			WritePackFloat(data, -1.0*GetAbilityArgumentFloat(client, plugin_name, ability_name, 2, 5.0));
			ResetPack(data);
Eggman is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode