diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-01-14 00:55:29 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-01-14 00:55:29 -0200 |
commit | f1315912ed75e9c526b3be64e014ebda02004410 (patch) | |
tree | 41746674da990139cbdbd5447a0ab4f6896d5391 /npc/001-8/hub.txt | |
parent | 52afebd44f8e9169fc38be869e84d2ae8e97e1c6 (diff) | |
download | serverdata-f1315912ed75e9c526b3be64e014ebda02004410.tar.gz serverdata-f1315912ed75e9c526b3be64e014ebda02004410.tar.bz2 serverdata-f1315912ed75e9c526b3be64e014ebda02004410.tar.xz serverdata-f1315912ed75e9c526b3be64e014ebda02004410.zip |
[skip ci] debug print
Diffstat (limited to 'npc/001-8/hub.txt')
-rw-r--r-- | npc/001-8/hub.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/001-8/hub.txt b/npc/001-8/hub.txt index 9abec0abe..d8f950198 100644 --- a/npc/001-8/hub.txt +++ b/npc/001-8/hub.txt @@ -441,6 +441,12 @@ OnCancel: OnNoPenaltyCommand: .@realvalue=readparam(BaseExp)-@deathpenalty_realvalue; .@realvaljob=readparam(JobExp)-@deathpenalty_realvaljob; + + // GM Report + if (is_staff()) + debugmes("Old values: %d %d Current Values: %d %d Real Difference: %d %d", @deathpenalty_realvalue, @deathpenalty_realvaljob, readparam(BaseExp), readparam(JobExp), .@realvalue, .@realvaljob); + + // Restitute the lost experience if (@deathpenalty_override == 1) getexp .@realvalue, .@realvaljob; else if (@deathpenalty_override == 2) |