Olink / ServerEPRSystem

Economy system for Tshock
1 stars 1 forks source link

Player death is taxed for pvp deaths twice #3

Open Olink opened 11 years ago

Olink commented 11 years ago

When a player dies in pvp, he is taxed by the c3rewards plugin portion, and then is taxed as a generic death in the core plugin.

PVP deaths should be ignored in the generic check, as pvp deaths should not be taxed unless c3rewards is being used.

saybrook commented 11 years ago

just as an addon: the console message only shows shards being transferred as a result of the PVP death penalty after a PVP battle and does not show if shards are transferred due to a /bet.

If the pvp death penalty is turned off the this console message always shows:

2012-12-21 19:36:04 - C3RewardSystem: INFO: stormsword killed Rey. stormsword received 0 Shard(s) and Rey lost 0 Shard(s)

Even though the result of the /duel was a net gain of 100 shards from the winner.

not a bug necessarily just and fyi.