/// <summary></summary> public virtual void SetAttackDesc() { AttackDesc = "attack{0}"; if (!UseAttacks) { if (OfMonster.IsCharacterMonster() || (OfMonster.IsInRoomLit() && OfMonster.CombatCode != CombatCode.Attacks)) { AttackDesc = OfMonster.GetAttackDescString(OfWeapon); } } }
/// <summary></summary> public virtual void PrintSparksFly() { gOut.Write("{0} Sparks fly from {1}!", Environment.NewLine, OfMonster.IsCharacterMonster() || OfMonster.IsInRoomLit() ? ( (WeaponRevealType == WeaponRevealType.Never || (WeaponRevealType == WeaponRevealType.OnlyIfSeen && !OfWeapon.Seen)) ? OfWeapon.GetArticleName() : OfWeapon.GetTheName() ) : "a weapon"); }
/// <summary></summary> public virtual void PrintWeaponDropped() { gOut.Write("{0} {1} {2} {3}!", Environment.NewLine, OfMonster.IsCharacterMonster() ? "You" : OfMonster.EvalInRoomLightLevel("The offender", OfMonster.GetTheName(true, true, false, true)), OfMonster.IsCharacterMonster() ? "drop" : "drops", OfMonster.IsCharacterMonster() || OfMonster.IsInRoomLit() ? ( (WeaponRevealType == WeaponRevealType.Never || (WeaponRevealType == WeaponRevealType.OnlyIfSeen && !OfWeapon.Seen)) ? OfWeapon.GetArticleName(buf: Globals.Buf01) : OfWeapon.GetTheName(buf: Globals.Buf01) ) : "a weapon"); }
public override void PrintSparksFly() { // Falcon if (OfWeapon.Uid == 5) { gOut.Write("{0} {1} fails to launch!", Environment.NewLine, OfMonster.IsCharacterMonster() || OfMonster.IsInRoomLit() ? ( (WeaponRevealType == WeaponRevealType.Never || (WeaponRevealType == WeaponRevealType.OnlyIfSeen && !OfWeapon.Seen)) ? OfWeapon.GetArticleName(true) : OfWeapon.GetTheName(true) ) : "A weapon"); } else { base.PrintSparksFly(); } }
protected override void SetAttackDesc() { AttackDesc = "attack{0}"; if (!UseAttacks) { if (OfMonster.IsCharacterMonster()) { AttackDesc = OfMonster.GetAttackDescString(OfWeapon); } else if (OfMonster.IsInRoomLit()) { if (OfMonster.Uid > 19 && OfMonster.Uid < 23) { AttackDesc = "zap{0}"; } else if (OfMonster.CombatCode != CombatCode.Attacks && (!((Framework.IMonster)OfMonster).IsAndroid() || OfMonster.Weapon > 0)) { AttackDesc = OfMonster.GetAttackDescString(OfWeapon); } } } }