Item Combo #3170
Combo Size: 2
Combo Items
Applause_Sandal_
Amon_Ra_Card
Combo Effect
.@r = getequiprefinerycnt(EQI_SHOES); bonus bVariableCastrate,-10; bonus3 bAutoSpellWhenHit,"PR_KYRIE",10,-(30+70*(readparam(bInt) >= 99)); bonus bAllStats,3*(.@r); /*TODO: Cancel auto spell bonus is not implemented in rAthena yet.*/
Script References
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;
bVariableCastrate
Item Bonus
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)
bAutoSpellWhenHit
Item Bonus
bAutoSpellWhenHit
Signature:
bonus5 bAutoSpellWhenHit,sk,y,n,bf,i;
Description:
Adds a n/10% chance to cast skill sk of level y when being hit by a direct attack with trigger criteria bf
readparam
Command
readparam
Signature:
readparam(<parameter number>{,"<character name>"})
readparam(<parameter number>{,<char_id>})
Description:
This function will return the specified stat of the invoking character, or, if a
character name or character id is specified, of that player. The stat can either
be a number or parameter name, defined in ''.
Some example parameters:
StatusPoint, BaseLevel, SkillPoint, Class, Upper, Zeny, Sex, Weight, MaxWeight,
JobLevel, BaseExp, JobExp, NextBaseExp, NextJobExp, Hp, MaxHp, Sp, MaxSp,
BaseJob, Karma, Manner, bVit, bDex, bAgi, bStr, bInt, bLuk, Ap, MaxAp
All of these also behave as variables, but don't expect to be able to just 'set'
them - some will not work for various internal reasons.
Example 1:
Using this particular information as a function call is not required. Typing this
will return the same result:
Example 2:
You can also use this command to get stat values.
Example:
// Returns how many status points you haven't spent yet.
mes "Unused status points: " + readparam(9);
mes "Unused status points: " + StatusPoint;
if (readparam(bVit) > 77)
mes "Only people with over 77 Vit are reading this!";
bInt
Item Bonus
bInt
Signature:
bonus bInt,n;
Description:
INT + n
bAllStats
Item Bonus
bAllStats
Signature:
bonus bAllStats,n;
Description:
STR + n, AGI + n, VIT + n, INT + n, DEX + n, LUK + n