Enrollment officer dialog option added
This commit is contained in:
@@ -119,9 +119,7 @@ public class VendorDialogMsg extends ClientNetMsg {
|
|||||||
//PlayerCharacter.unboxPlayer(playerCharacter);
|
//PlayerCharacter.unboxPlayer(playerCharacter);
|
||||||
vd = Contract.HandleEnrollmentOfficer(msg.unknown03,npc,playerCharacter);
|
vd = Contract.HandleEnrollmentOfficer(msg.unknown03,npc,playerCharacter);
|
||||||
msg.updateMessage(3, vd);
|
msg.updateMessage(3, vd);
|
||||||
}
|
}else if(contract.getContractID() == 1502042){
|
||||||
|
|
||||||
if(contract.getContractID() == 1502042){
|
|
||||||
vd = Contract.HandleBaneCommanderOptions(msg.unknown03, npc, playerCharacter);
|
vd = Contract.HandleBaneCommanderOptions(msg.unknown03, npc, playerCharacter);
|
||||||
msg.updateMessage(3, vd);
|
msg.updateMessage(3, vd);
|
||||||
}else {
|
}else {
|
||||||
|
|||||||
@@ -200,7 +200,8 @@ public class Contract extends AbstractGameObject {
|
|||||||
|
|
||||||
public static VendorDialog HandleEnrollmentOfficer(int optionId, NPC npc, PlayerCharacter pc){
|
public static VendorDialog HandleEnrollmentOfficer(int optionId, NPC npc, PlayerCharacter pc){
|
||||||
pc.setLastNPCDialog(npc);
|
pc.setLastNPCDialog(npc);
|
||||||
VendorDialog vd = new VendorDialog(VendorDialog.getHostileVendorDialog().getDialogType(),VendorDialog.getHostileVendorDialog().getIntro(),-1);//VendorDialog.getHostileVendorDialog();
|
//VendorDialog vd = new VendorDialog(npc.contract.getVendorDialog().getDialogType(),npc.contract.getVendorDialog().getIntro(),-1);//VendorDialog.getHostileVendorDialog();
|
||||||
|
VendorDialog vd = new VendorDialog(npc.contract.getVendorDialog().getDialogType(),npc.contract.getVendorDialog().getIntro(),-1);//VendorDialog.getHostileVendorDialog();
|
||||||
vd.getOptions().clear();
|
vd.getOptions().clear();
|
||||||
switch(optionId) {
|
switch(optionId) {
|
||||||
default:
|
default:
|
||||||
@@ -211,6 +212,7 @@ public class Contract extends AbstractGameObject {
|
|||||||
break;
|
break;
|
||||||
case 15020401:
|
case 15020401:
|
||||||
PlayerCharacter.unboxPlayer(pc);
|
PlayerCharacter.unboxPlayer(pc);
|
||||||
|
vd.getOptions().clear();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return vd;
|
return vd;
|
||||||
|
|||||||
Reference in New Issue
Block a user