Item-Kombination #1487
Kombinationsgröße: 2
Kombinationsgegenstände
Assassin_Muffler
Assassin_Acc
Kombinationseffekt
.@val = min(12,getequiprefinerycnt(EQI_GARMENT)); bonus2 bAddRace,RC_DemiHuman,.@val; bonus2 bAddRace,RC_Player_Human,.@val;
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;
bAddRace
Gegenstandsbonus
bAddRace
Signatur:
bonus2 bAddRace,r,x;
Beschreibung:
+x% physical damage against race r