Combo de Itens #3170
Tamanho do Combo: 2
Itens do Combo
Applause_Sandal_
Amon_Ra_Card
Efeito do Combo
.@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.*/
Referências do Script
getequiprefinerycnt
Comando
getequiprefinerycnt
Assinatura:
getequiprefinerycnt(<equipment slot>{,<char_id>})
Descrição:
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:
Exemplo:
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
Bônus de Item
bVariableCastrate
Assinatura:
bonus2 bVariableCastrate,sk,n;
Descrição:
Increases variable cast time of skill sk by n% (If RENEWAL_CAST is NOT defined, this bonus is equal to bCastrate)
bAutoSpellWhenHit
Bônus de Item
bAutoSpellWhenHit
Assinatura:
bonus5 bAutoSpellWhenHit,sk,y,n,bf,i;
Descrição:
Adds a n/10% chance to cast skill sk of level y when being hit by a direct attack with trigger criteria bf
readparam
Comando
readparam
Assinatura:
readparam(<parameter number>{,"<character name>"})
readparam(<parameter number>{,<char_id>})
Descrição:
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.
Exemplo:
// 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
Bônus de Item
bInt
Assinatura:
bonus bInt,n;
Descrição:
INT + n
bAllStats
Bônus de Item
bAllStats
Assinatura:
bonus bAllStats,n;
Descrição:
STR + n, AGI + n, VIT + n, INT + n, DEX + n, LUK + n