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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this