40 is max XP.Edited By: Syn on Year 13 Day 223 13:55
If you have a 0-1 hit weapon that fires once, you gain 40 XP.
If you have a 0-2 hit weapon that fires once you gain 20 XP. If it fires twice you gain the full 40 XP.
If you have a 0-4 hit weapon that fires once you gain 10 XP. If it fires twice you gain 20 XP. If it fires thrice you gain 30 XP. If it fires all four times you gain 40 XP.
This is irrelevant to whether or not each individual shot hits or misses; if it fires you gain that XP based on the percentage of shots fired out of the total shots the weapon is capable of firing.
As the damage output is solely contingent on the weapon stats and not on character skills at this time, this effectively does consider the weapon damage output already, on the percentage scale for each weapon. As combat is still in an early testing stage and therefore is only implemented for bandits and creatures at this time and only takes minimal skills into consideration, expect the numbers to be tweaked (including XP, weapon stats, damage values..) and equations to be rewritten well before PVP combat is implemented.