Item Combo #872
Combo Size: 2
Combo Items
Rawrel_Card
Some_Wizard_MagicSword
Combo Effect
bonus5 bAutoSpell,"MG_COLDBOLT",5,10+(getequiprefinerycnt(EQI_HAND_R)*10),BF_NORMAL|BF_WEAPON,1; /* Confirm: Success rate */
Script References
bonus5
Command
bonus5
Signature:
bonus5 <bonus type>,<val1>,<val2>,<val3>,<val4>,<val5>;
Description:
These commands are meant to be used in item scripts. They will probably work
outside item scripts, but the bonus will not persist for long. They, as
expected, refer only to an invoking character.
kind in ''.
bAutoSpell
Item Bonus
bAutoSpell
Signature:
bonus5 bAutoSpell,sk,y,n,bf,i;
Description:
Adds a n/10% chance to cast skill sk of level y when attacking with trigger criteria bf
getequiprefinerycnt
Command
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:
Example:
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;