public static void pickAWimpyFight( MOB observer, boolean mobKiller, boolean misBehave, String attackMsg, String zapStr) { if (!canFreelyBehaveNormal(observer)) return; Room R = observer.location(); if (R != null) for (int i = 0; i < R.numInhabitants(); i++) { MOB mob = R.fetchInhabitant(i); if ((mob != null) && (mob != observer) && (CMLib.flags().isSleeping(mob)) && (CMLib.masking().maskCheck(zapStr, observer, false))) { startFight(observer, mob, mobKiller, misBehave, attackMsg); if (observer.isInCombat()) break; } } }
public boolean grantsAggressivenessTo(MOB M) { return ((M != null) && (CMLib.flags().isSleeping(M))) && CMLib.masking().maskCheck(getParms(), M, false); }
public String accountForYourself() { if (getParms().trim().length() > 0) return "wimpy aggression against " + CMLib.masking().maskDesc(getParms(), true).toLowerCase(); else return "wimpy aggressiveness"; }