/traderous

To get this branch, use:
bzr branch http://9ix.org/bzr/traderous

« back to all changes in this revision

Viewing changes to shield.lua

  • Committer: Josh C
  • Date: 2013-10-21 18:31:55 UTC
  • Revision ID: josh@9ix.org-20131021183155-vl7pxaor2u3pw0t0
have enemies disengage when you land

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
   strength = 5,
10
10
   max = 5,
11
11
   velocity = {rotation = 5},
 
12
   cost = 100, -- cost to repair 1 shield strength
12
13
   setImage = function (self)
13
14
                 if self.strength < 1 or self.strength == 5 then
14
15
                    self.visible = false