Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #51 from abevoelker/fix-abe

Minor cleanup of a cheater
  • Loading branch information...
commit 912616c667a8f77b39714dd5611c41cbc86029e0 2 parents de65704 + 6106452
@reedlaw reedlaw authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cheaters/abe.rb
View
4 cheaters/abe.rb
@@ -33,7 +33,7 @@ def monsters
def gods
gods = other_proxies.select {|p| p.stats[:health] > 100 or p.stats[:experience] == Infinity}
- gods.map{|p| p.instance_variable_get("@player")}
+ gods.map{|p| p.instance_variable_get(:@player)}
end
def comatize(players)
@@ -45,7 +45,7 @@ def comatize(players)
def kill(players)
players = [players] unless players.respond_to? :each
- force_kill(players | gods) # Gods must be dealt with harshly
+ force_kill(players & gods) # Gods must be dealt with harshly
(players - gods).each do |p|
begin
def p.caller_method_name; 'attack' end

0 comments on commit 912616c

Please sign in to comment.
Something went wrong with that request. Please try again.