cache/NpcLoader: add category opcode from rev 195
This commit is contained in:
@@ -64,4 +64,5 @@ public class NpcDefinition
|
||||
public boolean rotationFlag = true;
|
||||
public boolean isPet;
|
||||
public Map<Integer, Object> params;
|
||||
public int category;
|
||||
}
|
||||
|
||||
@@ -98,6 +98,10 @@ public class NpcLoader
|
||||
def.rotate90RightAnimation = stream.readUnsignedShort();
|
||||
def.rotate90LeftAnimation = stream.readUnsignedShort();
|
||||
}
|
||||
else if (opcode == 18)
|
||||
{
|
||||
def.category = stream.readUnsignedShort();
|
||||
}
|
||||
else if (opcode >= 30 && opcode < 35)
|
||||
{
|
||||
def.actions[opcode - 30] = stream.readString();
|
||||
|
||||
Reference in New Issue
Block a user