Item-Kombination #6586
Kombinationsgröße: 2
Kombinationsgegenstände
Death_Guidance
aegis_400489
Kombinationseffekt
.@r = getequiprefinerycnt(EQI_HEAD_TOP);
bonus3 bAutoSpell,"LK_PARRYING",max(getskilllv("LK_PARRYING"),1),10*.@r;
bonus3 bAutoSpell,"NPC_VAMPIRE_GIFT",1,10*.@r;
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;
bAutoSpell
Gegenstandsbonus
bAutoSpell
Signatur:
bonus5 bAutoSpell,sk,y,n,bf,i;
Beschreibung:
Adds a n/10% chance to cast skill sk of level y when attacking with trigger criteria bf
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;