• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Bounty-on-Attack System

Status
Not open for further replies.
Level 10
Joined
Jun 10, 2007
Messages
557
Bounty-on-Attack System (Please lock)

Never mind, I got it to work. Please lock this thread.

Hey, I'd like an easy-to-install and easy-to-configure system that adds a certain amount of gold to the owner of an attacking unit.

What it needs: the ability to set the amount of gold given, the ability to give either less than 1 gold (ie 0.25 gold, which I'm not sure is possible) or have a (configurable) percent chance to give gold, and the ability to make exceptions for the system depending on what unit (or type of unit, like a structure) is attacking or being attacked (If a Footman, for example, attacks, it gives 1 gold, if a Ghoul attacks, it gives 2, but if a Grunt is being attacked no gold is given, and so on).

It can be in GUI or JASS, but if it's in JASS then please let me know what to change in order to configure the units affected, gold given, percent chance of giving gold, etc.

What it's for: A Vampirism-like map in production called Myths & Legends which aims to fix most of the problems I felt plagued Vampirism and Island Defense by altering gameplay somewhat. In the coming days I will likely make a thread about it over in Map Development, but essentially it will revolve around being easier to learn but still hard to master and to snowball quite a bit less, if at all. The map's terrain is finished and fully one half of the tech trees are done; it will be completely playable, if somewhat unpolished, once the triggers are finished. A vital trigger? The one I'm requesting right now. :grin: I tried to do it in GUI but my way (Endless trees of "Unit is Attacked, Owner of Attacking Unit equal to Enemy of Attacked Unit, If (Unit Type) Equal to (Unit) then Add (X) Gold to Owner of Attacking Unit") didn't seem to work and I can't think of other ways to do it.)

Screenshots available on request.

Many thanks in advance to those who would take this on. As always, +rep will be involved.
 
Last edited:
Status
Not open for further replies.
Top