Just put them into item2.java, Create in to NPChandler.
|
ok on my friends server, he has a monster that drops 1m gp and a random peice of rune armor, how i make it so a monster wuld drop 1m? :]
if possible, as a random drop along with my other drops? :]
Just put them into item2.java, Create in to NPChandler.
no clue wat u meant?
i want it 2 drop 1m gp, not 1gp
like if i set it up for a skeleton to drop item 995, it only drops 1gp...
how i make it more?? :\
So you would use something likeCode:public void createGroundItem(int itemID, int itemX, int itemY, int itemAmount) {// Phate: Omg fucking sexy! creates item at absolute X and Y outStream.createFrame(85); // Phate: Spawn ground item outStream.writeByteC((itemY - 8 * mapRegionY)); outStream.writeByteC((itemX - 8 * mapRegionX)); outStream.createFrame(44); outStream.writeWordBigEndianA(itemID); outStream.writeWord(itemAmount); outStream.writeByte(0); // x(4 MSB) y(LSB) coords }
Hope i helpedCode:createGroundItem(995, NPC.absX, NPC.absY, 2000000);
minutes, its a czar sorce
{// Phate: Omg fucking sexy! creates item at absolute X and Y
haha
put 995, then 1000000 can't explain it much more don't just put 995 tab and put 1000000 so it drops 1m.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |