Item-Kombination #2516
Kombinationsgröße: 2
Kombinationsgegenstände
S_Cart_Tornado_Shield
S_Genetic_Weapon
Kombinationseffekt
.@sum = getequiprefinerycnt(EQI_SHADOW_SHIELD)+getequiprefinerycnt(EQI_SHADOW_WEAPON); bonus2 bIgnoreDefRaceRate,RC_All,40+.@sum; bonus2 bIgnoreDefRaceRate,RC_Player_Human,-40-.@sum; bonus2 bIgnoreDefRaceRate,RC_Player_Doram,-40-.@sum;
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;
bIgnoreDefRaceRate
Gegenstandsbonus
bIgnoreDefRaceRate
Signatur:
bonus2 bIgnoreDefRaceRate,r,n;
Beschreibung:
Disregard n% of the target's DEF if the target belongs to race r