mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 05:24:34 +02:00
add ion's fix for BattleActionX10Packet crashing client
- add blizzara spell lua
This commit is contained in:
parent
9024f3fad6
commit
1ae15df64c
9 changed files with 33 additions and 27 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue