Anguish/Ascend money ticket guy help
i have npcOptionOne where u can talk to him and option two i have this
case 3983:
if (player.getItems().playerHasItem(995, 100000000)) {
player.getItems().deleteItem(995, 100000000);
player.getItems().addItem(620, 1);
}
break;
is there any way i can make it in the same option to also sell the ticket back for 100m coins
I tried this but it will only let u sell one back when u dont have coins on u as soon as u get coin from selling one and try again it takes coins away and gives you a ticket again
case 3983:
if (player.getItems().playerHasItem(995, 100000000)) {
player.getItems().deleteItem(995, 100000000);
player.getItems().addItem(620, 1);
} else {
if (player.getItems().playerHasItem(620, 1))
player.getItems().deleteItem(620, 1);
player.getItems().addItem(995, 100000000);
}
break;
i know i could just add it in optiontThree but i would need a total of five options and only have 4 not sure how to add a option five in the game