Skip to content

Commit 5c6e632

Browse files
committed
adding intermediate level 9
1 parent 9c3b8a2 commit 5c6e632

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

CHANGELOG.rdoc

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
* Adding intermediate level 9 with distance_of ability
2+
13
* Adding intermediate level 8 with look and detonate abilities
24

35
* Raising an exception when performing an ability with a bad direction.

towers/intermediate/level_009.rb

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# ----
2+
# |ssC>|
3+
# |@sss|
4+
# |ssC |
5+
# ----
6+
7+
description "Never before have you seen a room so full of sludge. Start the fireworks!"
8+
tip "Be careful not to let the ticking captive get caught in the flames. Use warrior.distance_of to avoid the captives."
9+
clue "Be sure to bind the surrounding enemies before fighting. Check your health before detonating explosives."
10+
11+
time_bonus 70
12+
size 4, 3
13+
stairs 3, 0
14+
15+
warrior 0, 1, :east do |u|
16+
u.add_abilities :distance_of
17+
end
18+
19+
unit :captive, 2, 0, :south do |u|
20+
u.add_abilities :explode!
21+
u.abilities[:explode!].time = 20
22+
end
23+
unit :captive, 2, 2, :north
24+
25+
unit :sludge, 0, 0, :south
26+
unit :sludge, 1, 0, :south
27+
unit :sludge, 1, 1, :east
28+
unit :sludge, 2, 1, :east
29+
unit :sludge, 3, 1, :east
30+
unit :sludge, 0, 2, :north
31+
unit :sludge, 1, 2, :north

0 commit comments

Comments
 (0)