Updated main script
Updated main script

Substantial overhaul of combat system (part 1):
--Added lists of resistances, immunities, and weaknesses to Fighter class
--Added damage types to attacks
--Attacks check damage type against resistances/immunities/weaknesses:
* When resistant, attacks do half damage (minimum 1)
* when immune, attacks do no damage at all
* when weak, attacks do double damage
--Added new messages to display for each of these cases for ranged and melee attacks
So far it works fine for 'phys' (physical) and 'pierce' (arrow) attacks.  More types can be added extremely easily of course.
thorsilver/Deadly-Depths