mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-27 18:52:27 +00:00
Fix for server side everything showing as MR
This commit is contained in:
parent
3945a8c0c0
commit
2d6950149a
@ -1025,7 +1025,7 @@ int32 Client::CalcMR()
|
|||||||
|
|
||||||
int32 Client::CalcFR()
|
int32 Client::CalcFR()
|
||||||
{
|
{
|
||||||
MR = m_pp.fire_resist;
|
FR = m_pp.fire_resist;
|
||||||
int c = GetClass();
|
int c = GetClass();
|
||||||
if (c == Class::Ranger) {
|
if (c == Class::Ranger) {
|
||||||
FR += 4;
|
FR += 4;
|
||||||
@ -1053,7 +1053,7 @@ int32 Client::CalcFR()
|
|||||||
|
|
||||||
int32 Client::CalcDR()
|
int32 Client::CalcDR()
|
||||||
{
|
{
|
||||||
MR = m_pp.disease_resist;
|
DR = m_pp.disease_resist;
|
||||||
int c = GetClass();
|
int c = GetClass();
|
||||||
// the monk one is part of base resist
|
// the monk one is part of base resist
|
||||||
if (c == Class::Monk) {
|
if (c == Class::Monk) {
|
||||||
@ -1087,7 +1087,7 @@ int32 Client::CalcDR()
|
|||||||
|
|
||||||
int32 Client::CalcPR()
|
int32 Client::CalcPR()
|
||||||
{
|
{
|
||||||
MR = m_pp.poison_resist;
|
PR = m_pp.poison_resist;
|
||||||
int c = GetClass();
|
int c = GetClass();
|
||||||
// this monk bonus is part of the base
|
// this monk bonus is part of the base
|
||||||
if (c == Class::Monk) {
|
if (c == Class::Monk) {
|
||||||
@ -1121,7 +1121,7 @@ int32 Client::CalcPR()
|
|||||||
|
|
||||||
int32 Client::CalcCR()
|
int32 Client::CalcCR()
|
||||||
{
|
{
|
||||||
MR = m_pp.cold_resist;
|
CR = m_pp.cold_resist;
|
||||||
int c = GetClass();
|
int c = GetClass();
|
||||||
if (c == Class::Ranger || c == Class::Beastlord) {
|
if (c == Class::Ranger || c == Class::Beastlord) {
|
||||||
CR += 4;
|
CR += 4;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user