Skip to content

Commit

Permalink
[FIX] Bless Bug opentibiabr/canary#3116
Browse files Browse the repository at this point in the history
  • Loading branch information
jprzimba committed Nov 14, 2024
1 parent 628a7dd commit fa00208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/libs/systems/blessing.lua
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ Blessings.BuyAllBlesses = function(player)
local hasToF = Blessings.Config.HasToF and player:hasBlessing(1) or true
local missingBless = player:getBlessings(nil, donthavefilter)
local missingBlessAmt = #missingBless + (hasToF and 0 or 1)
local totalCost
local totalCost = 0
for i, bless in ipairs(missingBless) do
totalCost = totalCost + Blessings.getBlessingCost(player:getLevel(), true, bless.id >= 7)
end
Expand Down

0 comments on commit fa00208

Please sign in to comment.