E: 13:40:13 - item_singletarget_pr.nss - item_singletarget_pr.nss(59): Declaration does not match parameters (while compiling var_constants_h.nss)
Referring to this line:
if (ResistanceCheck(stEvent.oCaster, stEvent.oTarget, 10.0f, RESISTANCE_MENTAL) == FALSE)
It's probably an issue with the targets, but I have no idea how they should look.
It'd be great if the error messages were not so vague and useless...
-Edit- It seems I cannot have the opposing check be a static value rather than an attribute with the targets the way they are. It works if I make the player run a check against their own spellpower rather than a static 10. Any ideas? I need the opposing check to be based on the quality of the potion rather than any of the player's own stats, so I was going to set a higher static number to each potion quality.
Modifié par Kesaru, 31 juillet 2010 - 06:05 .





Retour en haut






