mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix DurabilityRepairAll default value
This commit is contained in:
@@ -1567,7 +1567,7 @@ namespace LuaPlayer
|
|||||||
int DurabilityRepairAll(Eluna* /*E*/, lua_State* L, Player* player)
|
int DurabilityRepairAll(Eluna* /*E*/, lua_State* L, Player* player)
|
||||||
{
|
{
|
||||||
bool cost = Eluna::CHECKVAL<bool>(L, 2, true);
|
bool cost = Eluna::CHECKVAL<bool>(L, 2, true);
|
||||||
float discountMod = Eluna::CHECKVAL<float>(L, 3);
|
float discountMod = Eluna::CHECKVAL<float>(L, 3, 1.0f);
|
||||||
bool guildBank = Eluna::CHECKVAL<bool>(L, 4, false);
|
bool guildBank = Eluna::CHECKVAL<bool>(L, 4, false);
|
||||||
|
|
||||||
#ifdef CLASSIC
|
#ifdef CLASSIC
|
||||||
|
|||||||
Reference in New Issue
Block a user