[HELP]Lower the pk

03/04/2010 19:47 luzia#1
Anyone know a query that I can make an item or npc that can lower the pk?
03/04/2010 19:59 King_Arthur#2
Make sure you have this handy dandy tool: [Only registered and activated users can see links. Click Here To Register...]

lots of goodies inside including:
Code:
...
ACTION_USER_ATTR = 1001, // blah blah blah
...
// “pk” (+=, ==, <),
...
So you can do type 1001 param 'pk += -X' to lower by X amount of pk points.
03/05/2010 01:01 luzia#3
Hello king Thank you my friend. I owe you one! a super kiss.


It worked! seeing as I did for one item to sell and put in an npc.

INSERT INTO `cq_action` VALUES ( 'xxxx' xxxxxx ', '0000', '0502 ', '720221','');
INSERT INTO `cq_action` VALUES ( 'xxxxx, '0000', '0000 ', '1001', '0 ',' pk + = -500 ');



tankkkkkkkkkkkkks
03/06/2010 00:23 zspider#4
ok guys what about this item that collect xp skills like in acmeeo??
03/06/2010 01:15 King_Arthur#5
Quote:
Originally Posted by zspider View Post
ok guys what about this item that collect xp skills like in acmeeo??
Collect xp skills? You mean fills the xp skill bar? That is also in the action.define I linked to.

Type is 1001, param is 'xp += X' (Where X is the percent you want to fill, 100 is full)