• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Pvp damage reduction.

  • Thread starter Thread starter Rozinx
  • Start date Start date
R

Rozinx

Guest
I've been browsing my sources and have not found a solution for that yet.

I want pvp damage to be 1/4 of the PvM damage (pvm = player versus monster, I guess you guys know that)

Anyone?
Thanks in advance.

Rozinx.
 
Thanks @up

But I found another solution for that.
if(healthChange < 0)
Code:
{
		if(caster && caster->getPlayer() && target->getPlayer())
			healthChange = healthChange / 2;
	}

Just change the 2 to 4.
 
Chojrak, you made it so that when a player attacks a monster, it'd do 1/4, am I right? I think he wants it with PvP.
 
Back
Top