From dca477622e54f10689d47969153121734a411a2d Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 4 Aug 2006 16:38:54 +0000 Subject: - Enabled Mastery damage on Soul Breaker again, moved adv katar mastery out of the mastery function so that it may apply to all skills except Soul Breaker. - Changed name of the setting log_pick to log_filter since that's what it does now. - Modified enable_logs so that instead of a 0/1 setting, you can specify which kind of events to log (so you can use a combination), see log_athena for the bitmask configuration. - Cleaned a bit the contents of log_athena.conf git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8129 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/npc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/npc.c') diff --git a/src/map/npc.c b/src/map/npc.c index 2aee1c58c..af22a84de 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -1240,7 +1240,7 @@ int npc_buylist(struct map_session_data *sd,int n,unsigned short *item_list) pc_additem(sd,&item_tmp,item_list[i*2]); //Logs items, Bought in NPC (S)hop [Lupus] - if(sd && log_config.pick > 0 ) + if(log_config.enable_logs&0x20) log_pick(sd, "S", 0, item_tmp.nameid, item_list[i*2], NULL); //Logs } @@ -1301,7 +1301,7 @@ int npc_selllist(struct map_session_data *sd,int n,unsigned short *item_list) intif_delete_petdata(MakeDWord(sd->status.inventory[idx].card[1],sd->status.inventory[idx].card[2])); } - if(log_config.pick) //Logs items, Sold to NPC (S)hop [Lupus] + if(log_config.enable_logs&0x20) //Logs items, Sold to NPC (S)hop [Lupus] log_pick(sd, "S", 0, nameid, -qty, &sd->status.inventory[idx]); if(nd) { -- cgit v1.2.3-60-g2f50