Item-Kombination #53
Kombinationsgröße: 2
Kombinationsgegenstände
Giant_Lance
Gigant_Helm
Kombinationseffekt
.@r = getequiprefinerycnt(EQI_HAND_R);
bonus2 bSkillAtk,"LK_SPIRALPIERCE",.@r*5;
bonus4 bAutoSpellOnSkill,"LK_JOINTBEAT","LK_SPIRALPIERCE",max(getskilllv("LK_SPIRALPIERCE"),1),50+.@r*5;
/* Confirm: Success rate */
Skriptreferenzen
getequiprefinerycnt
Befehl
getequiprefinerycnt
Signatur:
getequiprefinerycnt(<equipment slot>{,<char_id>})
Beschreibung:
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:
Beispiel:
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;
bSkillAtk
Gegenstandsbonus
bSkillAtk
Signatur:
bonus2 bSkillAtk,sk,n;
Beschreibung:
Increases damage of skill sk by n%
bAutoSpellOnSkill
Gegenstandsbonus
bAutoSpellOnSkill
Signatur:
bonus5 bAutoSpellOnSkill,sk,x,y,n,i;
Beschreibung:
Adds a n/10% chance to autospell skill x at level y when using skill sk
getskilllv
Befehl
getskilllv
Signatur:
getskilllv(<skill id>)
getskilllv("<skill name>")
Beschreibung:
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:
Beispiel:
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;