How do we Add?
Go to NPCConversationManager And put in This
PHP Code:
public void giveBuff(MapleCharacter chr) {
int Buffs[] = {[SKILL/BUFFS ID]};
MapleItemInformationProvider.getInstance().getItemEffect(Buffs[(int) Math.round(Math.random() * 4)]).applyTo((MapleCharacter) chr);
}
Replace That [Skill/Buffs ID] With your skill/buffs ID
And Go To Your Npc And put cm.giveBuff
Whole Code
PHP Code:
function start() {
cm.sendOk("I shall give u buffs");
cm.giveBuff();
cm.dispose();
}
If your repack seems to have it,dun flame ty as my repack doesnt contains.
Did not leech.
Fully working,please compile and i tested it,i think it will not show any errors.If there are,please tell
Updated.