import {
  ISkill,
  SkillType,
  getSPForLevel,
  getXPForLevel,
} from '@rpg-engine/shared';

export const skillMock = {
  _id: '62aebda8785a9f0089a4f757',
  stamina: {
    type: SkillType.BasicAttributes,
    level: 1,
    skillPoints: 10,
    skillPointsToNextLevel: getSPForLevel(2),
  },
  magic: {
    type: SkillType.BasicAttributes,
    level: 4,
    skillPoints: 261.12,
    skillPointsToNextLevel: 82.63,
    buffAndDebuff: -10,
  },
  magicResistance: {
    type: SkillType.BasicAttributes,
    level: 1,
    skillPoints: 13,
    skillPointsToNextLevel: 80,
    buffAndDebuff: 10,
  },
  strength: {
    type: SkillType.BasicAttributes,
    level: 62,
    skillPoints: 647402.5,
    skillPointsToNextLevel: 40226.75,
  },
  resistance: {
    type: SkillType.BasicAttributes,
    level: 1,
    skillPoints: 5,
    skillPointsToNextLevel: 80,
  },
  dexterity: {
    type: SkillType.BasicAttributes,
    level: 2,
    skillPoints: 70,
    skillPointsToNextLevel: getSPForLevel(3),
  },
  first: {
    type: SkillType.Combat,
    level: 1,
    skillPoints: 22,
    skillPointsToNextLevel: getSPForLevel(2),
  },
  club: {
    type: SkillType.Combat,
    level: 2,
    skillPoints: 22,
    skillPointsToNextLevel: getSPForLevel(3),
  },
  sword: {
    type: SkillType.Combat,
    level: 4,
    skillPoints: 273,
    skillPointsToNextLevel: getSPForLevel(5),
  },
  dagger: {
    type: SkillType.Combat,
    level: 4,
    skillPoints: 300,
    skillPointsToNextLevel: getSPForLevel(5),
  },
  axe: {
    type: SkillType.Combat,
    level: 5,
    skillPoints: 400,
    skillPointsToNextLevel: getSPForLevel(6),
  },
  distance: {
    type: SkillType.Combat,
    level: 4,
    skillPoints: 76,
    skillPointsToNextLevel: getSPForLevel(5),
  },
  shielding: {
    type: SkillType.Combat,
    level: 3,
    skillPoints: 120,
    skillPointsToNextLevel: getSPForLevel(4),
  },
  fishing: {
    type: SkillType.Gathering,
    level: 1,
    skillPoints: 5,
    skillPointsToNextLevel: 80,
  },
  farming: {
    type: SkillType.Gathering,
    level: 1,
    skillPoints: 5,
    skillPointsToNextLevel: 80,
  },
  mining: {
    type: SkillType.Crafting,
    level: 1,
    skillPoints: 3,
    skillPointsToNextLevel: 80,
  },
  lumberjacking: {
    type: SkillType.Crafting,
    level: 1,
    skillPoints: 2,
    skillPointsToNextLevel: 80,
  },
  cooking: {
    type: SkillType.Crafting,
    level: 1,
    skillPoints: 10,
    skillPointsToNextLevel: 80,
  },
  alchemy: {
    type: SkillType.Crafting,
    level: 1,
    skillPoints: 2,
    skillPointsToNextLevel: 80,
  },
  blacksmithing: {
    type: SkillType.Crafting,
    level: 1,
    skillPoints: 2,
    skillPointsToNextLevel: 80,
  },
  level: 21,
  xpGainRate: 100,
  experience: 28097,
  xpToNextLevel: getXPForLevel(22),
  ownerType: 'Character',
  owner: '62aebda8785a9f0089a4f758',
  createdAt: '2022-06-19T06:09:44.661Z',
  updatedAt: '2022-06-19T06:09:44.661Z',
  __v: 0,
} as ISkill;
