Is anyone here know how to make Buffer NPC??

Status
Not open for further replies.
how do you like your Buff do?

1. is it for free or with fee?
2. with heal function?
3. one click instant buff or with dialogs?



Actually i have made my own heal&buffer BPC..... heal is free but buffing will cost some zeny....
 
I can make you a buffer but can you like give me credit or something? I made this one for my server and it's pretty easy to use. The buffer gives you two choices. One: Heal alone for free and Two: Heal + Buffs for 5k Zeny.

You can edit it to your liking like I said, a little credit please? ;)

Here you go:

Code:
//-------------------------------------------------------------
//Start of Loaded Scientist=======================================
//-------------------------------------------------------------

prontera.gat,157,187,1    script    Loaded Scientist    121,{
    mes "[Loaded Scientist]";
    mes "Hello there!";
    mes "I'm a scientist and I'm here to help those who are in need.";
    mes "  ";
    mes "See, I've developed two sophisticated pills. A ^000088Blue^000000 pill and a ^ff0000Red^000000 pill.";
    mes "  ";
    mes "The ^000088Blue^000000 pill helps you regain 100% of your HP/SP whilst the ^ff0000Red^000000 pill boosts your energy by giving you powerful buffs.";
    mes "  ";
    mes "I'm willing to give you the ^000088Blue^000000 pill for free and I can give you the ^ff0000Red^000000 pill for a low price of 5000 Zeny. So, if you're interested, just pick one.";
    mes "  ";
    next;
    menu "^000088Blue^000000 pill please.",-,"^ff0000Red^000000 pill please.",Buffs,"Maybe next time.",CANCEL;
        percentheal 100,100;
        mes "[Loaded Scientist]";
        mes "See, my pills really work! I'm such a genius!";
        close;
    
    Buffs:
    if(Zeny < 5000) goto LNotEnough;
    set Zeny,Zeny-5000;
    percentheal 100,100;
    skilleffect 29,0; sc_start SC_INCREASEAGI,500000,5;
    skilleffect 33,0; sc_start SC_ANGELUS,500000,3;
    skilleffect 361,0; sc_start SC_ASSUMPTIO,500000,3;
    skilleffect 383,0; sc_start SC_WINDWALK,500000,3;
    skilleffect 75,0; sc_start SC_GLORIA,500000,3;
    skilleffect 74,0; sc_start SC_MAGNIFICAT,500000,3;
    skilleffect 66,0; sc_start SC_IMPOSITIO,500000,3;
    skilleffect 34,0; sc_start SC_BLESSING,500000,5;
    mes "[Loaded Scientist]";
    mes "See, my pills really work! I'm such a genius!";
    close;
    
    LNotEnough:
    mes "[Loaded Scientist]";
        mes "I'm sorry, but you don't have enough money for the ^ff0000Red^000000 pill.";
        mes "Come back when you do have the money.";
        close;

    CANCEL:
    mes "[Loaded Scientist]";
    mes "Alright, just approach me when you've made up your mind.";
    close;
}

//-------------------------------------------------------------
//End of Loaded Scientist=========================================
//-------------------------------------------------------------
 
What does it say?

Code:
prontera.gat,157,187,1[tab]script[tab]Loaded Scientist[tab]121,{

Edit those. USE TABS!!! NOT SPACES.

Maybe when you copied the code, the tabs were converted to spaces. Or just read the log and see what's the error. Works for me...
 
Sure no problem. ^^

And oh, tell me if you encounter any bug like the other guy did. It's working fine for me. It helps if you have basic knowledge on scripting though. So you can edit it and stuff.

But if you need more assistance, contact me on my MSN. janice@aeonlegacy.com
 
Status
Not open for further replies.
Back