Sign in to follow this  
Zekezor

Exponential deed draining

Wololo  

56 members have voted

  1. 1. Should deed drain cap be removed?



Recommended Posts

i've never seen drain amounts capping at 5 drains on both epic and chaos recently. not sure why they are saying this lol

Share this post


Link to post
Share on other sites

Well it's me being a derp and mixing 5x drain ammount (10 drains with 50% extra per drain) with "5th drain".

 

tldr: derp on my behalf.

 

The removal of the drain cap is essentially what the suggestion is about though and thus ill make a minor edit.

Edited by Zekezor

Share this post


Link to post
Share on other sites

So to help dingov out I looked it up

 

    public final long getMoneyDrained() {
        try {
            if (this.getVillage().isPermanent) {
                return 0L;
            }
        }
        catch (NoSuchVillageException nsv) {
            GuardPlan.logger.log(Level.WARNING, this.villageId + ", " + nsv.getMessage(), (Throwable)nsv);
            return 0L;
        }
        return (long)Math.min(this.moneyLeft, (1.0f + this.drainModifier) * Math.max(7500.0f, this.getMonthlyCost() * 0.15f));
    }
    
    public long drainMoney() {
        final long moneyToDrain = this.getMoneyDrained();
        this.drainGuardPlan(this.moneyLeft - moneyToDrain);
        this.drainModifier = Math.min(5.0f, 0.5f + this.drainModifier);
        this.saveDrainMod();
        return moneyToDrain;
    }

 

Seems max drain is 5x the base single drain after 10 in a row increasing by .5 each drain to a max of 5x

Edited by Darklords
  • Like 4

Share this post


Link to post
Share on other sites

wow, thank you Budda

Edited by Mclovin

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this