mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-28 05:16:08 +02:00
Fixed command bug on class change. Implmented more of the local levequest errors and such.
This commit is contained in:
parent
eca510c489
commit
6d66f6aae3
7 changed files with 161 additions and 85 deletions
|
@ -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)
|
||||
|
|
|
@ -74,6 +74,7 @@ namespace Meteor.Map.Actors
|
|||
{
|
||||
currentCrafted += (short) targetRecipe.resultQuantity;
|
||||
currentAttempt++;
|
||||
|
||||
}
|
||||
|
||||
public void CraftFail()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue