Add user_attacks to soldiers_killed

This commit is contained in:
Andrew Tomaka 2015-04-28 14:08:07 -04:00
parent a74bb5f645
commit c9e113e312

1
app.rb
View file

@ -41,6 +41,7 @@ get '/bossfight' do
@kill_user = first_negative ? first_negative.attacker : '<strong>UNKILLED</strong>'
@soldiers_killed = user_defenses.soldiers_lost_to_date(@kill_date)
@soldiers_killed += user_attacks.soldiers_lost_to_date(@kill_date)
@contributor_attacks = user_defenses.contributor_attacks(@kill_date)
@contributor_soldiers = user_defenses.contributor_soldiers(@kill_date)