Combo d'Objets #6880
Taille du Combo: 3
Effet du Combo
.@a = getequiprefinerycnt(EQI_ARMOR); .@b = getequiprefinerycnt(EQI_SHOES); .@c = (getequiprefinerycnt(EQI_ARMOR)+getequiprefinerycnt(EQI_SHOES))/3; bonus bBaseAtk,5+(.@a*2); bonus bMatk,5+(.@a*2); bonus bAspdRate,.@b; bonus bVariableCastrate,-2*.@c;
Références du Script
getequiprefinerycnt
Commande
getequiprefinerycnt
Signature:
getequiprefinerycnt(<equipment slot>{,<char_id>})
Description:
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:
Exemple:
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;
bBaseAtk
Bonus d’Objet
bBaseAtk
Signature:
bonus bBaseAtk,n;
Description:
Basic attack power + n
bMatk
Bonus d’Objet
bMatk
Signature:
bonus bMatk,n;
Description:
Magical attack power + n
bAspdRate
Bonus d’Objet
bAspdRate
Signature:
bonus bAspdRate,n;
Description:
Attack speed + n%
bVariableCastrate
Bonus d’Objet
bVariableCastrate
Signature:
bonus2 bVariableCastrate,sk,n;
Description:
Increases variable cast time of skill sk by n% (If RENEWAL_CAST is NOT defined, this bonus is equal to bCastrate)