Added a missing argument of getiteminfo script command in some script (#6307)
* Added a missing argument of getiteminfo script command in some script * Fixed the missing curly in ticket_refiner.txt Thanks to @Lemongrass3110 @aleos89 @Daegaladh @Skystar18
This commit is contained in:
parent
7a0233388a
commit
e0c27fed03
@ -60,7 +60,7 @@ L_Start:
|
||||
|
||||
if (getd("@autopot_" + .@type$ + "_Min") < 1 || getd("@autopot_" + .@type$ + "_Min") > 100) setd "@autopot_" + .@type$ + "_Min",90;
|
||||
if (@autopot_delay < 50 || @autopot_delay > 1000) @autopot_delay = .MinDelay;
|
||||
if (getiteminfo(.@potion,2) != IT_HEALING) {
|
||||
if (getiteminfo(.@potion, ITEMINFO_TYPE) != IT_HEALING) {
|
||||
dispbottom getitemname(.@potion) + " is not a healing item.";
|
||||
end;
|
||||
}
|
||||
|
@ -69,7 +69,7 @@
|
||||
close;
|
||||
}
|
||||
.@equip_id = getequipid(.@part);
|
||||
.@itemtype = getiteminfo( .@equip_id );
|
||||
.@itemtype = getiteminfo( .@equip_id, ITEMINFO_TYPE );
|
||||
.@equip_refine = getequiprefinerycnt(.@part);
|
||||
setarray .@card[0], getequipcardid(.@part,0), getequipcardid(.@part,1), getequipcardid(.@part,2), getequipcardid(.@part,3);
|
||||
|
||||
|
@ -79,7 +79,7 @@ prontera,184,177,6 script Refine Master 851,{
|
||||
.@refineitemid = getequipid(.@part); // save id of the item
|
||||
.@refinerycnt = getequiprefinerycnt(.@part); //save refinery count
|
||||
setarray .@card[0], getequipcardid(.@part,0), getequipcardid(.@part,1), getequipcardid(.@part,2), getequipcardid(.@part,3);
|
||||
.@itemtype = getiteminfo( .@refineitemid );
|
||||
.@itemtype = getiteminfo( .@refineitemid, ITEMINFO_TYPE );
|
||||
if( .@itemtype == IT_WEAPON ){
|
||||
switch( getequipweaponlv( .@part ) ){
|
||||
case 1:
|
||||
@ -106,6 +106,7 @@ prontera,184,177,6 script Refine Master 851,{
|
||||
default:
|
||||
// TODO:
|
||||
close;
|
||||
}
|
||||
}else{
|
||||
// TODO:
|
||||
close;
|
||||
|
Loading…
x
Reference in New Issue
Block a user