Order of arguments for ContainerStore::stacks shouldn't matter. Supplying them in the correct order is error prone, and also caused a bug where equipped items would incorrectly stack.
Rename arguments again
Missing flagAsModified()
Rename variables called 'slots' to work around wrong code parsing in QT Creator.
Fix wrong skill level for spell success formula.
Projectile models are now spawned (no movement or impact yet). Refactored trap activation to apply range types properly. Handle ContinuousVFX for magic effects (note they aren't stopped yet when the effect ends)
Stop continuous VFX when the effect is no longer active.
Fix some leftover code that still calculated random magnitude per spell rather than per effect. Major cleanup of InventoryStore: Magic effects are now updated when needed, rather than cached. Also allows to get rid of 'mutable' hacks and non-const method that should be const. Play sounds and particles when equipping a permanent enchantment item.
addEffect should check effectId, not model.
Fix continuous FX getting removed instantly
Merge branch 'master' of https://github.com/zinnschlag/openmw into magic

Conflicts:
	apps/openmw/mwgui/inventoryitemmodel.cpp
Refactor NpcAnimation: get rid of delayed update (no longer required), make sure that the Animation is set up *before* the inventory store is accessed anywhere (which now triggers auto equip and animation update). Allows better tracking of magic VFX for permanent enchantments in InventoryStore.
Disable projectiles for now
Fix VFX not getting removed when an actor dies