Combine 10 equipments with 1 function

madtoyz

New member
Messages
173
Points
0
Combine 10 equipments with 1 function.

How ?

example :

46886_541381255911642_1874088978_n.jpg


All this 10 items (6 equipment and 4 costume items).


Code:
function    script    Henshin    {    set @sr,1;    specialeffect2 EF_HEAL;    specialeffect2 EF_POTION_BERSERK;    unittalk getcharid(3),"Henshin!!";    disguise 1785;    percentheal 100,0;    sleep2 10000;    undisguise;    set @sr,0;    end;}
 
You mean you want that when they all are equipped TOGETHER the function works, try db/{re or pre-re}/item_combo_db.txt (example: renewal one).

 
ya.the renewal one,

equip all the 10items then can become HENSHIN.

have two way,

  • when HP 30%,player will auto become monster 30second,
  • have 1 skill that can use for HENSHIN anytime they want but after use the skill will have delay 1minute.

 
ya.the renewal one,

equip all the 10items then can become HENSHIN.

have two way,

  • when HP 30%,player will auto become monster 30second,
  • have 1 skill that can use for HENSHIN anytime they want but after use the skill will have delay 1minute.

Correct me if wrong...

dbreitem_combo_db.txt

29951:29952:29953:29954:29955:29956:29957:29958:29959:29960,{ autobonus2 "{if(((HP*100/MaxHP*100)/100) >=30 || @sr ) end; callfunc "Switching"; }",10000,10000,BF_WEAPON|BF_MAGIC; },{},{}
use all 10 items(combo item) than can Henshin ? right?

Then,how to make own skill that player can Henshin anytime ? what should i do ?

 
Supposedly, if you change the function that it's called to the proper name (it's Switching right now, not Henshin) it should work.

For Henshin anytime you want, I think you should make a skill or so.

 
Supposedly, if you change the function that it's called to the proper name (it's Switching right now, not Henshin) it should work.

For Henshin anytime you want, I think you should make a skill or so.
Ya,that just for example only.

How to add new custome skill ?

 
I'm not the one that can help you on that. This requires both source, client and db modifications.

I feel that a guide on simple custom skills is missing out there since I miss the source and client sides, I could give you a little help with the db mods but it won't do much alone.

 
Back
Top