[ASK] how to earn gold depends on hero damage ??

omniversal

New Member
1.i want to ask how make a trigger that make we earn gold every time attack but the amount gold we earn is based on hero damage ( if our hero damage 1000 then we will get 1000 gold every attack , so the amount of gold we earn will always equal to our damage ) ???

2. how to make a trigger that make that make we earn gold every time attack but the amount gold we earn is based on the damage of hero ( if our hero damage 1000 then we will get 1000 gold every attack , so the amount of gold we earn will always equal to our damage ) and the trigger only active if we acquire an item that have set by us : example the trigger will active if we acquire "claw of attack" and the trigger will automatic turn off if the "Claw of attack" if we drop the item
 

NeuroToxin

New Member
You'd need a damage detection system, in both ones, Search around they have some, When you find one tell us which, ill help then, ill look around too
 

X-maul

AKA: Demtrod
1.i want to ask how make a trigger that make we earn gold every time attack but the amount gold we earn is based on hero damage ( if our hero damage 1000 then we will get 1000 gold every attack , so the amount of gold we earn will always equal to our damage ) ???

2. how to make a trigger that make that make we earn gold every time attack but the amount gold we earn is based on the damage of hero ( if our hero damage 1000 then we will get 1000 gold every attack , so the amount of gold we earn will always equal to our damage ) and the trigger only active if we acquire an item that have set by us : example the trigger will active if we acquire "claw of attack" and the trigger will automatic turn off if the "Claw of attack" if we drop the item
1. there is a system which checks damage taken, but thats JASS as far as i know...
2. for the system which activates a trigger upon picking up item.
there is a event which checks "Unit - Unit Aquires Item" or drops item.
then make an condition which check if minipulated item is your "Claw of attack"..
 

Hatebreeder

So many apples
It's not hard to write it in Jass.

Just use the instructions the system gives you after you've written code (mostly, it's just event registration and unit replacement (From GetTriggerUnit() into GetTriggerDamagedUnit() or something))
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    wizard and ghan i hope you guys are ready because i am taking you bitches along for the ried
  • The Helper The Helper:
    buckle up
  • Wizard Wizard:
    xD
  • Wizard Wizard:
    Sounds good lol
  • Wizard Wizard:
    I did reply with more info just now about what we did in the past and what we are doing now.
  • The Helper The Helper:
    it is all good
  • 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?
  • 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

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome
    Top