Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More base presets #223

Merged
merged 7 commits into from
Feb 4, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions src/app/components/player/equipment/EquipmentPresets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ const EquipmentPresets: React.FC = () => {
{ label: 'Max Mage', value: EquipmentPreset.MAX_MAGE },
{ label: 'Max Melee', value: EquipmentPreset.MAX_MELEE },
{ label: 'Max Ranged', value: EquipmentPreset.MAX_RANGED },
{ label: 'Mid Level Mage', value: EquipmentPreset.MID_LEVEL_MAGE },
{ label: 'Mid Level Melee', value: EquipmentPreset.MID_LEVEL_MELEE },
{ label: 'Mid Level Ranged', value: EquipmentPreset.MID_LEVEL_RANGED },
{ label: 'Verac\'s equipment', value: EquipmentPreset.VERACS },
{ label: 'Void (Mage)', value: EquipmentPreset.VOID_MAGE },
{ label: 'Void (Melee)', value: EquipmentPreset.VOID_MELEE },
Expand Down Expand Up @@ -92,6 +95,54 @@ const EquipmentPresets: React.FC = () => {
};
break;
}
case EquipmentPreset.MID_LEVEL_MAGE: {
LlemonDuck marked this conversation as resolved.
Show resolved Hide resolved
newPlayer = {
equipment: {
head: findItemById(4708), // Ahrim's hood#Undamaged
cape: findItemById(21791), // Imbued saradomin cape
neck: findItemById(12002), // Occult necklace
ammo: findItemById(20229), // Honourable blessing
body: findItemById(4712), // Ahrim's robetop#Undamaged
legs: findItemById(4714), // Ahrim's robeskirt#Undamaged
hands: findItemById(7462), // Barrows gloves
feet: findItemById(6920), // Infinity boots
ring: findItemById(11770), // Seers ring (i)
},
};
break;
}
case EquipmentPreset.MID_LEVEL_MELEE: {
newPlayer = {
equipment: {
head: findItemById(12931), // Serpentine helm#Charged
SuperNerdEric marked this conversation as resolved.
Show resolved Hide resolved
cape: findItemById(6570), // Fire cape
neck: findItemById(6585), // Amulet of fury
ammo: findItemById(20229), // Honourable blessing
body: findItemById(10551), // Fighter torso#Normal
legs: findItemById(21304), // Obsidian platelegs
hands: findItemById(7462), // Barrows gloves
feet: findItemById(11840), // Dragon boots
ring: findItemById(11773), // Berserker ring (i)
},
};
break;
}
case EquipmentPreset.MID_LEVEL_RANGED: {
newPlayer = {
equipment: {
head: findItemById(12496), // Ancient coif
cape: findItemById(22109), // Ava's assembler
neck: findItemById(6585), // Amulet of fury
ammo: findItemById(11212), // Dragon arrow
body: findItemById(12492), // Ancient d'hide body
legs: findItemById(12494), // Ancient chaps
hands: findItemById(7462), // Barrows gloves
feet: findItemById(19921), // Ancient d'hide boots
ring: findItemById(11771), // Archers ring (i)
},
};
break;
}
case EquipmentPreset.VOID_MAGE: {
newPlayer = {
equipment: {
Expand Down
3 changes: 3 additions & 0 deletions src/enums/EquipmentPreset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ enum EquipmentPreset {
MAX_MAGE,
MAX_MELEE,
MAX_RANGED,
MID_LEVEL_MAGE,
MID_LEVEL_MELEE,
MID_LEVEL_RANGED,
VERACS,
VOID_MAGE,
VOID_MELEE,
Expand Down
Loading