Skip to content

Commit

Permalink
adding intermediate level 9
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanb committed Jun 6, 2010
1 parent 9c3b8a2 commit 5c6e632
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rdoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
* Adding intermediate level 9 with distance_of ability

* Adding intermediate level 8 with look and detonate abilities

* Raising an exception when performing an ability with a bad direction.
Expand Down
31 changes: 31 additions & 0 deletions towers/intermediate/level_009.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# ----
# |ssC>|
# |@sss|
# |ssC |
# ----

description "Never before have you seen a room so full of sludge. Start the fireworks!"
tip "Be careful not to let the ticking captive get caught in the flames. Use warrior.distance_of to avoid the captives."
clue "Be sure to bind the surrounding enemies before fighting. Check your health before detonating explosives."

time_bonus 70
size 4, 3
stairs 3, 0

warrior 0, 1, :east do |u|
u.add_abilities :distance_of
end

unit :captive, 2, 0, :south do |u|
u.add_abilities :explode!
u.abilities[:explode!].time = 20
end
unit :captive, 2, 2, :north

unit :sludge, 0, 0, :south
unit :sludge, 1, 0, :south
unit :sludge, 1, 1, :east
unit :sludge, 2, 1, :east
unit :sludge, 3, 1, :east
unit :sludge, 0, 2, :north
unit :sludge, 1, 2, :north

0 comments on commit 5c6e632

Please sign in to comment.