Jump to content
  • 0

homunculus instant lvl npc HELP!


Question

4 answers to this question

Recommended Posts

Posted

This is one of my older scripts. It gives you a homunculus and leveling it up.
I left the leveling parts only.
 

prt_are02,174,163,4[TAB]script[TAB]Homunculus[TAB]558,{
if(Class == 18 || Class == 4019) goto L_OK;
mes "[Homunculus]";
mes "I speak only with Alchemists.";
close;


L_OK:
if ( gethominfo(0) != 0 ) goto L_homun;
mes "[Homunculus]";
atcommand "@homlvl 49 "+strcharinfo(0);
atcommand "@homfriendly 1000 "+strcharinfo(0);
atcommand "@homevolve "+strcharinfo(0);
atcommand "@homfriendly 1000 "+strcharinfo(0);
atcommand "@homhungry 100 "+strcharinfo(0);
close;

L_homun:
mes "[Homunculus]";
mes "You dont have Homunculus.";
close;

}



Hope it helps :)
Posted

 

This is one of my older scripts. It gives you a homunculus and leveling it up.

I left the leveling parts only.

 

prt_are02,174,163,4[TAB]script[TAB]Homunculus[TAB]558,{
if(Class == 18 || Class == 4019) goto L_OK;
mes "[Homunculus]";
mes "I speak only with Alchemists.";
close;


L_OK:
if ( gethominfo(0) != 0 ) goto L_homun;
mes "[Homunculus]";
atcommand "@homlvl 49 "+strcharinfo(0);
atcommand "@homfriendly 1000 "+strcharinfo(0);
atcommand "@homevolve "+strcharinfo(0);
atcommand "@homfriendly 1000 "+strcharinfo(0);
atcommand "@homhungry 100 "+strcharinfo(0);
close;

L_homun:
mes "[Homunculus]";
mes "You dont have Homunculus.";
close;

}

Hope it helps :)

 

its saying that i dont have homunculus even if i already have, can u give me the full scripts with giving homunculus, thanks in advance

Posted

 

Sorry made a mistake. Modify this line

if ( gethominfo(0) != 0 ) goto L_homun;

to

if ( gethominfo(0) == 0 ) goto L_homun;

Its working! Thank you! its a big help!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...