PrincessRTFM / WoLua.battlemode

A WoLua script to replace (and enhance) the default draw/sheathe weapon hotkey

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Requires WoLua

This is a WoLua command script for FFXIV. You will need to install the WoLua plugin via Dalamud (instructions at link) in order to use it.

GitHub last commit (branch) GitHub issues

Support me!

Usage

This script is designed to replace the default draw/sheathe hotkey, either by vanilla macro or QoLBar button. It attempts to replicate the core vanilla functionality, but with improvements based on context and emote availability.

If you're in combat, the script immediately draws your weapon, using the default (fast) animation. If you aren't in combat, the script will toggle your weapon-drawn state, using the /draw and /sheathe emotes if they are unlocked and you aren't moving. If the appropriate emote isn't available (or if you're currently moving), the script will simply use the default (fast) animation instead, since emotes don't play while in motion.

Additionally, if you have the Reset Enmity Command plugin loaded, and you are currently "in combat", the script will use the /resetenmityall command from that plugin to reset striking dummies you may be in combat with, before doing the rest of its work as outlined above. This means that using this (ideally hotkeyed) script will also clear any striking dummies that are locked in combat with you, without requiring you to do it manually.

About

A WoLua script to replace (and enhance) the default draw/sheathe weapon hotkey


Languages

Language:Lua 100.0%