-
Notifications
You must be signed in to change notification settings - Fork 0
Optional Code: Remove Magical Weapon, Armor, and Specials Options From Web Combat
spiritlake edited this page Feb 19, 2022
·
2 revisions
Removes magic weapons, armor, and specials from the drop-down and check-box options in web combat. Players can still enter the command to equip theses things, but they will no longer clutter the display.
You could pick and choose which you remove by only replacing the relevant sections.
In plugins\fs3combat\web\get_combatant_request_handler.rb replace
options: { weapons: AresMUSH::FS3Combat.weapons.keys.sort, weapon_specials: AresMUSH::FS3Combat.weapon_specials.keys.sort, armor_specials: AresMUSH::FS3Combat.armor_specials.keys.sort, armor: AresMUSH::FS3Combat.armors.keys.sort,
with
options: { weapons: AresMUSH::Magic.mundane_weapons.keys.sort, weapon_specials: AresMUSH::Magic.mundane_weapon_specials.keys.sort, armor_specials: AresMUSH::FS3Combat.armor_specials.keys.sort, armor: AresMUSH::Magic.mundane_armors.keys.sort,
- Overview
- Death
- Schools
- Magic Energy
- Spells
- Spell Success Mechanics
- Magic Items
- Potions
- Configuration
- Code
- Future Plans