From 130735de43de27f9056a20edcc7134c7115cc837 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Thu, 18 Dec 2014 19:19:34 +0200 Subject: [PATCH] Fix DurabilityRepairAll default value --- PlayerMethods.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlayerMethods.h b/PlayerMethods.h index c091aaa..12943cd 100644 --- a/PlayerMethods.h +++ b/PlayerMethods.h @@ -1567,7 +1567,7 @@ namespace LuaPlayer int DurabilityRepairAll(Eluna* /*E*/, lua_State* L, Player* player) { bool cost = Eluna::CHECKVAL(L, 2, true); - float discountMod = Eluna::CHECKVAL(L, 3); + float discountMod = Eluna::CHECKVAL(L, 3, 1.0f); bool guildBank = Eluna::CHECKVAL(L, 4, false); #ifdef CLASSIC