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/pc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index 674b63973..2b931ba23 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -2700,7 +2700,7 @@ int pc_dropitem(struct map_session_data *sd,int n,int amount) } //Logs items, dropped by (P)layers [Lupus] - if(log_config.pick > 0 ) + if(log_config.enable_logs&0x8) log_pick(sd, "P", 0, sd->status.inventory[n].nameid, -amount, (struct item*)&sd->status.inventory[n]); //Logs @@ -2900,7 +2900,7 @@ int pc_useitem(struct map_session_data *sd,int n) else { clif_useitemack(sd,n,amount-1,1); //Logs (C)onsumable items [Lupus] - if(log_config.pick > 0 ) + if(log_config.enable_logs&0x100) log_pick(sd, "C", 0, sd->status.inventory[n].nameid, -1, &sd->status.inventory[n]); //Logs pc_delitem(sd,n,1,1); @@ -3170,7 +3170,7 @@ int pc_steal_item(struct map_session_data *sd,struct block_list *bl) else { //Only invoke logs if item was successfully added (otherwise logs lie about actual item transaction) //Logs items, Stolen from mobs [Lupus] - if(log_config.pick > 0 ) { + if(log_config.enable_logs&0x80) { log_pick((struct map_session_data*)md, "M", md->class_, itemid, -1, NULL); log_pick(sd, "P", 0, itemid, 1, NULL); } -- cgit v1.2.3-60-g2f50