Jump to content
MakeWebGames

Mod request


Dazza
 Share

Recommended Posts

Hello,

I have a free/paid mod request, unless someone can suggest a similar mod that I could edit.

I want to add a Crystal Tax. based upon how many wars a gang is in (More wars = bigger tax). This way members would have to 'chip in' together and help their gang pay the tax. It reduces some of the crystals in circulation and for me, would be a good addition to the game.

Could anyone help?

Link to comment
Share on other sites

Re: Mod request

$result = $db->query(sprintf("SELECT COUNT(*) FROM gangswars WHERE gangid = '%u'",$ir['gang']);

$numGangs = $db->num_rows($result);

// tax per extra war

$taxCost = 5;

$tax = ($taxCost * $numGangs);

 

this would most probably not work but its a guideline

Link to comment
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.

 Share

×
×
  • Create New...