public override void RefreshStats() { this.FighterInformations = new GameFightCharacterInformations(ContextualId, FighterLook, new EntityDispositionInformations(CellId, Direction), (sbyte)Team.TeamColor, 0, !Dead, FighterStats.GetMinimalStats(), new ushort[0], Client.Character.Record.Name, new PlayerStatus(0), Client.Character.Record.Level, Client.Character.GetActorAlignement(), Client.Character.Record.Breed, Client.Character.Record.Sex); Client.Send(new FighterStatsListMessage(FighterStats.GetCharacterCharacteristics(Client.Character))); }
public override void Initialize() { base.Initialize(); ContextualId = Client.Character.Id; FighterLook = Client.Character.Look.CloneContextActorLook(); RealFighterLook = FighterLook.CloneContextActorLook(); FighterStats = new FighterStats(Client.Character.StatsRecord); FighterInformations = new GameFightCharacterInformations(ContextualId, FighterLook.ToEntityLook(), new EntityDispositionInformations(CellId, Direction), (sbyte)Team.TeamColor, 0, true, FighterStats.GetMinimalStats(), new ushort[0], Client.Character.Record.Name, new PlayerStatus(0), Client.Character.Record.Level, Client.Character.GetActorAlignement(), Client.Character.Record.Breed, Client.Character.Record.Sex); }
public override void Initialize() { base.Initialize(); ContextualId = Fight.PopNextNonPlayerId(); FighterLook = Template.RealLook.CloneContextActorLook(); RealFighterLook = FighterLook.CloneContextActorLook(); FighterStats = Template.GetFighterStats(SpawnRecord.ActualGrade); FighterInformations = new GameFightMonsterInformations(ContextualId, FighterLook, new EntityDispositionInformations(CellId, Direction), (sbyte)Team.TeamColor, 0, true, FighterStats.GetMinimalStats(), new ushort[0], SpawnRecord.MonsterId, SpawnRecord.ActualGrade); }
public void InitializeSummon(int summonerid, short cellid) { this.Direction = 3; this.CellId = cellid; this.ContextualId = Fight.PopNextNonPlayerId(); this.FighterLook = Template.RealLook.CloneContextActorLook(); this.RealFighterLook = FighterLook.CloneContextActorLook(); this.FighterStats = Template.GetFighterStats(SpawnRecord.ActualGrade, true, summonerid); this.FighterInformations = new GameFightMonsterInformations(ContextualId, FighterLook, new EntityDispositionInformations(CellId, Direction), (sbyte)Team.TeamColor, 0, true, FighterStats.GetMinimalStats(), new ushort[0], SpawnRecord.MonsterId, SpawnRecord.ActualGrade); foreach (var spell in Template.Spells) { var level = GetSpellLevel(spell); if (level.InitialCooldown > 0) { AddCooldownOnSpell(level.SpellId, (sbyte)level.InitialCooldown); } } }
public override void RefreshStats() // Previous pros? { this.FighterInformations = new GameFightMonsterInformations(ContextualId, FighterLook, new EntityDispositionInformations(CellId, Direction), (sbyte)Team.TeamColor, 0, !Dead, FighterStats.GetMinimalStats(), new ushort[0], Template.Id, SpawnRecord.ActualGrade); }
public override void RefreshStats() { this.FighterInformations = new GameFightMonsterInformations(ContextualId, FighterLook, new EntityDispositionInformations(CellId, Direction), (sbyte)Team.TeamColor, 0, true, FighterStats.GetMinimalStats(), new ushort[0], MonsterTemplate.Id, Grade); }
public void InitializeBomb(int summonerid, short cellid) { this.Direction = 3; this.CellId = cellid; this.ContextualId = Fight.PopNextNonPlayerId(); this.FighterLook = MonsterTemplate.RealLook.CloneContextActorLook(); this.RealFighterLook = FighterLook.CloneContextActorLook(); this.FighterStats = MonsterTemplate.GetFighterStats(Grade, true, summonerid); this.FighterInformations = new GameFightMonsterInformations(ContextualId, FighterLook, new EntityDispositionInformations(CellId, Direction), (sbyte)Team.TeamColor, 0, true, FighterStats.GetMinimalStats(), new ushort[0], MonsterTemplate.Id, Grade); }
public override void Initialize() { base.Initialize(); ContextualId = Fight.PopNextNonPlayerId(); FighterLook = Template.RealLook.CloneContextActorLook(); FighterStats = Template.GetFighterStats(Master.Client.Character); FighterInformations = new GameFightCompanionInformations(ContextualId, Template.RealLook, new EntityDispositionInformations(CellId, Direction), (sbyte)Team.TeamColor, 0, true, FighterStats.GetMinimalStats(), new ushort[0], Template.Id, Master.Client.Character.Record.Level, Master.Client.Character.Id); }
public override void RefreshStats() { this.FighterInformations = new GameFightCompanionInformations(ContextualId, FighterLook, new EntityDispositionInformations(CellId, Direction), (sbyte)Team.TeamColor, 0, !Dead, FighterStats.GetMinimalStats(), new ushort[0], Template.Id, Master.Client.Character.Record.Level, Master.ContextualId); }