Комбо Предметов Детали

Комбо Предметов #3170

Размер Комбо: 2
Предметы Комбо
Applause Sandal [1]
Applause_Sandal_
Amon Ra Card
Amon_Ra_Card
Эффект Комбо
.@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.*/
Справка по Скрипту
getequiprefinerycnt Команда
getequiprefinerycnt
Сигнатура:
getequiprefinerycnt(<equipment slot>{,<char_id>})
Описание:
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:
Пример:
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 Бонус Предмета
bVariableCastrate
Сигнатура:
bonus2 bVariableCastrate,sk,n;
Описание:
Increases variable cast time of skill sk by n% (If RENEWAL_CAST is NOT defined, this bonus is equal to bCastrate)
bAutoSpellWhenHit Бонус Предмета
bAutoSpellWhenHit
Сигнатура:
bonus5 bAutoSpellWhenHit,sk,y,n,bf,i;
Описание:
Adds a n/10% chance to cast skill sk of level y when being hit by a direct attack with trigger criteria bf
readparam Команда
readparam
Сигнатура:
readparam(<parameter number>{,"<character name>"})
readparam(<parameter number>{,<char_id>})
Описание:
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.
Пример:
// 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 Бонус Предмета
bInt
Сигнатура:
bonus bInt,n;
Описание:
INT + n
bAllStats Бонус Предмета
bAllStats
Сигнатура:
bonus bAllStats,n;
Описание:
STR + n, AGI + n, VIT + n, INT + n, DEX + n, LUK + n