Комбо Предметов #1637
Размер Комбо: 2
Предметы Комбо
Pororoca_Shoes
La'cryma_Stick
Эффект Комбо
.@r = getequiprefinerycnt(EQI_HAND_R);
.@b = getskilllv("WZ_FROSTNOVA");
.@c = getskilllv("WZ_WATERBALL");
bonus2 bMagicAtkEle,Ele_Water,4*.@r;
bonus2 bIgnoreMdefClassRate,Class_Normal,5*.@b;
bonus2 bIgnoreMdefClassRate,Class_Boss,5*.@b;
bonus2 bSkillAtk,"WZ_WATERBALL",(30*.@c)+(20*.@r);
Справка по Скрипту
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;
getskilllv
Команда
getskilllv
Сигнатура:
getskilllv(<skill id>)
getskilllv("<skill name>")
Описание:
character has. If they don't have the skill, 0 will be returned. The full list
of character skills is available in ''.
There are two main uses for this function, it can check whether the character
has a skill or not, and it can tell you if the level is high enough.
Example 1:
Example 2:
Пример:
if (getskilllv(152))
mes "You have got the skill Throw Stone";
else
mes "You don't have Throw Stone";
close;
if (getskilllv(28) >= 5)
mes "Your heal lvl is 5 or more";
else if (getskilllv(28) == 10)
mes "Your heal lvl has been maxed";
else
mes "You heal skill is below lvl 5";
close;
bMagicAtkEle
Бонус Предмета
bMagicAtkEle
Сигнатура:
bonus2 bMagicAtkEle,e,x;
Описание:
Increases damage of e element magic by x%
bIgnoreMdefClassRate
Бонус Предмета
bIgnoreMdefClassRate
Сигнатура:
bonus2 bIgnoreMdefClassRate,c,n;
Описание:
Disregard n% of the target's MDEF if the target belongs to class c
bSkillAtk
Бонус Предмета
bSkillAtk
Сигнатура:
bonus2 bSkillAtk,sk,n;
Описание:
Increases damage of skill sk by n%