Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
README.erb
player.rb

README.erb

Level <%= level.number %>

<%= level.description %>

Tip: <%= level.tip %>

<%= level.floor.character -%>

  > = Stairs
<%- for unit in level.floor.unique_units -%>
  <%= unit.character %> = <%= unit.name %> (<%= unit.max_health %> HP)
<%- end -%>


Warrior Abilities:
<%- level.warrior.abilities.each do |name, ability| -%>

  warrior.<%= name %>
    <%= ability.description %>
<%- end -%>
<%- if level.warrior.has_golem? -%>


Golem Abilities:
<%- level.warrior.base_golem.abilities.each do |name, ability| -%>

  golem.<%= name %>
    <%= ability.description %>
<%- end -%>
<%- end -%>


When you're done editing player.rb, run the rubywarrior command again.