Changeset 427:1e2eb4df061f


Ignore:
Timestamp:
04/09/11 16:22:27 (12 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Phase:
public
Rebase:
61336163346166356166383035613466333265303639663063336265626136313161633964373261
Message:

More work on shield.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/sprites/player.py

    r426 r427  
    9595            else:
    9696                cand_image = cand_image.copy()
    97                 cand_image.blit(self._shield_image)
     97                cand_image.blit(self._shield_image, (0, 0), None)
    9898                self._shield_cache[id_cand_image] = cand_image
    9999        self.image = cand_image
     
    211211    def damage(self, damage):
    212212        if 'shield' in self._me.tails and self.check_fire_rate('shield'):
    213             self.using_shield = 3
     213            print "Using shield"
     214            self.using_shield = 30
    214215            return
    215216        self._me.cur_health -= damage
Note: See TracChangeset for help on using the changeset viewer.