Do not send vitality message when quiet.
This commit is contained in:
parent
f5cb5fbf53
commit
10233624cf
@ -494,6 +494,8 @@ public class PcStat extends PlayableStat
|
||||
return;
|
||||
}
|
||||
|
||||
if (!quiet)
|
||||
{
|
||||
if (points < getVitalityPoints())
|
||||
{
|
||||
getActiveChar().sendPacket(SystemMessageId.YOUR_VITALITY_HAS_DECREASED);
|
||||
@ -502,6 +504,7 @@ public class PcStat extends PlayableStat
|
||||
{
|
||||
getActiveChar().sendPacket(SystemMessageId.YOUR_VITALITY_HAS_INCREASED);
|
||||
}
|
||||
}
|
||||
|
||||
setVitalityPoints(points);
|
||||
|
||||
|
@ -496,6 +496,8 @@ public class PcStat extends PlayableStat
|
||||
return;
|
||||
}
|
||||
|
||||
if (!quiet)
|
||||
{
|
||||
if (points < getVitalityPoints())
|
||||
{
|
||||
getActiveChar().sendPacket(SystemMessageId.YOUR_VITALITY_HAS_DECREASED);
|
||||
@ -504,6 +506,7 @@ public class PcStat extends PlayableStat
|
||||
{
|
||||
getActiveChar().sendPacket(SystemMessageId.YOUR_VITALITY_HAS_INCREASED);
|
||||
}
|
||||
}
|
||||
|
||||
setVitalityPoints(points);
|
||||
|
||||
|
@ -496,6 +496,8 @@ public class PcStat extends PlayableStat
|
||||
return;
|
||||
}
|
||||
|
||||
if (!quiet)
|
||||
{
|
||||
if (points < getVitalityPoints())
|
||||
{
|
||||
getActiveChar().sendPacket(SystemMessageId.YOUR_VITALITY_HAS_DECREASED);
|
||||
@ -504,6 +506,7 @@ public class PcStat extends PlayableStat
|
||||
{
|
||||
getActiveChar().sendPacket(SystemMessageId.YOUR_VITALITY_HAS_INCREASED);
|
||||
}
|
||||
}
|
||||
|
||||
setVitalityPoints(points);
|
||||
|
||||
|
@ -491,6 +491,8 @@ public class PcStat extends PlayableStat
|
||||
return;
|
||||
}
|
||||
|
||||
if (!quiet)
|
||||
{
|
||||
if (points < getVitalityPoints())
|
||||
{
|
||||
getActiveChar().sendPacket(SystemMessageId.YOUR_VITALITY_HAS_DECREASED);
|
||||
@ -499,6 +501,7 @@ public class PcStat extends PlayableStat
|
||||
{
|
||||
getActiveChar().sendPacket(SystemMessageId.YOUR_VITALITY_HAS_INCREASED);
|
||||
}
|
||||
}
|
||||
|
||||
setVitalityPoints(points);
|
||||
|
||||
|
@ -496,6 +496,8 @@ public class PcStat extends PlayableStat
|
||||
return;
|
||||
}
|
||||
|
||||
if (!quiet)
|
||||
{
|
||||
if (points < getVitalityPoints())
|
||||
{
|
||||
getActiveChar().sendPacket(SystemMessageId.YOUR_VITALITY_HAS_DECREASED);
|
||||
@ -504,6 +506,7 @@ public class PcStat extends PlayableStat
|
||||
{
|
||||
getActiveChar().sendPacket(SystemMessageId.YOUR_VITALITY_HAS_INCREASED);
|
||||
}
|
||||
}
|
||||
|
||||
setVitalityPoints(points);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user