S Skymomo New member Messages 14 Points 0 Dec 13, 2013 #2 hi hercules i want to remove the no item effect of diamond dust but i can't find the code please help me
hi hercules i want to remove the no item effect of diamond dust but i can't find the code please help me
S Skymomo New member Messages 14 Points 0 Dec 18, 2013 #3 help please i can't find the code that disables the user to use any item
pan Community Contributors Messages 355 Points 0 Github panikon Emulator Dec 18, 2013 #4 Open src/map/pc.c and search for: if (nameid != ITEMID_NAUTHIZ && sd->sc.opt1 > 0 && sd->sc.opt1 != OPT1_STONEWAIT && sd->sc.opt1 != OPT1_BURNING)replace with: Code: if (nameid != ITEMID_NAUTHIZ && sd->sc.opt1 > 0 && !sd->sc.opt1 != OPT1_CRYSTALIZE && sd->sc.opt1 != OPT1_STONEWAIT && sd->sc.opt1 != OPT1_BURNING) All those skills and npc effects that use SC_COLD will also be affected and the user will be able to use items.Hope this works c:
Open src/map/pc.c and search for: if (nameid != ITEMID_NAUTHIZ && sd->sc.opt1 > 0 && sd->sc.opt1 != OPT1_STONEWAIT && sd->sc.opt1 != OPT1_BURNING)replace with: Code: if (nameid != ITEMID_NAUTHIZ && sd->sc.opt1 > 0 && !sd->sc.opt1 != OPT1_CRYSTALIZE && sd->sc.opt1 != OPT1_STONEWAIT && sd->sc.opt1 != OPT1_BURNING) All those skills and npc effects that use SC_COLD will also be affected and the user will be able to use items.Hope this works c: