Refiner with announcement

Neferpitou

New member
Messages
26
Points
0
Github
Artanis
how to add announce in this npc like "Neferpitou successfully upgraded +12 Balmung" like that but any kind of equips armor weapons thank you in advance

hd_refine.txt

 

Attachments

in this part:

  if (getequippercentrefinery(.@part) > rand(100) || getequippercentrefinery(.@part) > rand(100)) {    successrefitem .@part;    next;    emotion e_no1;    mes "[Blacksmith Mighty Hammer]";    mes "The sound refreshes my mind everytime I hear it.";    mes "Here, have it. Refine succeeded flawlessly!";    close;  }

change to that:

Code:
    if (getequippercentrefinery(.@part) > rand(100) || getequippercentrefinery(.@part) > rand(100)) {        successrefitem .@part;        if(getequiprefinerycnt(.@part) == 12)            announce strcharinfo(0)+" refined item "+getitemname(getequipid(.@part))+" to the +12 state!",bc_all;        next;        emotion e_no1;        mes "[Blacksmith Mighty Hammer]";        mes "The sound refreshes my mind everytime I hear it.";        mes "Here, have it. Refine succeeded flawlessly!";        close;    }
 
Back
Top