Ignore:
Timestamp:
01/18/12 14:04:55 (13 years ago)
Author:
atzm
Message:

modified, random enemy encounter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pycodeshooter/trunk/shooter/system.js

    r109 r110  
    195195} 
    196196 
     197function numEnemies() { 
     198    return System.enemies.length; 
     199} 
     200 
    197201function addEnemyImage(image) { 
    198202    System.enemyImages.push(image); 
     
    256260        System.screen.width, 
    257261        System.screen.height, 
    258         enemyData.hitpoint, 
     262        Math.floor(enemyData.hitpoint / 75) + 1, 
    259263        Math.log(enemyData.agility + 0.1) * 3, 
    260264        0, 
Note: See TracChangeset for help on using the changeset viewer.