add ion's fix for BattleActionX10Packet crashing client

- add blizzara spell lua
This commit is contained in:
Tahir Akhlaq 2017-08-26 06:47:07 +01:00
parent 9024f3fad6
commit 1ae15df64c
9 changed files with 33 additions and 27 deletions

View file

@ -78,7 +78,7 @@ namespace FFXIVClassic.Common
public static float GetAngle(float x, float z, float x2, float z2)
{
var angle = (float)Math.Atan((z2 - z) / (x2 - x));
var angle = (float)(Math.Atan((z2 - z) / (x2 - x)) * - Math.PI);
return x > x2 ? angle + (float)Math.PI : angle;
}