Комбо Предметов #874
Размер Комбо: 2
Предметы Комбо
Deathword_Card
Some_Wizard_MagicSword
Эффект Комбо
bonus5 bAutoSpell,"MG_SOULSTRIKE",5,10+(getequiprefinerycnt(EQI_HAND_R)*10),BF_NORMAL|BF_WEAPON,1; /* Confirm: Success rate */
Справка по Скрипту
bonus5
Команда
bonus5
Сигнатура:
bonus5 <bonus type>,<val1>,<val2>,<val3>,<val4>,<val5>;
Описание:
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
Бонус Предмета
bAutoSpell
Сигнатура:
bonus5 bAutoSpell,sk,y,n,bf,i;
Описание:
Adds a n/10% chance to cast skill sk of level y when attacking with trigger criteria bf
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;