public ActorNPC(uint npcType, ushort HP, ushort maxHP, ushort SP, ushort maxSP) { this.type = ActorType.NPC; this.npcType = npcType; this.HP = HP; this.maxHP = maxHP; this.SP = SP; this.maxSP = maxSP; this.aStats = new int[3]; this.Attribute = new NPCAttribute(); this.Attribute.icons = new byte[0]; }
public ActorNPC(uint npcType, ushort HP, ushort maxHP, ushort SP, ushort maxSP) { this.type = ActorType.NPC; this.npcType = npcType; this.HP = HP; this.maxHP = maxHP; this.SP = SP; this.maxSP = maxSP; this.aStats = new int[3]; this.Attribute =new NPCAttribute(); this.Attribute.icons = new byte[0]; }
private static void _lcs_Attribute(NPCProto proto, NPCAttribute attrib, int oldValue, int newValue) { CharStat cs = CharStat.AttributeStart + (int)attrib; log_CharacterStat(proto, cs, newValue); }