Commit Graph

119 Commits

Author SHA1 Message Date
Kyriakos (Dominick) Sidiropoulos 3e19e5b8ed libdebuff: align and optimize spell post-hooks 2024-07-02 20:57:49 +02:00
Kyriakos (Dominick) Sidiropoulos 4da109a705 libspell: use proper caching index for ranked spells 2024-06-07 09:03:30 +02:00
Kyriakos (Dominick) Sidiropoulos 5a7ee5277b libcast: optimize spell cast hooks
- move rank & texture caching to CastCustom
- extend CastCustom with additional arguments
- remove action id scanning from CastSpellByName
2024-06-07 09:02:22 +02:00
Kyriakos (Dominick) Sidiropoulos b7289a702c libcast: make post-hook update last cast texture
we now set lastcasttex from the texture returned by libspell.GetSpellInfo in "CastSpellByName" post-hook
2024-06-04 08:55:56 +02:00
Kyriakos (Dominick) Sidiropoulos 0bd90d47b4 libcast: reuse spellname and texture from previous call
- introduce a guard-close in case the spell is phony
- reuse the spell-name and texture returned by GetSpellInfo()
2024-06-04 08:49:37 +02:00
Kyriakos (Dominick) Sidiropoulos 2b58818f0e libspell: pass 2nd argument to scanner find to disable exact matching 2024-06-03 09:36:51 +02:00
Kyriakos (Dominick) Sidiropoulos a45c9f3dbe libspell: return spell book id and its book-type 2024-06-01 11:12:01 +02:00
shagu 7e0990c4e6 librange: disable 40y checks while in cat form 2024-05-23 10:37:31 +02:00
shagu f5a47b8fbc libcast: handle interrupts correctly 2024-05-15 07:50:58 +02:00
shagu 3f21780980 libtipscan: make sure the owner is set each call
For some reason, early initialized tooltips without
a WDB cache, won't get attached properly. It seems
like they lose their owner when the WDB cache gets
ready. Running :SetOwner() again later when caches
are ready fixes that somehow.
2024-04-21 15:00:39 +02:00
Cameron Weaver (Clutch) 2e8d3e2f7a nameplate: add option to show guild names 2024-02-26 17:41:29 +01:00
gwetchen d7a7387465 librange: skip rangescan when player has combo points
don't perform range checks while the player has combo points to avoid losing them
2024-02-16 09:29:00 +01:00
shagu 314b0bca2e libcast: reuse string variables in spell detection 2023-10-03 13:22:25 +02:00
shagu 225a84bc8d libpredict: check and abort on empty heal values 2023-07-29 15:44:49 +02:00
shagu 1d01a2b765 librange: disable target frame events during scan 2023-06-13 19:56:32 +02:00
shagu 04d1c2df39 libtooltip: add support for tooltip hyperlinks 2023-05-22 21:48:33 +02:00
shagu 337a1b9519 libpredict: check for mouseover before using it 2023-03-23 09:29:12 +01:00
shagu 44bce4e3e9 prediction: check assist to identify valid unit 2023-03-10 22:02:52 +01:00
shagu ad08c69ec5 mouseover: show prediction on correct spell target 2023-03-10 18:39:22 +01:00
shagu afc7808c88 libdebuff: remove obsolete string concatenation
Fixup of the previous commit. Seems like `tonumber` does
already take care of the leading space inside the rank.
2022-11-27 16:57:01 +01:00
@_@ 31be3ded16 libdebuff: add rank based kidney shot duration 2022-11-27 16:55:43 +01:00
shagu c4b5036c3e libtooltip: add auction item ids 2022-11-16 13:05:11 +01:00
shagu 85af950893 libtooltip: remove duplicate hook 2022-08-13 01:37:20 +02:00
shagu 96e4b9509f libtooltip: ignore invalid calls to bagslots 2022-06-16 12:26:09 +02:00
shagu da79967217 libpredict: set cache reset to proper events 2022-05-27 16:48:16 +02:00
shagu b522d03fc5 libspell: reset caches on skill change 2022-05-27 16:47:33 +02:00
shagu 1e8027e9c5 librange: pause 40y rangecheck during wand attacks 2021-10-24 15:18:02 +02:00
shagu 668644931a libunitscan: create db if not existing 2021-10-11 20:47:55 +02:00
shagu 43a824609a libunitscan: make sure to have a valid db 2021-10-11 20:45:17 +02:00
shagu b08432c9f4 libspell: case insensitive max rank detection 2021-09-07 09:57:12 +02:00
shagu 150051a79a libspell: make spell queries case insensitive 2021-09-04 21:05:52 +02:00
shagu 75d9a2fff3 libunitscan: disable target sounds during scan 2021-08-01 12:20:23 +02:00
shagu 5b815a899b librange: disable target sounds during scan 2021-08-01 12:19:49 +02:00
shagu 62b420d07b libpredict: check msg variable before using it 2021-07-23 17:43:28 +02:00
shagu 467ebd2e40 libtotem: attach to global space properly 2021-02-22 13:03:25 +01:00
shagu e23cac89d8 librange: skip on macro action slots 2020-12-30 16:28:33 +01:00
shagu 80f5b9ef0d libpredict: add library to handle heal predictions
* move "prediction" from module into a library
* reduce the resize and trigger calls on unitframes
* improve performance by caching frames and events
* introduce later API commands such as:
    - UnitGetIncomingHeals(unit)
    - UnitHasIncomingResurrection(unit)
* update unitframes to make use of new api calls
* delay spell cache loading to not overwrite previous
* remove all unitframe specific code from library
2020-11-27 15:22:01 +01:00
shagu c331a5e248 libcast: assign tooltip scanner only once on use 2020-11-19 15:33:52 +01:00
shagu 747847ea95 libcast: multi-shot is also affected by attack speed
sources:
https://www.curseforge.com/wow/addons/aimedshotcastbarclassic
https://github.com/Aviana/YaHT/blob/master/YaHT.lua
https://www.reddit.com/r/classicwow/comments/f2n9d6/hunter_rapid_fire_question/
2020-11-19 14:58:22 +01:00
shagu 5ef7aadff0 libtotem: make it possible to hook totem table 2020-11-19 14:04:50 +01:00
shagu bc41bc9306 libcast: allow to hook and inject custom durations 2020-11-16 21:22:30 +01:00
shagu 24ffe289aa libcast: add icon for aimed and multi shot 2020-09-10 17:27:44 +02:00
shagu 7a687aa9a0 librange: skip rangescan during auto-attack 2020-09-07 18:57:32 +02:00
shagu b896560761 librange: ignore empty buttons and macros 2020-06-17 21:08:38 +02:00
shagu 44612d52d0 libhealth: set default values as config fallback 2020-06-08 22:17:38 +02:00
shagu 4a56c5ee0f libdebuff: decouple library from unitframes 2020-06-05 22:59:36 +02:00
shagu 5932c6db14 libhealth: abort on suspicious health values 2020-05-20 03:07:31 +02:00
shagu 6894567b21 libhealth: mark old cached hp values as valid 2020-05-04 00:01:41 +02:00
shagu 9ca9b91fe1 libhealth: skip if current is already a number 2020-05-03 13:43:40 +02:00
shagu 8b40c1dd4f libhealth: remove legacy db query function 2020-05-03 13:42:39 +02:00