コード例 #1
0
 public CompanionFighter(CompanionRecord template, CharacterFighter master, FightTeam team)
     : base(team)
 {
     this.Template  = template;
     this.Master    = master;
     this.Spells    = Template.GetSpellItems(Master.Client.Character);
     this.Shortcuts = GenerateShortcuts();
     if (this.Template.StartingSpellLevelId != 0)
     {
         this.AutoCastSpell = SpellLevelRecord.GetLevel(Template.StartingSpellLevelId);
     }
     this.ReadyToFight = true;
 }
コード例 #2
0
 public MinationMonsterFighter(FightTeam team, MonsterRecord template, sbyte gradeId, ushort minationLevel, CharacterFighter owner, short summonCellId) : base(team, template, gradeId, owner, summonCellId)
 {
     this.MinationLevel = minationLevel;
 }
コード例 #3
0
 public DoubleStaticFighter(CharacterFighter owner, FightTeam team, short cellId) : base(owner, team, cellId)
 {
 }
コード例 #4
0
 public ExplosiveControlableMonster(FightTeam team, MonsterRecord template, sbyte gradeId, CharacterFighter owner,
                                    short summonCellId)
     : base(team, template, gradeId, owner, summonCellId)
 {
     this.OnTurnEndEvt += ExplosiveControlableMonster_TurnEnd;
 }