Did a number of bug fixes today...
Fixes:- Saying 'sethat' to remove your hat correctly works again.
- PermaClothes should be working correctly again (regarding hats).
- You cannot hit yourself with arrows and other projectiles (thrown things) anymore.
- Damage from projectile hits is correctly reflected in the players HP.
- Projectiles no longer kill you from high HP (related to the above).
- After dying from a projectile hit, players now respawn with the correct health (instead of 0.5).
- Saints (players with 100AP) are correctly protected from projectiles.
- Projectiles now correctly injure saints in GC event levels. Before, the bugs with projectiles meant that saints could sometimes have an advantage.
- Players now drop gelat (rupees) and bomb/bow ammo when dying. Before it only dropped from projectile deaths. Items wont drop in spar rooms or some GC events.
- Players with over 98AP are dropped to 98 if they attack a fort. This is to prevent saints from easily taking the flag.
- Turning on the lantern no longer displays the last item you carried over your head. (This was surprisingly hard to fix!)
Known New Issues:- You might recoil in a funny direction after a projectile hit. This will be fixed in due time.
- The lantern appears in a slightly wrong position, and may be cut in half. As far as I know, that was a problem before I made the fixes above.