[ASK]increasing and decreasing allstat per hit

omniversal

New Member
Reaction score
0
Yap Tq bro but i forget i more thing and sorry to annoying you once again.

in the Trigger "Basically from items" and "Activated" can you change it that equal to player red (1) and give it to Blood mage to maybe like manipulate the item or carried the item or event response to triggering unit Because i tried to change it like that but it causing trigger error and not activated so pls help once again tq:)
 

TomTTT

New Member
Reaction score
44
I'm sorry but I didn't understand what you need.
You want to make sure that the owner of that unit is Player 1 (Red)?
If so, you can use a simple Comparison:
Trigger:
  • (Owner of (Triggering unit)) Equal to Player 1 (Red)
 

omniversal

New Member
Reaction score
0
I'm sorry but I didn't understand what you need.
You want to make sure that the owner of that unit is Player 1 (Red)?
If so, you can use a simple Comparison:
Trigger:
  • (Owner of (Triggering unit)) Equal to Player 1 (Red)

- if you look the "Basically from items" Triggers on gold map you will see this triggers part : (Owner of (Damage source)) Equal to Player 1 (Red) << i ever tried to change to Equal to hero manipulate item or item carried by bla bla bla and Player - Add (Integer(DAMAGE)) to Player 1 (Red) Current gold i ever to change this part to but it failed too. So i want you to change that part that will make any hero and any player can acquire the item and use this item so not just player 1

- and if you look "Activated" Triggers you will see this triggers part : Hero - Create <|cff00C400Actived|r> Claw of Attack And give it to Blood Mage 0000 <gen>
and this part Hero - Create <|c00ff0303Deactived|r> Claw of Attack and give it to Blood Mage 0000 <gen> nah.. i ever to tried to change it to like give it to "Event response Triggering unit but it failed because it cause the "Basically from items" Trigger to turn off so i need you to change it to that this item is able to use bye any player and hero and wont cause the "Basically from items" Trigger to turn off

I Tried to put another new hero but when i click to activated the item , the item change the place and when i deactivated the item it change back to normal position ( back to slot 1 again ) i dont why its like that and i delete the item from map then put the item to the shop just for testing if the item can be sold or not.
 

Attachments

  • Gold1.w3x
    14.8 KB · Views: 150

TomTTT

New Member
Reaction score
44
Alright i see the problem now.
Fixed everything, works fine with every player you play with. None - Problematic changes:
-Changed floating text velocity to 32, made it fade, and changed it's color.
-Changed the amount of gold earned to 10% of the damage dealt. You can change it back in the Variable setting action.
GL with the map!
 

Attachments

  • Gold1.w3x
    14.8 KB · Views: 142

omniversal

New Member
Reaction score
0
Alright i see the problem now.
Fixed everything, works fine with every player you play with. None - Problematic changes:
-Changed floating text velocity to 32, made it fade, and changed it's color.
-Changed the amount of gold earned to 10% of the damage dealt. You can change it back in the Variable setting action.
GL with the map!

hmm i think its has some error like when the hero which manipulate the item and activated the item ability all hero , hero offensive ability ( that cause damage to enemy ) , any hero that not manipulate the item , allies unit , summoned beast able to get gold/hit but the gold that all hero , hero offensive ability ( that cause damage to enemy ) , any hero that not manipulate the item , allies unit , summoned beast is transfer to the hero that manipulate the item so they hit but they dont get gold and i dont hit but i get the gold because i manipulate the item.

so can you help me to change that only the hero which manipulate the item can get gold/hit that base on hero damage when activated the item ability and only if i do damage to the enemy that i can get gold . So the hero that not acquire or manipulate the item cant get gold/hit and we cant get gold from offensive ability (ability which has an ability to cause damage to enemy ) of any hero including the hero that not manipulate the item and we can get gold/hit from the summoned beast , and allies unit and building too . so it only get gold from hero true base damage + Bonus damage that increase hero true base damage of the hero that manipulate the item.

i hope you can understand and sorry for annoying you again :thup:
 

Attachments

  • Gold1.w3x
    14.8 KB · Views: 138

TomTTT

New Member
Reaction score
44
hmm i think its has some error like when the hero which manipulate the item and activated the item ability all hero , hero offensive ability ( that cause damage to enemy ) , any hero that not manipulate the item , allies unit , summoned beast able to get gold/hit but the gold that all hero , hero offensive ability ( that cause damage to enemy ) , any hero that not manipulate the item , allies unit , summoned beast is transfer to the hero that manipulate the item so they hit but they dont get gold and i dont hit but i get the gold because i manipulate the item.

so can you help me to change that only the hero which manipulate the item can get gold/hit that base on hero damage when activated the item ability and only if i do damage to the enemy that i can get gold . So the hero that not acquire or manipulate the item cant get gold/hit and we cant get gold from offensive ability (ability which has an ability to cause damage to enemy ) of any hero including the hero that not manipulate the item and we can get gold/hit from the summoned beast , and allies unit and building too . so it only get gold from hero true base damage + Bonus damage that increase hero true base damage of the hero that manipulate the item.

i hope you can understand and sorry for annoying you again :thup:

You mean to make sure that no ability that deals damage will increase gold? Only plain and simple attack will?
I'll edit this post as soon as im finished.
EDIT: Oh, i see you also mean that all players could have this. So instead of the claw bolean variable, i changed, but i forgot to change the no ability, so ill edit this when im done.
EDIT 2: Sorry, i don't think it's possible to do so without a proper Damage Detection System.
Map uploaded
 

Attachments

  • Gold1.w3x
    15 KB · Views: 171

omniversal

New Member
Reaction score
0
tq very much i think this is perfect as wat i want even the ability is still can make the hero that manipulate the item earn the gold. but i think is ok
 

TomTTT

New Member
Reaction score
44
tq very much i think this is perfect as wat i want even the ability is still can make the hero that manipulate the item earn the gold. but i think is ok
Maybe you can disable gold gain with abilities by doing something like
Trigger:
  • GG disable
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 6, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item-type of (Item carried by (Triggering unit) in slot (Integer A))) Equal to Gold Gain
            • Then - Actions
              • Item - Remove (Item carried by (Triggering unit) in slot (Integer A))
              • Set Unit_Had_GG[(Player number of (Owner of (Triggering unit)))] = True
            • Else - Actions

Above trigger is basically meant to show that if that unit had the item which give gold, then remove this item and set a variable (Bolean) that will affect this trigger:
Trigger:
  • GG enable
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • Unit_Had_GG[(Player number of (Owner of (Triggering unit)))] Equal to True
    • Actions
      • Hero - Create Gold Gain and give it to (Triggering unit)

Now you can see that if the unit had the item or didn't. If he didn't, he shouldn't get the item when he finished the ability ,right?
So the variable indicated whether this unit had the item or didnt.
Didn't try it yet. Maybe you can give it a try?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air
  • The Helper The Helper:
    New dessert added to recipes Southern Pecan Praline Cake https://www.thehelper.net/threads/recipe-southern-pecan-praline-cake.193555/
  • The Helper The Helper:
    Another bot invasion 493 members online most of them bots that do not show up on stats
  • Varine Varine:
    I'm looking at a solid 378 guests, but 3 members. Of which two are me and VSNES. The third is unlisted, which makes me think its a ghost.
    +1
  • The Helper The Helper:
    Some members choose invisibility mode
    +1
  • The Helper The Helper:
    I bitch about Xenforo sometimes but it really is full featured you just have to really know what you are doing to get the most out of it.
  • The Helper The Helper:
    It is just not easy to fix styles and customize but it definitely can be done
  • The Helper The Helper:
    I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
  • Blackveiled Blackveiled:
    People love rep, lol
    +1
  • The Helper The Helper:
    The recipe today is Sloppy Joe Casserole - one of my faves LOL https://www.thehelper.net/threads/sloppy-joe-casserole-with-manwich.193585/
  • The Helper The Helper:
    Decided to put up a healthier type recipe to mix it up - Honey Garlic Shrimp Stir-Fry https://www.thehelper.net/threads/recipe-honey-garlic-shrimp-stir-fry.193595/
  • The Helper The Helper:
    Here is another comfort food favorite - Million Dollar Casserole - https://www.thehelper.net/threads/recipe-million-dollar-casserole.193614/

      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