Fixed command bug on class change. Implmented more of the local levequest errors and such.

This commit is contained in:
Filip Maj 2021-02-28 16:20:24 -05:00
parent eca510c489
commit 6d66f6aae3
7 changed files with 161 additions and 85 deletions

View file

@ -1265,6 +1265,12 @@ namespace Meteor.Map.Actors
charaWork.command[16] = 0xA0F00000 | 22005; //Herd
charaWork.command[17] = 0xA0F00000 | 22009; //Herd 2
}
ActorPropertyPacketUtil propertyBuilder = new ActorPropertyPacketUtil("charaWork/command", this);
propertyBuilder.AddProperty(string.Format("charaWork.command[{0}]", 16));
propertyBuilder.AddProperty(string.Format("charaWork.commandCategory[{0}]", 17));
List<SubPacket> packets = propertyBuilder.Done();
QueuePackets(packets);
}
public void UpdateClassLevel(byte classId, short level)

View file

@ -74,6 +74,7 @@ namespace Meteor.Map.Actors
{
currentCrafted += (short) targetRecipe.resultQuantity;
currentAttempt++;
}
public void CraftFail()