Bet you didn't see this one coming!
I forgot to add the check to see if a player is attacking themselves. That's all that is new in this release, but I wanted to get it out there.
Here's the entirety of the change:
Index: events/combat.rb
===================================================================
--- events/combat.rb (revision 157)
+++ events/combat.rb (working copy)
@@ -165,6 +165,9 @@
elsif not target.is_a? LivingObject
player.output "You cannot attack #{target.name}."
false
+ elsif target == player
+ player.output "You cannot attack yourself."
+ false
else
true
end
You can download it from the
usual place.