Decrease PVP Damage

04/12/2021 18:48 Salopio#1
Hi guys,

as I said in the title, I would like to decrease the damage in PVP on a weapon (to put a penalty PVP) I tried to put the value in negative in the database but it does not work.


In the Item.dat I put the Type 71 and the value -250 and it displays well "decreases pvp damage" so why when I put a negative value, the damage in pvp does not decrease ?

Thank you for your future help, have a good day
04/12/2021 22:01 Limoo#2
Logically, if you decrease the damage in PvP by 250 the damage decreases.
If you decrease it by -250 the damage increases
04/13/2021 18:08 XV50#3
Quote:
Originally Posted by Salopio View Post
Hi guys,

as I said in the title, I would like to decrease the damage in PVP on a weapon (to put a penalty PVP) I tried to put the value in negative in the database but it does not work.


In the Item.dat I put the Type 71 and the value -250 and it displays well "decreases pvp damage" so why when I put a negative value, the damage in pvp does not decrease ?

Thank you for your future help, have a good day
Because you did not handle the Damage Serverside.

Actually this is easy to decrease by checking the Damage from Weapon or effects in pvp.

Using a if statement in the damageHelper. Actually 2 min work.
04/13/2021 19:59 Salopio#4
Quote:
Originally Posted by XV50 View Post
Because you did not handle the Damage Serverside.

Actually this is easy to decrease by checking the Damage from Weapon or effects in pvp.

Using a if statement in the damageHelper. Actually 2 min work.
Ty, i will see it.