mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 20:14:54 +02:00
Some fixes to spells/cooldowns.
* Fixed 'progress' bug for spells in the cooldown module. * Fixed a bug with GameForceFirstAutoWalkStep feature. * Moved the spells ID to its SpellInfo row. * Lower cased table functions (consistant).
This commit is contained in:
@@ -83,7 +83,7 @@ MarketCategoryStrings = {
|
||||
}
|
||||
|
||||
function getMarketCategoryName(id)
|
||||
if table.hasKey(MarketCategoryStrings, id) then
|
||||
if table.haskey(MarketCategoryStrings, id) then
|
||||
return MarketCategoryStrings[id]
|
||||
end
|
||||
end
|
||||
@@ -135,7 +135,7 @@ MarketItemDescriptionStrings = {
|
||||
}
|
||||
|
||||
function getMarketDescriptionName(id)
|
||||
if table.hasKey(MarketItemDescriptionStrings, id) then
|
||||
if table.haskey(MarketItemDescriptionStrings, id) then
|
||||
return MarketItemDescriptionStrings[id]
|
||||
end
|
||||
end
|
||||
@@ -171,7 +171,7 @@ function getMarketSlotFilterId(name)
|
||||
end
|
||||
|
||||
function getMarketSlotFilterName(id)
|
||||
if table.hasKey(MarketSlotFilters, id) then
|
||||
if table.haskey(MarketSlotFilters, id) then
|
||||
return MarketSlotFilters[id]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user