i need a battle script, simple click and fight thing
need it to read the info of weapons and armour from db and apply those settings to the character to result in attack and defense values for user.
I want to be able to admin the values of each weapon and armour and add enemies whom should have a base attack and defend value, and be able to equip enemies with the weapons and armour available to users (although no image is require).
i would like the battle to be javascript based so little page refeshing is needed.
Killing an enemy will give the user an item that is selected randomly from a predefined list. Also winning the fight increases a users exp and strength (value controlled by battle admin).