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: 219

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.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top