rhayn
11-20-2005, 05:59 AM
Currently, were running nurfed price-addon with a multiplier of 1.89, now however, I would like to have a different multiplier for wands alone. Ive also thought about rings/jewelry in general, but the idea right now is wands.
Is there generally a way of making this happen with the code?
I tried adding this, but as you migth guess, id didnt work that well:
if (NDKP.weapontype == "Wand") then
NDKP.DKP = NDKP.DKP * 10;
local text = "DKP Value: "..format("%.3f", NDKP.DKP);
frame:AddLine("\n"..text, 1.0, 1.0, 0.0);
frame:Show();
end
Now, that didnt work that well, but maybe you can guess what im trying todo here ;-)
Can anyone hint me a bit more of how to actually achieve this, if its possible?
Is there generally a way of making this happen with the code?
I tried adding this, but as you migth guess, id didnt work that well:
if (NDKP.weapontype == "Wand") then
NDKP.DKP = NDKP.DKP * 10;
local text = "DKP Value: "..format("%.3f", NDKP.DKP);
frame:AddLine("\n"..text, 1.0, 1.0, 0.0);
frame:Show();
end
Now, that didnt work that well, but maybe you can guess what im trying todo here ;-)
Can anyone hint me a bit more of how to actually achieve this, if its possible?