Game server/skill system: implemented "Curse Refraction" as per official skill description (untested).
Merge branch 'master' of https://github.com/twostars/snoxd-koserver
Game server: removed the date/time config, fixed time update logic to avoid it behaving as its own extremely buggy clock/calendar.
Game server: user rankings (i.e. NP symbols) & clan grades are now reloaded at the start of each day. Resolves #214.
Game server: implemented support for the "CONT Recovery" item. If a user has this item when leaving/being removed from a clan, all of their donated NP will be refunded (as opposed to just 30%). Resolves #234.
AI server: removed unused method CNpc::ToTargetMove().
AI server: IsCloseTarget() (that is, IsCloseTarget(nRange, Flag) -- NOT the other one that serves a different purpose) now returns a more meaningful value.
AI server: removed the now-useless nAttackType arg from CNpc::SetDamage().
Game server: implemented zone checks for the main zones. Closing #256 as the rest depends on event logic.
Game server: as per the older official code, we give increased damage in war zones (there's nothing more to it in these files. Unsure if the '3 wars in a row' logic was ever *actually* implemented officially, as that's been touted throughout KE as well -- which the code disagrees with). Closes #240.
Game server/skill system: debuffs should now "stack" (i.e. reset the expiry time each time they're applied). Resolves #248.
Game server/skill system: removed the explicit region checks from CMagicProcess::UserRegionCheck() as it accepts units from surrounding regions. Also cleaned up the range check.
AI server: implemented a crude casting state for delayed casting of skills (e.g. guard tower arrows), instead of blocking the thread (still needs to be rewritten though).
Game server: fixed a typo with RLB's max level requirement. Closse #268.
Shared/config: INI files are now saved universally without a carriage return (all for Notepad! Traitor!).
AI server: corrected the return types of CNpc::Attack() & CNpc::LongAndMagicAttack().
AI server: target ID's now correctly set when AI must wait on a casting animation; resolves #269.
Game server: players now respawn near the Arena NPC when they die in one of the Moradon arenas. Resolves #266.
Game server: updated Moradon arena respawn coords to center on the official respawn point (which isn't actually randomly placed officially, but nevermind).
Game server: players are now kicked out of zones they no longer meet the level requirements for.