Skip to content

Instantly share code, notes, and snippets.

@cydh
Last active November 24, 2017 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cydh/c0e62f043c494adc6d4b4ee64183aeec to your computer and use it in GitHub Desktop.
Save cydh/c0e62f043c494adc6d4b4ee64183aeec to your computer and use it in GitHub Desktop.
# Taxes for selling something (vending)
# The zeny that you received will be reduced after tax
Selling:
# This is old custom eAthena vending tax
In_Total:
- Minimal_Value: 0
Tax: 0
# Makes the In_Total tax applies after all Each_Entry taxes or before it
In_Total_Applies_After: true
# Tax by selling entry
Each_Entry:
# 10% if >= 1,000,000,000
- Minimal_Value: 1000000000
Tax: 1000
# 8% if >= 100,000,000
- Minimal_Value: 100000000
Tax: 800
# 6% if >= 10,000,000
- Minimal_Value: 10000000
Tax: 600
# 4% if >= 1,000,000
- Minimal_Value: 1000000
Tax: 400
# 2% if >= 100,000
- Minimal_Value: 100000
Tax: 200
# Taxes for buying something (buyingstore)
# The zeny that you must be paid will be increased after tax
# but player who sells still get the value without tax
Buying:
In_Total:
- Minimal_Value: 0
Tax: 0
# Makes the In_Total tax applies after all Each_Entry taxes or before it
In_Total_Applies_After: true
# Tax by buying entry
Each_Entry:
# 10% if >= 1,000,000,000
- Minimal_Value: 1000000000
Tax: 1000
# 8% if >= 100,000,000
- Minimal_Value: 100000000
Tax: 800
# 6% if >= 10,000,000
- Minimal_Value: 10000000
Tax: 600
# 4% if >= 1,000,000
- Minimal_Value: 1000000
Tax: 400
# 2% if >= 100,000
- Minimal_Value: 100000
Tax: 200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment