Item-Kombination Details

Item-Kombination #5806

Kombinationsgröße: 2
Kombinationsgegenstände
Red Commando Beret [1]
Red_Commando_ROC
Shadow Ring [1]
Shadow_Ring_ROC
Kombinationseffekt
.@r = getequiprefinerycnt(EQI_HEAD_TOP);
bonus4 bAutoSpellOnSkill,"TK_JUMPKICK","RG_BACKSTAP",max(getskilllv("RG_BACKSTAP"),1),1000;
bonus4 bAutoSpellOnSkill,"RG_BACKSTAP","RG_STEALCOIN",max(getskilllv("RG_STEALCOIN"),1),50+(.@r*10);
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;
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;