Damage type is defined as how damage is done to the enemy, and also to the player. There are 4 damage types in AdventureQuest: Melee, Ranged, Magic, and no type.
When the player strikes the enemy with a weapon directly and from close range.
When the player attacks with a projectile weapon such as a bow or spear from a further range than that of Melee weapons.
When the player casts a magical spell or does something involving the mystical part of the game.