日期:2014-05-20 浏览次数:20704 次
package l1j.server.server.model.Instance; import java.sql.Timestamp; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Random; import java.util.Timer; import java.util.concurrent.ConcurrentHashMap; import java.util.logging.Level; import java.util.logging.Logger; import l1j.server.Config; import l1j.server.server.ActionCodes; import l1j.server.server.ClientThread; import l1j.server.server.GeneralThreadPool; import l1j.server.server.PacketOutput; import l1j.server.server.WarTimeController; import l1j.server.server.datatables.CharacterTable; import l1j.server.server.datatables.ClanTable; import l1j.server.server.datatables.ExpTable; import l1j.server.server.datatables.ItemTable; import l1j.server.server.model.HpRegeneration; import l1j.server.server.model.L1Attack; import l1j.server.server.model.L1CastleLocation; import l1j.server.server.model.L1Character; import l1j.server.server.model.L1Clan; import l1j.server.server.model.L1DwarfForClanInventory; import l1j.server.server.model.L1DwarfInventory; import l1j.server.server.model.L1EquipmentSlot; import l1j.server.server.model.L1GameTimeCarrier; import l1j.server.server.model.L1Inventory; import l1j.server.server.model.L1Object; import l1j.server.server.model.L1Party; import l1j.server.server.model.L1PcInventory; import l1j.server.server.model.L1PinkName; import l1j.server.server.model.L1Quest; import l1j.server.server.model.L1Teleport; import l1j.server.server.model.L1TownLocation; import l1j.server.server.model.L1War; import l1j.server.server.model.L1World; import l1j.server.server.model.MpRegeneration; import l1j.server.server.model.classes.L1ClassFeature; import l1j.server.server.model.skill.L1SkillId; import l1j.server.server.model.skill.L1SkillUse; import l1j.server.server.serverpackets.S_AttackStatus; import l1j.server.server.serverpackets.S_BlueMessage; import l1j.server.server.serverpackets.S_CastleMaster; import l1j.server.server.serverpackets.S_ChangeShape; import l1j.server.server.serverpackets.S_DeleteNewObject; import l1j.server.server.serverpackets.S_Disconnect; import l1j.server.server.serverpackets.S_DoActionShop; import l1j.server.server.serverpackets.S_Emblem; import l1j.server.server.serverpackets.S_HPMeter; import l1j.server.server.serverpackets.S_HPUpdate; import l1j.server.server.serverpackets.S_Invis; import l1j.server.server.serverpackets.S_Lawful; import l1j.server.server.serverpackets.S_Liquor; import l1j.server.server.serverpackets.S_MPUpdate; import l1j.server.server.serverpackets.S_OtherCharPacks; import l1j.server.server.serverpackets.S_OwnCharStatus; import l1j.server.server.serverpackets.S_Poison; import l1j.server.server.serverpackets.S_ServerMessage; import l1j.server.server.serverpackets.S_SystemMessage; import l1j.server.server.serverpackets.ServerBasePacket; import l1j.server.server.templates.L1BookMark; import l1j.server.server.templates.L1Item; import l1j.server.server.templates.L1PrivateShopBuyList; import l1j.server.server.templates.L1PrivateShopSellList; import l1j.server.server.utils.CalcStat; // Referenced classes of package l1j.server.server.model: // L1Character, L1DropTable, L1Object, L1ItemInstance, // L1World // public class L1PcInstance extends L1Character { private static final long serialVersionUID = 1L; public static final int CLASSID_KNIGHT_MALE = 61; public static final int CLASSID_KNIGHT_FEMALE = 48; public static final int CLASSID_ELF_MALE = 138; public static final int CLASSID_ELF_FEMALE = 37; public static final int CLASSID_WIZARD_MALE = 734; public static final int CLASSID_WIZARD_FEMALE = 1186; public static final int CLASSID_DARK_ELF_MALE = 2786; public static final int CLASSID_DARK_ELF_FEMALE = 2796; public static final int CLASSID_PRINCE = 0; public static final int CLASSID_PRINCESS = 1; public static final int[] KARMA_POINT = { 10000, 20000, 100000, 500000, 1500000, 3500000, 6500000, 10500000, 15500000 }; private short _hpr = 0; private short _trueHpr = 0;