Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 2, 2015, 3:57:34 PM (10 years ago)
Author:
erbj
Message:

Tower upgrade now implemented and towers are now saved in the towerTurretMatrix and the Models in the towerModelMatrix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/towerdefenseFS15/src/modules/towerdefense/TowerDefenseTower.cc

    r10335 r10340  
    6666            float reloadrate = getReloadRate();
    6767            float reloadwaittime = getReloadWaitTime();
    68             this->setDamageMultiplier(5000);
    69 
     68            this->setDamageMultiplier((upgrade+1)*2);
     69            this->setRotationThrust(2*this->getRotationThrust());
    7070            reloadrate = 0.5f*reloadrate;
    7171            reloadwaittime = 0.5f*reloadwaittime;
Note: See TracChangeset for help on using the changeset viewer.