Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding intermediate level 9

  • Loading branch information...
commit 5c6e632a7d7226615880080076bdea2e59b5811a 1 parent 9c3b8a2
@ryanb authored
Showing with 33 additions and 0 deletions.
  1. +2 −0  CHANGELOG.rdoc
  2. +31 −0 towers/intermediate/level_009.rb
View
2  CHANGELOG.rdoc
@@ -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.
View
31 towers/intermediate/level_009.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.