/// <inheritdoc /> /// <summary> /// Initializes a new instance of the <see cref="T:Tibia.Network.Game.FightModeChangingEventArgs" /> class. /// </summary> /// <param name="characterSpawn">The character spawn.</param> /// <param name="battleStance">The battle stance.</param> /// <param name="chaseMode">if set to <c>true</c> [chase mode].</param> /// <param name="safeMode">if set to <c>true</c> [safe mode].</param> public FightModeChangingEventArgs(CharacterSpawn characterSpawn, BattleStance battleStance, bool chaseMode, bool safeMode) { CharacterSpawn = characterSpawn; BattleStance = battleStance; ChaseMode = chaseMode; SafeMode = safeMode; }
public NPC(int id, int hp, string name, string description, RaceType race, BattleStance initialStance, string imgDataPath) : base(id, name, race) { _name = name; _description = description; _race = race; _inventory = new ObservableCollection <GameItemQuantity>(); _imageDataPath = imgDataPath; _health = hp; }
public Fighter(int id, int hp, string name, string description, ItemArmor armor, ItemWeapon weapon, RaceType racetype, BattleStance initialStance, string imgDataPath) : base(id, hp, name, description, racetype, initialStance, imgDataPath) { _id = id; _name = name; _description = description; _race = racetype; Stance = initialStance; _imageDataPath = imgDataPath; _health = hp; EquippedWeapon = weapon; EquippedArmor = armor; }
public Merchant(int id, int hp, string name, string description, RaceType racetype, BattleStance initialStance, string imgDataPath, List <string> messages) : base(id, hp, name, description, racetype, initialStance, imgDataPath) { _id = id; _name = name; _description = description; _race = racetype; Stance = initialStance; _imageDataPath = imgDataPath; _health = hp; Messages = messages; r = new Random(0); }
public Monger(int id, int hp, string name, string description, ItemArmor armor, ItemWeapon weapon, RaceType racetype, BattleStance initialStance, string imgDataPath) : base(id, hp, name, description, armor, weapon, racetype, initialStance, imgDataPath) { _id = id; _name = name; _description = description; _race = RaceType.Monger; // Has to be a Monger - silly to be anything else. :P Stance = initialStance; _imageDataPath = imgDataPath; _health = hp; EquippedArmor = armor; EquippedWeapon = weapon; }