示例#1
0
  public void affectPhyStats(Physical affected, PhyStats affectableStats) {
    super.affectPhyStats(affected, affectableStats);
    if (affected == null) return;
    if (!(affected instanceof MOB)) return;

    affectableStats.setSensesMask(affectableStats.sensesMask() | PhyStats.CAN_NOT_MOVE);
  }
 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);
 }