diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-04 16:38:54 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-04 16:38:54 +0000 |
commit | dca477622e54f10689d47969153121734a411a2d (patch) | |
tree | 1a7affc325c8e5faac6dfa678dcf86c5c2b57127 /src/map/charcommand.c | |
parent | 57286000fb15cc498f1bcd240afee63102eadf45 (diff) | |
download | hercules-dca477622e54f10689d47969153121734a411a2d.tar.gz hercules-dca477622e54f10689d47969153121734a411a2d.tar.bz2 hercules-dca477622e54f10689d47969153121734a411a2d.tar.xz hercules-dca477622e54f10689d47969153121734a411a2d.zip |
- 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
Diffstat (limited to 'src/map/charcommand.c')
-rw-r--r-- | src/map/charcommand.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/map/charcommand.c b/src/map/charcommand.c index 771fef36b..50f44988a 100644 --- a/src/map/charcommand.c +++ b/src/map/charcommand.c @@ -1004,10 +1004,8 @@ charcommand_giveitem_sub(struct map_session_data *sd,struct item_data *item_data clif_additem((struct map_session_data*)sd, 0, 0, flag);
}
//Logs (A)dmins items [Lupus]
- if(log_config.pick > 0 ) {
+ if(log_config.enable_logs&0x400)
log_pick(sd, "A", 0, item_tmp.nameid, number, &item_tmp);
- }
- //Logs
}
}
@@ -1075,10 +1073,8 @@ int charcommand_item( }
//Logs (A)dmins items [Lupus]
- if(log_config.pick > 0 ) {
+ if(log_config.enable_logs&0x400)
log_pick(sd, "A", 0, item_tmp.nameid, number, &item_tmp);
- }
- //Logs
clif_displaymessage(fd, msg_table[18]); // Item created.
} else {
|