Item-Kombination #7477
Kombinationsgröße: 2
Kombinationsgegenstände
aegis_314667
aegis_314672
Kombinationseffekt
bonus2 bMagicAddSize,Size_All,3*(getskilllv("AG_TWOHANDSTAFF")/2);
Skriptreferenzen
bMagicAddSize
Gegenstandsbonus
bMagicAddSize
Signatur:
bonus2 bMagicAddSize,s,x;
Beschreibung:
+x% magical damage against size s
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;