This commit is stunning for AI (AI server now supports randomly stunning mobs on lightning damage); resolves #329.
Game server/skill system: persisting skill durations are now shown correctly when relogging; refs #342.
Game server: unified the player AP calc. This also fixes a casting issue that skewed results a little (most noticeable when comparing AP at different levels); closes #325.
Game server/skill system: expiry of DOT skills should now always revert the HP bar.
Game server/quest system: implemented base support for the original, official quests. These are now used by default (as far more of them are written already). Closes #330.
Game server: implemented the XP & coin events (and the corresponding +exp_add & +money_add commands, the announcements, and the notice updates -- though not sure how the latter is officially handled post-KE). Resolves #298.
Game server/skill system: fixed a bug that would allow the effect of persistent buffs to be stacked each death; resolves #349.
Game server: clan notices are now stored in the database; resolves #343.
Game server: added more comprehensive class checks (that will probably be most usefully called via quest script).
Game server: weapon AP for weapons equipped in the left hand slot is now counted for rogues as well.
Game server/skill system: persistent buffs are now reversed for the session on logout.
Game server/skill system: crudely implemented the disabling of cooldowns when "instantly magic" is active. Unsure how official handle it, but surprisingly, this doesn't appear to break anything. Resolves #348.
Game server/skill system: you should now be able to use any "Duration Item" regardless of its ID (not the greatest of solutions, but there's *nothing* to work with). Resolves #350.
Game server: implemented experimental mockup of official(-ish) range checks on attacks; closes #337.
Game server: Power-Up Store can now be opened; resolves #346.
Game server: NPCs can now cast skills via quest scripts (CastSkill(UID, id) or pNpc:CastSkill(pUser, id)); resolves #288.
Game server: Implemented Manner Points on levelup and added GiveMannerPoints to Lua.
Merge branch 'master' of https://github.com/twostars/snoxd-koserver
Game server/Lua: Changed GiverMannerPoints to ChangeManner and corrected it taking manner instead of giving.
Game server/quest system: implemented support for NPC effects & exposed ShowEffect() to original Lua scripts. Removed some of the custom hacks (committed a tampered with set apparently) that do not belong in the quest scripts.