public void affectPhyStats(Physical affected, PhyStats affectableStats) {
   super.affectPhyStats(affected, affectableStats);
   // when this spell is on a MOBs Affected list,
   // it should consistantly put the mob into
   // a sleeping state, so that nothing they do
   // can get them out of it.
   affectableStats.setDisposition(affectableStats.disposition() | PhyStats.IS_INVISIBLE);
 }
Esempio n. 2
0
 @Override
 public void affectPhyStats(Physical affected, PhyStats affectableStats) {
   super.affectPhyStats(affected, affectableStats);
   affectableStats.setDisposition(affectableStats.disposition() | PhyStats.IS_FLYING);
 }
Esempio n. 3
0
 public void affectPhyStats(Physical affected, PhyStats affectableStats) {
   super.affectPhyStats(affected, affectableStats);
   affectableStats.setLevel(affectableStats.level() + 1);
 }
 @Override
 public void affectPhyStats(Physical affected, PhyStats affectableStats) {
   super.affectPhyStats(affected, affectableStats);
   affectableStats.setSensesMask(mask & mask2);
 }
Esempio n. 5
0
 @Override
 public void affectPhyStats(Physical affected, PhyStats affectableStats) {
   super.affectPhyStats(affected, affectableStats);
   affectableStats.setSpeed(CMath.div(affectableStats.speed(), 2.0));
 }
Esempio n. 6
0
 public void affectPhyStats(Physical host, PhyStats affectedStats) {
   super.affectPhyStats(host, affectedStats);
   int height = (int) Math.round(affectedStats.height() * 0.10);
   if (height == 0) height = 1;
   affectedStats.setHeight(height);
 }
 @Override
 public void affectPhyStats(Physical affected, PhyStats affectableStats) {
   super.affectPhyStats(affected, affectableStats);
   affectableStats.setSensesMask(affectableStats.sensesMask() | PhyStats.CAN_SEE_INVISIBLE);
 }