Jump to content
  • 0

item effect


Byakuran

Question


  • Group:  Members
  • Topic Count:  110
  • Topics Per Day:  0.02
  • Content Count:  229
  • Reputation:   5
  • Joined:  12/16/11
  • Last Seen:  

i have a dragon ball sprites and i need your help guys for the effect.. i want to have like this when they got all the 7dragonball from 1-7 in there inventory they will have the one custom items automatic and the 7dragonball gone..

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

You need to add a callfunc on one of the dragon ball.. Then on the function script it has a check that checks if you have all the existing item countitem then delitem if all items are present..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   17
  • Joined:  02/06/12
  • Last Seen:  

I really like this idea, if anyone could go further into detail on how it might be accomplished that would be amazing.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

function should look something like this

function script 17carat {

if(countitem(730) < 1 || countitem(731) < 1 || countitem(732) < 1) end;
delitem 730,1;
delitem 731,1;
delitem 732,1;
getitem 6024,1; 
dispbottom "Created 17 Carat Diamond";
close;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

ok here it is i tried it, like i said you need a base item which is usable item idk how to make it work with misc items.

the base item i used was 12404 Acti Potion

12404,Acti_Potion,Acti Potion,11,,,,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "17carat"; },{},{}

place this on your custom folder script.

function script 17carat {
if(countitem(730) < 1 || countitem(731) < 1 || countitem(732) < 1) goto N_Enough;
delitem 730,1;  //required 1
delitem 731,1;  //required 2
delitem 732,1;  //required 3
delitem 12404,1; // base item deleted
getitem 6024,1;
dispbottom "Created 17 Carat Diamond";
close;
N_Enough:
message strcharinfo(0), "Required Item is incomplete.";
close;
end;
}

and also add it on your scripts_custom.conf

npc: npc/custom/17carat.txt

Just modify it to dragon ball something.

Idea i got from Angst Tier Stone Refining

Edited by ngek202
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  110
  • Topics Per Day:  0.02
  • Content Count:  229
  • Reputation:   5
  • Joined:  12/16/11
  • Last Seen:  

THANKS FOR THOSE WHO REPLY :))

Link to comment
Share on other sites

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.

×
×
  • Create New...