[ASK]increasing and decreasing allstat per hit

omniversal

New Member
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
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
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

TomTTT

New Member
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

omniversal

New Member
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

TomTTT

New Member
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

omniversal

New Member
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
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:
    it is all percolating man
  • The Helper The Helper:
    TheHelper.net #1!
  • Wizard Wizard:
    #1
  • The Helper The Helper:
    LOL I love this place
  • Wizard Wizard:
    ;D
  • Wizard Wizard:
    We all do.
  • O Old Mountain Shadow:
    So what is next for thehelper.net? Is there a new set goals yet?
  • The Helper The Helper:
    yes we are going to be expanding
    +1
  • The Helper The Helper:
    help more people
  • The Helper The Helper:
    thank you for asking Old Mountain Shadow hell ya@
  • The Helper The Helper:
    Look at Mountain Shadow in the chat!
  • The Helper The Helper:
    welcome to thehelper.net
  • O Old Mountain Shadow:
    thanks although I'm really kind of regretting this name lol ... is there a way to change it out or will I need to make a new account?
    +1
  • Wizard Wizard:
    One of us can change it for you, I believe. Just send me a PM on what you want.
  • Ghan Ghan:
    Some day we should get the feature where you can change your own name.
  • Wizard Wizard:
    Soon!
  • The Helper The Helper:
    did the mountain shadow get his name changed? personally I think Old Mountain Shadow is a kickass name
  • The Helper The Helper:
    but what do i know lol
  • Wizard Wizard:
    No they haven't had their name changed, it is badass xD
    +1
  • O Old Mountain Shadow:
    Thanks, lol! I haven't quite come up with a good new one yet. I was gonna default to one of my older usernames: Cha Zui = tea drunk in Chinese but then decided it too didn't quite fit right. I'm not asian lol... But I am tall, and old spirited which is sort of where the Old Mountain Shadow came about.
  • O Old Mountain Shadow:
    Either way I appreciate the willingness to help me change it! Should I discover something better I'll swap it, but for now ill stay with what I got.
  • The Helper The Helper:
    If you want a change like they said earlier just let us know
    +1
  • Ghan Ghan:
    Patched and rebooted the server this morning.
  • Ghan Ghan:
  • The Helper The Helper:
    dam pwnkit what a name probably perfectly describes it

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome
    Top