NPCS Giving Buffs =( No flames ty

Results 1 to 12 of 12
  1. #1
    Proficient Member Ghost Recon is offline
    MemberRank
    Sep 2009 Join Date
    AppleLocation
    183Posts

    cool NPCS Giving Buffs =( No flames ty

    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((MapleCharacterchr);
        } 
    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.
    Last edited by Ghost Recon; 18-10-09 at 06:23 PM.


  2. #2
    Account Upgraded | Title Enabled! Ducky is offline
    MemberRank
    Sep 2009 Join Date
    Corn CityLocation
    261Posts

    Re: NPCS Giving Buffs =( No flames ty

    Quote Originally Posted by Ghost Recon View Post
    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((MapleCharacterchr);
        } 
    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.
    Nice if your repack doesn't have :)

  3. #3
    Proficient Member Ghost Recon is offline
    MemberRank
    Sep 2009 Join Date
    AppleLocation
    183Posts

    Re: NPCS Giving Buffs =( No flames ty

    Yup.My repack doesnt contain this.

  4. #4
    Account Upgraded | Title Enabled! PinkGatsby is offline
    MemberRank
    Mar 2009 Join Date
    AmericaLocation
    434Posts

    Re: NPCS Giving Buffs =( No flames ty

    Too bad it won't work.

  5. #5
    Proficient Member Ghost Recon is offline
    MemberRank
    Sep 2009 Join Date
    AppleLocation
    183Posts

    Re: NPCS Giving Buffs =( No flames ty

    Huh?it works? I tested

  6. #6
    Account Upgraded | Title Enabled! Folderz is offline
    MemberRank
    Aug 2009 Join Date
    449Posts

    Re: NPCS Giving Buffs =( No flames ty

    syntax error

  7. #7
    Account Upgraded | Title Enabled! X-Tasis is offline
    MemberRank
    Feb 2009 Join Date
    1,192Posts

    Re: NPCS Giving Buffs =( No flames ty

    So, you make the parameter and can't use it?

  8. #8
    Account Upgraded | Title Enabled! Generic230 is offline
    MemberRank
    Jul 2009 Join Date
    506Posts

    Re: NPCS Giving Buffs =( No flames ty

    Quote Originally Posted by Ghost Recon View Post
    Huh?it works? I tested
    Obviously not. :)

  9. #9
    Valued Member GoldenKevin is offline
    MemberRank
    Oct 2008 Join Date
    117Posts

    Re: NPCS Giving Buffs =( No flames ty

    Quote Originally Posted by Ghost Recon
    HAHAHA disregard that, i suck cocks.
    Quoted for the truth.

    By the way :

    cm.giveBuff();
    is equal to

    public void giveBuff(MapleCharacter chr) {
    ??????????
    Last edited by GoldenKevin; 18-10-09 at 07:12 PM.

  10. #10
    Account Upgraded | Title Enabled! X-Tasis is offline
    MemberRank
    Feb 2009 Join Date
    1,192Posts

    Re: NPCS Giving Buffs =( No flames ty

    BTW, this is a copy of Jvlaple Wonkabuff. A bad copy, and not well used method.

  11. #11
    Xephizion Development Ehab is offline
    MemberRank
    Apr 2008 Join Date
    Somewhere I BelLocation
    1,935Posts

    Re: NPCS Giving Buffs =( No flames ty

    public void giveBuff(MapleCharacter chr) {

    to
    public void giveBuff() {


    might work like that

  12. #12
    Account Upgraded | Title Enabled! Generic230 is offline
    MemberRank
    Jul 2009 Join Date
    506Posts

    Re: NPCS Giving Buffs =( No flames ty

    Quote Originally Posted by Ehab View Post
    public void giveBuff(MapleCharacter chr) {

    to
    public void giveBuff() {


    might work like that
    ^ idiot.



Advertisement