Exact Bounty Not Being Awarded?

Julian4life

New Member
Reaction score
7
It seemed simple enough...

I triggered bounty for units like this:
Trigger:
  • Bounty
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Player - Turn Gives bounty On for Player 1 (Red)
          • Player - Turn Gives bounty On for Player 2 (Blue)
          • Player - Turn Gives bounty On for Player 3 (Teal)
          • Player - Turn Gives bounty On for Player 4 (Purple)

then i gave the skeleton warriors a bounty base of 20 gold, and one die, with one side. But when i kill the (summoned) skeletons it says i am awarded with +19 gold, but my gold goes up by a different amount. Usually by 13 but sometimes by 14? I dont understand why it awards less?

+rep for help! :D
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Well, to start with change that trigger to this:
Trigger:
  • Give Bounty
    • Events
      • Map initialization
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 4, do (Actions)
        • Loop - Actions
          • Player - Turn Gives bounty On for (Player((Integer A)))


Your trigger turns the bounty on for those players too many times, since they get turned on equal to how many players there is :D ( by this i mean they get turned on 12 times each, or 16, can't remember how many players there are XD)

And to your question, what values do you have in these fields?:
Stats - Gold Bounty Awarded - Base = ?
Stats - Gold Bounty Awarded - Number of Dice = ?
Stats - Gold Bounty Awarded - Sides per Die = ?
 

GetTriggerUnit-

DogEntrepreneur
Reaction score
129
That won't work buddy. You try to do something to big, when it's really easy. Try this

Trigger:
  • Bounty
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Player - Turn Gives bounty On for (Picked Player)


If after that it doesn't work, send the map.
 

Julian4life

New Member
Reaction score
7
Well, to start with change that trigger to this:
Trigger:
  • Give Bounty
    • Events
      • Map initialization
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 4, do (Actions)
        • Loop - Actions
          • Player - Turn Gives bounty On for (Player((Integer A)))


Your trigger turns the bounty on for those players too many times, since they get turned on equal to how many players there is :D ( by this i mean they get turned on 12 times each, or 16, can't remember how many players there are XD)

And to your question, what values do you have in these fields?:
Stats - Gold Bounty Awarded - Base = ?
Stats - Gold Bounty Awarded - Number of Dice = ?
Stats - Gold Bounty Awarded - Sides per Die = ?

I tried what you suggested, but it's the same thing. There are only a total of four players. They still give only 13 gold, even though its supposed to be 19 and it says in gold above the killed enemy "19".
and:
then i gave the skeleton warriors a bounty base of 20 gold, and one die, with one side.
 

Julian4life

New Member
Reaction score
7
That won't work buddy. You try to do something to big, when it's really easy. Try this

Trigger:
  • Bounty
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Player - Turn Gives bounty On for (Picked Player)


If after that it doesn't work, send the map.

Yeah, i did that at first, it didnt even award any bounty. 0-o wierd indeed.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
@ Julian4life: Don't double-post, if you forgot to mention something in your post, just edit it :D

@ Blitz's trigger: That shouldn't work either, you need to use an integer loop :p
 

Julian4life

New Member
Reaction score
7
Sure i guess.
Its hasn't gotten anywhere yet.

It's just a small thing for me and some friends. :p
 

Attachments

  • SBFv0.1.w3x
    28.1 KB · Views: 218

Komaqtion

You can change this now in User CP.
Reaction score
469
Here, i just changed the bounty to 20 number of dice and sides per die to 0, and now gives 20 each time :D
 

Julian4life

New Member
Reaction score
7
Here, i just changed the bounty to 20 number of dice and sides per die to 0, and now gives 20 each time :D

Actually, it when you kill it, it gives only 14 gold, but it says in yellow "+20" above the monster, which is the problem. ><
Its not that i wanted it to give 20 gold instead of 19, i wanted to award what it says.

Like when i kill a skeleton, it says "+19" and then my gold will raise by only 13.
Same happened with your edited version, it said "+20" above the monster then gave me only 14 gold.

Check again ><
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Sorry man !!!! :(

But it can still easily be editd with triggers ;)

Trigger:
  • Custom Bounty
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Skeleton Warrior
    • Actions
      • Player - Add 20 to (Owner of (Killing unit)) Current gold
 

GetTriggerUnit-

DogEntrepreneur
Reaction score
129
Sorry man !!!! :(

But it can still easily be editd with triggers ;)

Trigger:
  • Custom Bounty
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Skeleton Warrior
    • Actions
      • Player - Add 20 to (Owner of (Killing unit)) Current gold


When it gives 19 it gives 13, use the same trigger and set +6
 

Lammet

New Member
Reaction score
0
Sorry man !!!! :(

But it can still easily be editd with triggers ;)

Trigger:
  • Custom Bounty
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Skeleton Warrior
    • Actions
      • Player - Add 20 to (Owner of (Killing unit)) Current gold

Don't forget to turn bounty off if you use this triger.
You can even add:
Floating Text - Create a floating text above dying unit labelled |cffffcc00+20|r
Floating Text - Set lifespan of floating text to 1 seconds.


Now it will be shown with yellow text over the killed unit +20
And you will get 20 gold
And no leaks?? I don't think so atleast
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Nope, no leaks, but use Blitz's advice, and you don't need to add the floating text, since it shows the correct amount of gold, and you just add the gold you don't get ;)
 

Lammet

New Member
Reaction score
0
Yeah, but then u have to do lots of other triger for all units that give wrong amount, set point value = bounty, and give value of point value to killing unit instead and floating text, 1 Trigger for all unit bounty. much better than having 1 trigger for each unit that gives wrong amount.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
First, you mean custom value right ??? :D

And second, yeah but still you could give them a custom value of the amount of gold that isn't given to the player, aand still add that to the gold ;)
No floating text either :p
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top