fixed bool "isRanged" and "isMagic" for proper returns