private static void Game_OnUpdate(EventArgs args) { if (_Player.IsDead) { return; } DodgeManager.HandleDodging(); }
private static void Game_OnUpdate(EventArgs args) { if (_Player.IsDead) { return; } /*foreach(SpellInfo inf in SpellDatabase.activeSpells) * { * if(inf.missile != null) * { * if(inf.missilePosTest.Distance(inf.missile) <= 50) * { * inf.missilePosTest = inf.missile.Position; * } * else * { * Chat.Print(inf.oldTarget.Name + "|" + inf.missile.Target.Name); * } * } * }*/ DodgeManager.HandleDodging(); }
private static void Main(string[] args) { DodgeManager.Initialize(); Loading.OnLoadingComplete += Loading_OnLoadingComplete; Loading.OnLoadingComplete += MenuHandler.Loading_OnLoadingComplete; }