Ignore:
Timestamp:
05/04/12 18:14:13 (12 years ago)
Author:
atzm
Message:
  • balance chousei
File:
1 edited

Legend:

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

    r130 r131  
    141141                    for (var k = 0; k < trooper.barrages.length; k++) { 
    142142                        trooper.barrages[k].way += item.attrs.quantity; 
    143                         if (trooper.barrages[k].way >= 10) 
    144                             trooper.barrages[k].way = 10; 
     143                        if (trooper.barrages[k].way >= 5) 
     144                            trooper.barrages[k].way = 5; 
     145                    } 
     146                    break; 
     147                case "wide": 
     148                    playSound("se_item_wide"); 
     149                    for (var k = 0; k < trooper.barrages.length; k++) { 
     150                        trooper.barrages[k].size += item.attrs.quantity; 
     151                        if (trooper.barrages[k].size >= 12) 
     152                            trooper.barrages[k].size = 12; 
    145153                    } 
    146154                    break; 
     
    430438                // nothing 
    431439            } 
    432             else if (itemRand < 75) { 
     440            else if (itemRand < 70) { 
    433441                itemAttr = {"color": "#AAF", "symbol": "S", "type": "score", "quantity": enemy.maxLife * 200}; 
    434442            } 
     443            else if (itemRand < 85) { 
     444                itemAttr = {"color": "#FAA", "symbol": "P", "type": "shot", "quantity": 1}; 
     445            } 
    435446            else if (itemRand < 95) { 
    436                 itemAttr = {"color": "#FAA", "symbol": "P", "type": "shot", "quantity": 1}; 
     447                itemAttr = {"color": "#A5F", "symbol": "W", "type": "wide", "quantity": 1}; 
    437448            } 
    438449            else if (itemRand < 98) { 
     
    621632        [new LinerBarrage(YExtendBullet, 
    622633                          playerData.shotsize, 
    623                           "rgba(64,64,128,0.7)", 
     634                          "rgba(64,64,128,0.4)", 
    624635                          null, 
    625636                          playerData.shotinterval, 
     
    629640         new LinerBarrage(LinerBullet, 
    630641                          playerData.shotsize, 
    631                           "rgba(64,64,128,0.7)", 
     642                          "rgba(64,64,128,0.4)", 
    632643                          null, 
    633644                          playerData.shotinterval, 
     
    655666            new LinerBarrage(YExtendBullet, 
    656667                             playerData.shotsize, 
    657                              "rgba(64,64,128,0.7)", 
     668                             "rgba(64,64,128,0.4)", 
    658669                             null, 
    659670                             playerData.shotinterval, 
     
    663674            new LinerBarrage(LinerBullet, 
    664675                             playerData.shotsize, 
    665                              "rgba(64,64,128,0.7)", 
     676                             "rgba(64,64,128,0.4)", 
    666677                             null, 
    667678                             playerData.shotinterval, 
Note: See TracChangeset for help on using the changeset viewer.