Комбо Предметов #1791
Размер Комбо: 3
Предметы Комбо
S_Spiritual_Earring
S_Spiritual_Pendent
S2_Spiritual_Weapon
Эффект Комбо
bonus2 bSPDrainRate,10,1+(getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ACC_L))/10;
Справка по Скрипту
bSPDrainRate
Бонус Предмета
bSPDrainRate
Сигнатура:
bonus2 bSPDrainRate,x,n;
Описание:
Adds a x/10% chance to drain n% SP from inflicted damage when attacking
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;