Hey guys, so I'm trying to get my slayer to work. I can get my slayer master to say a message, and give 5 task options. (easy, medium, hard, elite, nevermind)
The only problem I have is to make him actually give the task, which I'm not really sure how to do. I'm using the Dawntained release btw.
at first I tried this, but it said cannot make static reference.
Code:
//easy task
case 5:
Slayer.giveTask(1);
break;
So I tried this, but I dont know where or how to add the constructor for getSlayer.
Code:
//easy task
case 5:
player.getSlayer.giveTask(1);
break;