- Joined
- Apr 8, 2008
- Messages
- 508
- Reaction score
- 147
In MapleInventoryManipulator.java
In public static boolean addFromDrop
Add:
Before:
Have fun.
The card ids are 4031530 and 4031531.
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;
}
Code:
short quantity = item.getQuantity();
if (!type.equals(MapleInventoryType.EQUIP)) {
Have fun.
The card ids are 4031530 and 4031531.