PcCafe packet improvements.
Contributed by darkillust.
This commit is contained in:
@ -123,7 +123,7 @@ public final class AdminPcCafePoints implements IAdminCommandHandler
|
|||||||
target.setPcCafePoints(pcCafeCount);
|
target.setPcCafePoints(pcCafeCount);
|
||||||
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
||||||
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
||||||
target.sendPacket(new ExPCCafePointInfo(pcCafeCount, value, 1));
|
target.sendPacket(new ExPCCafePointInfo(target.getPcCafePoints(), -value, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "rewardOnline":
|
case "rewardOnline":
|
||||||
|
@ -329,7 +329,7 @@ public class MultiSellChoose implements IClientIncomingPacket
|
|||||||
case PC_CAFE_POINTS:
|
case PC_CAFE_POINTS:
|
||||||
{
|
{
|
||||||
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
||||||
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) totalCount, 1));
|
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) -totalCount, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
@ -47,8 +47,8 @@ public class ExPCCafePointInfo implements IClientOutgoingPacket
|
|||||||
_points = points;
|
_points = points;
|
||||||
_mAddPoint = pointsToAdd;
|
_mAddPoint = pointsToAdd;
|
||||||
_mPeriodType = 1;
|
_mPeriodType = 1;
|
||||||
_remainTime = 42; // No idea why but retail sends 42..
|
_remainTime = 0; // No idea why but retail sends 42..
|
||||||
_pointType = pointsToAdd < 0 ? 3 : 0; // When using points is 3
|
_pointType = pointsToAdd < 0 ? 2 : 1; // When using points is 3
|
||||||
_time = time;
|
_time = time;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ public final class AdminPcCafePoints implements IAdminCommandHandler
|
|||||||
target.setPcCafePoints(pcCafeCount);
|
target.setPcCafePoints(pcCafeCount);
|
||||||
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
||||||
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
||||||
target.sendPacket(new ExPCCafePointInfo(pcCafeCount, value, 1));
|
target.sendPacket(new ExPCCafePointInfo(target.getPcCafePoints(), -value, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "rewardOnline":
|
case "rewardOnline":
|
||||||
|
@ -357,7 +357,7 @@ public class MultiSellChoose implements IClientIncomingPacket
|
|||||||
case PC_CAFE_POINTS:
|
case PC_CAFE_POINTS:
|
||||||
{
|
{
|
||||||
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
||||||
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) totalCount, 1));
|
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) -totalCount, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
@ -47,8 +47,8 @@ public class ExPCCafePointInfo implements IClientOutgoingPacket
|
|||||||
_points = points;
|
_points = points;
|
||||||
_mAddPoint = pointsToAdd;
|
_mAddPoint = pointsToAdd;
|
||||||
_mPeriodType = 1;
|
_mPeriodType = 1;
|
||||||
_remainTime = 42; // No idea why but retail sends 42..
|
_remainTime = 0; // No idea why but retail sends 42..
|
||||||
_pointType = pointsToAdd < 0 ? 3 : 0; // When using points is 3
|
_pointType = pointsToAdd < 0 ? 2 : 1; // When using points is 3
|
||||||
_time = time;
|
_time = time;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ public final class AdminPcCafePoints implements IAdminCommandHandler
|
|||||||
target.setPcCafePoints(pcCafeCount);
|
target.setPcCafePoints(pcCafeCount);
|
||||||
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
||||||
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
||||||
target.sendPacket(new ExPCCafePointInfo(pcCafeCount, value, 1));
|
target.sendPacket(new ExPCCafePointInfo(target.getPcCafePoints(), -value, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "rewardOnline":
|
case "rewardOnline":
|
||||||
|
@ -357,7 +357,7 @@ public class MultiSellChoose implements IClientIncomingPacket
|
|||||||
case PC_CAFE_POINTS:
|
case PC_CAFE_POINTS:
|
||||||
{
|
{
|
||||||
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
||||||
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) totalCount, 1));
|
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) -totalCount, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
@ -47,8 +47,8 @@ public class ExPCCafePointInfo implements IClientOutgoingPacket
|
|||||||
_points = points;
|
_points = points;
|
||||||
_mAddPoint = pointsToAdd;
|
_mAddPoint = pointsToAdd;
|
||||||
_mPeriodType = 1;
|
_mPeriodType = 1;
|
||||||
_remainTime = 42; // No idea why but retail sends 42..
|
_remainTime = 0; // No idea why but retail sends 42..
|
||||||
_pointType = pointsToAdd < 0 ? 3 : 0; // When using points is 3
|
_pointType = pointsToAdd < 0 ? 2 : 1; // When using points is 3
|
||||||
_time = time;
|
_time = time;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ public final class AdminPcCafePoints implements IAdminCommandHandler
|
|||||||
target.setPcCafePoints(pcCafeCount);
|
target.setPcCafePoints(pcCafeCount);
|
||||||
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
||||||
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
||||||
target.sendPacket(new ExPCCafePointInfo(pcCafeCount, value, 1));
|
target.sendPacket(new ExPCCafePointInfo(target.getPcCafePoints(), -value, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "rewardOnline":
|
case "rewardOnline":
|
||||||
|
@ -357,7 +357,7 @@ public class MultiSellChoose implements IClientIncomingPacket
|
|||||||
case PC_CAFE_POINTS:
|
case PC_CAFE_POINTS:
|
||||||
{
|
{
|
||||||
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
||||||
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) totalCount, 1));
|
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) -totalCount, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
@ -47,8 +47,8 @@ public class ExPCCafePointInfo implements IClientOutgoingPacket
|
|||||||
_points = points;
|
_points = points;
|
||||||
_mAddPoint = pointsToAdd;
|
_mAddPoint = pointsToAdd;
|
||||||
_mPeriodType = 1;
|
_mPeriodType = 1;
|
||||||
_remainTime = 42; // No idea why but retail sends 42..
|
_remainTime = 0; // No idea why but retail sends 42..
|
||||||
_pointType = pointsToAdd < 0 ? 3 : 0; // When using points is 3
|
_pointType = pointsToAdd < 0 ? 2 : 1; // When using points is 3
|
||||||
_time = time;
|
_time = time;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ public final class AdminPcCafePoints implements IAdminCommandHandler
|
|||||||
target.setPcCafePoints(pcCafeCount);
|
target.setPcCafePoints(pcCafeCount);
|
||||||
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
||||||
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
||||||
target.sendPacket(new ExPCCafePointInfo(pcCafeCount, value, 1));
|
target.sendPacket(new ExPCCafePointInfo(target.getPcCafePoints(), -value, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "rewardOnline":
|
case "rewardOnline":
|
||||||
|
@ -357,7 +357,7 @@ public class MultiSellChoose implements IClientIncomingPacket
|
|||||||
case PC_CAFE_POINTS:
|
case PC_CAFE_POINTS:
|
||||||
{
|
{
|
||||||
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
||||||
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) totalCount, 1));
|
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) -totalCount, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
@ -47,8 +47,8 @@ public class ExPCCafePointInfo implements IClientOutgoingPacket
|
|||||||
_points = points;
|
_points = points;
|
||||||
_mAddPoint = pointsToAdd;
|
_mAddPoint = pointsToAdd;
|
||||||
_mPeriodType = 1;
|
_mPeriodType = 1;
|
||||||
_remainTime = 42; // No idea why but retail sends 42..
|
_remainTime = 0; // No idea why but retail sends 42..
|
||||||
_pointType = pointsToAdd < 0 ? 3 : 0; // When using points is 3
|
_pointType = pointsToAdd < 0 ? 2 : 1; // When using points is 3
|
||||||
_time = time;
|
_time = time;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ public final class AdminPcCafePoints implements IAdminCommandHandler
|
|||||||
target.setPcCafePoints(pcCafeCount);
|
target.setPcCafePoints(pcCafeCount);
|
||||||
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
||||||
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
||||||
target.sendPacket(new ExPCCafePointInfo(pcCafeCount, value, 1));
|
target.sendPacket(new ExPCCafePointInfo(target.getPcCafePoints(), -value, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "rewardOnline":
|
case "rewardOnline":
|
||||||
|
@ -357,7 +357,7 @@ public class MultiSellChoose implements IClientIncomingPacket
|
|||||||
case PC_CAFE_POINTS:
|
case PC_CAFE_POINTS:
|
||||||
{
|
{
|
||||||
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
||||||
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) totalCount, 1));
|
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) -totalCount, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
@ -47,8 +47,8 @@ public class ExPCCafePointInfo implements IClientOutgoingPacket
|
|||||||
_points = points;
|
_points = points;
|
||||||
_mAddPoint = pointsToAdd;
|
_mAddPoint = pointsToAdd;
|
||||||
_mPeriodType = 1;
|
_mPeriodType = 1;
|
||||||
_remainTime = 42; // No idea why but retail sends 42..
|
_remainTime = 0; // No idea why but retail sends 42..
|
||||||
_pointType = pointsToAdd < 0 ? 3 : 0; // When using points is 3
|
_pointType = pointsToAdd < 0 ? 2 : 1; // When using points is 3
|
||||||
_time = time;
|
_time = time;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ public final class AdminPcCafePoints implements IAdminCommandHandler
|
|||||||
target.setPcCafePoints(pcCafeCount);
|
target.setPcCafePoints(pcCafeCount);
|
||||||
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
||||||
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
||||||
target.sendPacket(new ExPCCafePointInfo(pcCafeCount, value, 1));
|
target.sendPacket(new ExPCCafePointInfo(target.getPcCafePoints(), -value, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "rewardOnline":
|
case "rewardOnline":
|
||||||
|
@ -357,7 +357,7 @@ public class MultiSellChoose implements IClientIncomingPacket
|
|||||||
case PC_CAFE_POINTS:
|
case PC_CAFE_POINTS:
|
||||||
{
|
{
|
||||||
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
||||||
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) totalCount, 1));
|
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) -totalCount, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
@ -47,8 +47,8 @@ public class ExPCCafePointInfo implements IClientOutgoingPacket
|
|||||||
_points = points;
|
_points = points;
|
||||||
_mAddPoint = pointsToAdd;
|
_mAddPoint = pointsToAdd;
|
||||||
_mPeriodType = 1;
|
_mPeriodType = 1;
|
||||||
_remainTime = 42; // No idea why but retail sends 42..
|
_remainTime = 0; // No idea why but retail sends 42..
|
||||||
_pointType = pointsToAdd < 0 ? 3 : 0; // When using points is 3
|
_pointType = pointsToAdd < 0 ? 2 : 1; // When using points is 3
|
||||||
_time = time;
|
_time = time;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ public final class AdminPcCafePoints implements IAdminCommandHandler
|
|||||||
target.setPcCafePoints(pcCafeCount);
|
target.setPcCafePoints(pcCafeCount);
|
||||||
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
||||||
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
||||||
target.sendPacket(new ExPCCafePointInfo(pcCafeCount, value, 1));
|
target.sendPacket(new ExPCCafePointInfo(target.getPcCafePoints(), -value, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "rewardOnline":
|
case "rewardOnline":
|
||||||
|
@ -357,7 +357,7 @@ public class MultiSellChoose implements IClientIncomingPacket
|
|||||||
case PC_CAFE_POINTS:
|
case PC_CAFE_POINTS:
|
||||||
{
|
{
|
||||||
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
||||||
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) totalCount, 1));
|
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) -totalCount, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
@ -47,8 +47,8 @@ public class ExPCCafePointInfo implements IClientOutgoingPacket
|
|||||||
_points = points;
|
_points = points;
|
||||||
_mAddPoint = pointsToAdd;
|
_mAddPoint = pointsToAdd;
|
||||||
_mPeriodType = 1;
|
_mPeriodType = 1;
|
||||||
_remainTime = 42; // No idea why but retail sends 42..
|
_remainTime = 0; // No idea why but retail sends 42..
|
||||||
_pointType = pointsToAdd < 0 ? 3 : 0; // When using points is 3
|
_pointType = pointsToAdd < 0 ? 2 : 1; // When using points is 3
|
||||||
_time = time;
|
_time = time;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ public final class AdminPcCafePoints implements IAdminCommandHandler
|
|||||||
target.setPcCafePoints(pcCafeCount);
|
target.setPcCafePoints(pcCafeCount);
|
||||||
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
||||||
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
||||||
target.sendPacket(new ExPCCafePointInfo(pcCafeCount, value, 1));
|
target.sendPacket(new ExPCCafePointInfo(target.getPcCafePoints(), -value, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "rewardOnline":
|
case "rewardOnline":
|
||||||
|
@ -357,7 +357,7 @@ public class MultiSellChoose implements IClientIncomingPacket
|
|||||||
case PC_CAFE_POINTS:
|
case PC_CAFE_POINTS:
|
||||||
{
|
{
|
||||||
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
||||||
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) totalCount, 1));
|
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) -totalCount, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
@ -47,8 +47,8 @@ public class ExPCCafePointInfo implements IClientOutgoingPacket
|
|||||||
_points = points;
|
_points = points;
|
||||||
_mAddPoint = pointsToAdd;
|
_mAddPoint = pointsToAdd;
|
||||||
_mPeriodType = 1;
|
_mPeriodType = 1;
|
||||||
_remainTime = 42; // No idea why but retail sends 42..
|
_remainTime = 0; // No idea why but retail sends 42..
|
||||||
_pointType = pointsToAdd < 0 ? 3 : 0; // When using points is 3
|
_pointType = pointsToAdd < 0 ? 2 : 1; // When using points is 3
|
||||||
_time = time;
|
_time = time;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ public final class AdminPcCafePoints implements IAdminCommandHandler
|
|||||||
target.setPcCafePoints(pcCafeCount);
|
target.setPcCafePoints(pcCafeCount);
|
||||||
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
target.sendMessage("Admin decreased your PC Cafe point(s) by " + value + "!");
|
||||||
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
BuilderUtil.sendSysMessage(activeChar, "You decreased PC Cafe point(s) of " + target.getName() + " by " + value);
|
||||||
target.sendPacket(new ExPCCafePointInfo(pcCafeCount, value, 1));
|
target.sendPacket(new ExPCCafePointInfo(target.getPcCafePoints(), -value, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "rewardOnline":
|
case "rewardOnline":
|
||||||
|
@ -357,7 +357,7 @@ public class MultiSellChoose implements IClientIncomingPacket
|
|||||||
case PC_CAFE_POINTS:
|
case PC_CAFE_POINTS:
|
||||||
{
|
{
|
||||||
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
player.setPcCafePoints((int) (player.getPcCafePoints() - totalCount));
|
||||||
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) totalCount, 1));
|
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) -totalCount, 1));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
@ -47,8 +47,8 @@ public class ExPCCafePointInfo implements IClientOutgoingPacket
|
|||||||
_points = points;
|
_points = points;
|
||||||
_mAddPoint = pointsToAdd;
|
_mAddPoint = pointsToAdd;
|
||||||
_mPeriodType = 1;
|
_mPeriodType = 1;
|
||||||
_remainTime = 42; // No idea why but retail sends 42..
|
_remainTime = 0; // No idea why but retail sends 42..
|
||||||
_pointType = pointsToAdd < 0 ? 3 : 0; // When using points is 3
|
_pointType = pointsToAdd < 0 ? 2 : 1; // When using points is 3
|
||||||
_time = time;
|
_time = time;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user