From 6da4682a7b3ec14d278b22abcc0a56b9499d076a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 21 Sep 2019 20:02:46 -0300 Subject: Improve report --- src/emap/script_buildins.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c index 7a1871b..329af68 100644 --- a/src/emap/script_buildins.c +++ b/src/emap/script_buildins.c @@ -2729,7 +2729,7 @@ BUILDIN(readparam2) script_pushint(st, sd->battle_status.batk+sd->battle_status.rhw.atk); break; default: - ShowError("Wrong paramType in readparam2\nAre you sure you used bonus constants?\nSupported values: bMaxHP, bMaxSP, bStr, bAgi, bVit, bInt, bDex, bLuk, bAtk, bDef\n"); + ShowError("Wrong paramType in readparam2(%d)\nAre you sure you used bonus constants?\nSupported values: bMaxHP, bMaxSP, bStr, bAgi, bVit, bInt, bDex, bLuk, bAtk, bDef\n", data); script_pushint(st, -1); break; } -- cgit v1.2.3-70-g09d2