Comments (4)
locales_enUS.lua
line37 add
["TRUESHOT"] = "Trueshot",
line3563
change
["Steady Shot"] = "Ability_Hunter_SteadyShot",
to
["Trueshot"] = "Ability_Hunter_SteadyShot",
locales_zhCN.lua
line37 add
["TRUESHOT"] = "稳固射击",
libcast.lua
line 292 add
local trueshot = L["customcast"]["TRUESHOT"]
line 376 add
libcast.customcast[strlower(trueshot)] = function(begin, duration)
if begin then
local duration = duration or 1000
for i=1,32 do
if UnitBuff("player", i) == "Interface\\Icons\\Racial_Troll_Berserk" then
local berserk = 0.3
if((UnitHealth("player")/UnitHealthMax("player")) >= 0.40) then
berserk = (1.30 - (UnitHealth("player") / UnitHealthMax("player"))) / 3
end
duration = duration / (1 + berserk)
elseif UnitBuff("player", i) == "Interface\\Icons\\Ability_Hunter_RunningShot" then
duration = duration / 1.4
elseif UnitBuff("player", i) == "Interface\\Icons\\Ability_Warrior_InnerRage" then
duration = duration / 1.3
elseif UnitBuff("player", i) == "Interface\\Icons\\Inv_Trinket_Naxxramas04" then
duration = duration / 1.2
end
end
local _,_, lag = GetNetStats()
local start = GetTime() + lag/1000
-- add cast action to the database
libcast.db[player].cast = trueshot
libcast.db[player].rank = lastrank
libcast.db[player].start = start
libcast.db[player].casttime = duration
libcast.db[player].icon = "Interface\\Icons\\Ability_Hunter_SteadyShot"
libcast.db[player].channel = nil
else
-- remove cast action to the database
libcast.db[player].cast = nil
libcast.db[player].rank = nil
libcast.db[player].start = nil
libcast.db[player].casttime = nil
libcast.db[player].icon = nil
libcast.db[player].channel = nil
end
end
from pfui.
I download your merge request(patch-1 Repo) and test. I'm very happy to see that it has been fixed, hope it could be merged quickly. Hunters need this very much.
from pfui.
This issue is stale because it has been open for 30 days with no activity.
from pfui.
Fixed via 24097d7
from pfui.
Related Issues (20)
- There is a new message notification sound effect in the union chat or the team, I want to turn it off HOT 2
- pfUI displays an incorrect duration for the Expose Weakness debuff (Dragonstalker Armor 8p set bonus) HOT 3
- [Suggestion] Current amount counter HOT 2
- Chat bubbles still show for superignore / ignored players HOT 2
- Functions with items not working when clearing the Itemcache.wdb (in WDB folder) HOT 2
- Hide powerbar if not mana user HOT 2
- minor improvements: UI HOT 2
- unusable: performance regression in unusable item detection HOT 7
- Editing of Whitelist/Blacklists HOT 1
- Druid Manabar HOT 2
- Reagent count not showing on Ritual of Refreshment spell on action bars HOT 5
- Scrolling combat text shows behind the nameplates
- Casting bar have problem HOT 4
- 任务导航适配成RXPGuides或Zygor吗? HOT 1
- Possible to hide critter names?
- libpredict.lua: align and optimize the way the hooked functions "CastSpell", "CastSpellByName" and "UseAction" set the unit-name on spell_queue[3]
- Fix a bug which prevents libspell.GetSpellInfo() from deducing the proper min-range, max-range and casting-time
- Enhance libspell.GetSpellInfo() to also return (and cache) the numeric-spell-id and the book-type it has digged up
- Consolidate GetPlayerBuff() into a standard api method so that it's 1st parameter 'buffId' will be 1-based like TBC
- Optimize functions that use GetTime() multiple times by calling GetTime() just once (when possible/meaningful to do so)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pfui.