It's been a while since I wrote skills, and when I did write them it was for delta, so if someone would be kind enough to show me what I've done wrong here, I can finish the rest of the itemOnItem skills.
Code:
package server.model.players.skills;
import server.Config;
import server.model.players.Client
/** Unfinished Pots
* base Sanity
* @author Zach
*/
public class UnfinishedPots {
private Client C;
/* Vial Of Water */
private int[][] supplies = {{227, 227, 227, 227, 227, 227, 227, 227, 227},
/* Herbs */
{249, 251, 253, 255, 257, 259, 263, 3000, 265},
/* Unfinished Pots */ //Output
{91, 93, 95, 97, 99, 101, 105, 107, 3004},
};
public UnfinishedPots(Client c) {
this.c = c;
}
int first = [supplies][ArrayIndex][0];
int second = [supplies][ArrayIndex][1];
int last = [supplies][ArrayIndex][2];
public void makeUnf(int first, int second, int last) {
deleteItem(first);
deleteItem(second);
addItem(last);
sendMessage("You combine the supplies together.");
}
}
I know my void is wrong, and I'm pretty sure I declared the array wrong lol.