PDA

View Full Version : quest::addldonpoints(0,0);


kovouau
11-22-2006, 08:06 PM
OK was just wondering if this is or is not working atm....

and if it is... why


sub EVENT_DEATH
{
quest::addldonpoints(1,3);
#Awards 1 Mistmoore LDoN point upon death.
}

wont work.

fathernitwit
11-24-2006, 05:28 AM
should work as far as I know. have you tried awarding other point systems? I have only ever tried 1 (not 3).

kovouau
11-25-2006, 12:53 AM
tried em all and none work/

bufferofnewbies
11-29-2006, 10:19 PM
DISCLAIMER: ALWAYS backup your files before attempting anything I tell you. I do stupid stuff sometimes, and errors slip in easily.
Just as a small bump to this in a totally unrelated direction.

I simply turned the ldon merchants into regular merchants
UPDATE npc_types
SET class = 41
WHERE class = 61;

and used:
UPDATE items
SET price = ldonprice * 500
WHERE ldonprice >= 1 AND price = 0;

to put a normal price on them (buying price is 1/2 of ldon points needed with my code).
For cost (in PP) to equal the ldon price, simply change the price mod to:
SET price = ldonprice *1000 instead.
The AND price = 0 part is to prevent overwriting anything that already has a buy price.

Hope that was some help.