bane commander NPC
This commit is contained in:
@@ -187,6 +187,16 @@ public class Contract extends AbstractGameObject {
|
||||
}
|
||||
|
||||
public VendorDialog getVendorDialog() {
|
||||
if(this.contractID == 1502042) {
|
||||
VendorDialog vd = VendorDialog.getHostileVendorDialog();
|
||||
vd.getOptions().clear();
|
||||
MenuOption option1 = new MenuOption(796,"Set Bane Day",796);
|
||||
vd.getOptions().add(option1);
|
||||
return vd;
|
||||
}
|
||||
|
||||
|
||||
|
||||
return this.vendorDialog;
|
||||
}
|
||||
|
||||
|
||||
@@ -31,6 +31,13 @@ public class MenuOption extends AbstractGameObject {
|
||||
this.prereq = rs.getInt("prereq");
|
||||
}
|
||||
|
||||
public MenuOption(int id, String msg, int option){
|
||||
this.menuID = id;
|
||||
this.message = msg;
|
||||
this.optionID = option;
|
||||
this.prereq = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Getters
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user