Nexon cash cards give you nx when picked up (Odin)

Status
Not open for further replies.
You've got my respect!
Joined
Apr 8, 2008
Messages
508
Reaction score
147
In MapleInventoryManipulator.java
In public static boolean addFromDrop
Add:
Code:
if(item.getItemId() == 4031530)
                {
                    c.getPlayer().modifyCSPoints(0, 100);
                    c.getSession().write(MaplePacketCreator.enableActions());
                    c.getSession().write(MaplePacketCreator.serverNotice(6, "You have gained 100 NX cash"));
                    return true;
                } else if (item.getItemId() == 4031531) {
                    c.getPlayer().modifyCSPoints(0, 250);
                    c.getSession().write(MaplePacketCreator.enableActions());
                    c.getSession().write(MaplePacketCreator.serverNotice(6, "You have gained 250 NX cash"));
                    return true;
                }
Before:
Code:
short quantity = item.getQuantity();
        if (!type.equals(MapleInventoryType.EQUIP)) {

Have fun.
The card ids are 4031530 and 4031531.
 
Re: [Release] Nexon cash cards give you nx when picked up (Odin)

what it do is auto get the nx and the item disapear? o.o
 
Re: [Release] Nexon cash cards give you nx when picked up (Odin)

No, I said What are the IDs of the cash card, and then I saw them in the code so I said Jkay
 
Re: [Release] Nexon cash cards give you nx when picked up (Odin)

It looks pretty cool I'll try it out!
 
Status
Not open for further replies.
Back