From c19b8831b8134d9e8f000d8d5ee18ebaa2164fea Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 27 Mar 2007 18:38:11 +0000 Subject: - Moved coma to skill_additional_effect, added special_state.bonus_coma to prevent doing comma calculations for every player attack. - Added config "vending_tax" to apply a tax to all vending requests, as it was in kRO Sakray some time ago (requested by Playtester) (items.conf). - Some cleaning of skill_additional_effect - Moved the starting of SC_DANCING from skill_initunitgroup to skill_unitsetting - Moved the checks for player_skill_partner_check and (gm_skilluncond for it) to skill_check_pc_partner - Negative aspd rate bonuses will be handled as aspd add rate since the default non-stackable bonus is useless on penalty bonuses. - Added check to prevent the client from using passive skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10082 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/vending.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/vending.c') diff --git a/src/map/vending.c b/src/map/vending.c index c12948de0..63551272c 100644 --- a/src/map/vending.c +++ b/src/map/vending.c @@ -158,6 +158,8 @@ void vending_purchasereq(struct map_session_data *sd,int len,int id,unsigned cha //Logs pc_payzeny(sd, (int)z); + if (battle_config.vending_tax) + z = z*battle_config.vending_tax/10000; pc_getzeny(vsd, (int)z); for(i = 0; 8 + 4 * i < len; i++) { -- cgit v1.2.3-60-g2f50