public AttackerAction(CombatActionType type, Creature creature, long targetId) { this.Flags = type; this.Creature = creature; this.TargetId = targetId; this.WeaponParameterType = 1; var active = creature.Skills.ActiveSkill; this.SkillId = (active == null ? SkillId.CombatMastery : active.Info.Id); }