forked from Dusk/ShaguTweaks-ClassicAPI
Two Action Bar options, off by default, ported from brues-code/pfUI's swing timer and restyled as classic cast bars: dark background, UI-StatusBar fill, the cast bar border and spark, and the weapon's icon on the left like Improved Castbar's spell icon. - Swing Timer: main hand and off hand (shields are skipped). - Wand Timer: wand Shoot, and Auto Shot for bows, guns and crossbows, red during Auto Shot's last half second. ClassicAPI's PLAYER_SWING drives the timers and PLAYER_SWING_RANGE_UPDATE grays a bar while the target is out of reach. Auto-attack state uses the 1.12 PLAYER_ENTER_COMBAT/PLAYER_LEAVE_COMBAT and START/STOP_AUTOREPEAT_SPELL events, plus START/STOP_AUTOATTACK on ClassicAPI v1.18.14+. Without PLAYER_SWING (before v1.15.10) both options do nothing. The bars stack just above the cast bar. Holding Ctrl+Shift+Alt shows a preview to drag; right-click resets. The position is saved per character. pfUI's MIT license is preserved in LICENSES/pfUI-MIT.txt and credited in THIRD_PARTY_NOTICES.md and the README. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019W3rwusM4i1CYaHQAYixJ7
22 lines
1.1 KiB
Plaintext
22 lines
1.1 KiB
Plaintext
The MIT License (MIT)
|
|
|
|
Copyright (c) 2016-2021 Eric Mauser (Shagu)
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|