Combo de Objetos Detalles

Combo de Objetos #6585

Tamaño del Combo: 2
Objetos del Combo
Efecto del Combo
.@r = getequiprefinerycnt(EQI_HEAD_TOP);
bonus3 bAutoSpell,"LK_PARRYING",max(getskilllv("LK_PARRYING"),1),10*.@r;
bonus3 bAutoSpell,"NPC_VAMPIRE_GIFT",1,10*.@r;
Referencias del Script
getequiprefinerycnt Comando
getequiprefinerycnt
Firma:
getequiprefinerycnt(<equipment slot>{,<char_id>})
Descripción:
slot. For a list of equipment slots see 'getequipid'. Can be used to check if you have reached a maximum refine value, default for this is +10:
Ejemplo:
if (getequiprefinerycnt(EQI_HEAD_TOP) < 10)
mes "I will now upgrade your " + getequipname(EQI_HEAD_TOP);
else
mes "Sorry, it's not possible to refine hats better than +10";
close;
bAutoSpell Bono de Ítem
bAutoSpell
Firma:
bonus5 bAutoSpell,sk,y,n,bf,i;
Descripción:
Adds a n/10% chance to cast skill sk of level y when attacking with trigger criteria bf
getskilllv Comando
getskilllv
Firma:
getskilllv(<skill id>)
getskilllv("<skill name>")
Descripción:
character has. If they don't have the skill, 0 will be returned. The full list of character skills is available in ''. There are two main uses for this function, it can check whether the character has a skill or not, and it can tell you if the level is high enough. Example 1: Example 2:
Ejemplo:
if (getskilllv(152))
mes "You have got the skill Throw Stone";
else
mes "You don't have Throw Stone";
close;
if (getskilllv(28) >= 5)
mes "Your heal lvl is 5 or more";
else if (getskilllv(28) == 10)
mes "Your heal lvl has been maxed";
else
mes "You heal skill is below lvl 5";
close;