Anyone have any idea how to...?

  • Thread starter Thread starter [S]hifty
  • Start date Start date
S

[S]hifty

Guest
Ok, I gave up on my dialogues, they just weren't working and no one knew how to help me.

But now onto a new problem.

How do i make when someone purchases (Tom of agility) Increase there ATTAcK SPEED , by .02? Not the agility itself, that gives bonus to defense also, just the players attack speed.

This was done in Hero Craft 2 Lite.

If anyone knows how plz tell me.

I know it has something ot do with, A player Aquires Item - Item iquivalant too Tome of agility, Then i don't know what to do here...

I also want ot know, How do i make it, so when ap lyer aquires a "Tome of Power" It increase there attack damage by 1. I knwo this is done via trigger also, but i don't know how to bind Attack damage, to the Tome, do i need variables? i tried.. but its so confusing, i Tried attaching like, Tome of Power to ability, but theres no damage +1 ability.

All these stats are being added to a hero.

I also want to make it so when someone purchases a Tome of knowledge they gain 25 mana, and .25 mana regeneration rate, i know this is all equivalant to the other stuff, so if anyone cfan figure out how to do any of these, im pretty sure i can just turn it around to do the rest.

Again this was all done in hero craft 2 lite, it really helps a player custimize there hero. And thats whta i want ot allow, Full custimization of a hero.

Ok thanks for any help

The sharpshooter.
 
The basic idea is to make custom abilities based on Item Damage Bonus, Item Attack Speed Bonus, etc. and give these abilities to the unit via triggers. The complicated part is a unit can't have the same ability twice. So the next idea is to say, make one item damage bonus that's +1, one that's +2, one that's +4, one that's +8, and so on, doubling. With the proper triggers you can then make the bonus anything you like.
 
Hmm could you xplain that in more detail, i don't understand how i could tie this all together, or even yet double damage? I don't want that anyway, just everytime a tome of attack is bought, give +1 damage to the hero.
 
[S]hifty said:
Hmm could you xplain that in more detail, i don't understand how i could tie this all together, or even yet double damage? I don't want that anyway, just everytime a tome of attack is bought, give +1 damage to the hero.
Here's one analogy I've seen. The problem is when you add these abilities to add damage, you can't add the same one twice (so you can't just keep adding the same ability that adds +1). Picture it like a lot of lights. One is 1-watt, one is 2-watt, one is 4-watt, one is 8-watt, one is 16-watt, etc. If you want a 1-watt light (+1 damage), you turn on the 1-watt light. If you want a 2-watt light (+2 damage), you turn on the 2-watt light. If you want a 3-watt light, you turn on the 1- and 2-watt lights. If you want a 4-watt light, you turn on the 4-watt light. 5-watt, turn on 1- and 4-watt. 6-watt, turn on 2- and 4-watt, etc.

Complex, isn't it? The whole thing is complicated.
 
So if hte player has used a tomb of attack a total of 100 times, i need to have an item basicaly of Attack +100? I can't just have 1 and add it on each tiem?

Thtas gonna be rediculously long... what if they just go all out damage and have +200 tome of atttacks bought, does that mean i need to make 200+ attack items? oh boy..
 
What you can do is this:

Under the "Advanced" menu in the World Editor, click "Gameplay Constants". Resize the window that comes up to be real tall, and then scroll down untill you find the "Hero Attributes" section. There you can modify most of what you said.
 
[S]hifty said:
So if hte player has used a tomb of attack a total of 100 times, i need to have an item basicaly of Attack +100? I can't just have 1 and add it on each tiem?
You'll have to use triggers anyway. Even if you add +1 to the tome, it won't stick around.

And, no, none of these abilities are actually attached to items. They're just floating around alone; they'll be added to your unit using triggers.

So, no, you don't need a +100 ability. You just need a trigger that will know enough to use the +64, +32, and +4 abilities.
 
Hmm i wish you could xplaint io me how that would wrk with the trigger.

Maybe give me an example?
 
I did something like that but I gave it to a hero and when he learnt it, it disappeared and only added the imported wings that I added on to it, but maybe it just added in the +50 atk to the whole atk.
 
If value greater than or equal to 64 then give +64 to Hero and set value = value - 64
If value greater than or equal to 32 then give +32 to Hero and set value = value - 32
If value greater than or equal to 16 then give +16 to Hero and set value = value - 16
If value greater than or equal to 8 then give +8 to Hero and set value = value - 8
If value greater than or equal to 4 then give +4 to Hero and set value = value - 4
If value greater than or equal to 2 then give +2 to Hero and set value = value - 2
If value greater than or equal to 1 then give +1 to Hero and set value = value - 1


Looks complicated? Well, that's because it is.
But, let's say your Hero is at +99 and buys a +1 item.
He's supposed to, then, be +100.
Well, you remove all the +X abilities, then run through that list with value = 100.
Once done, your Hero got the +64, the +32 and the +4 abilities.
Means he has +100 now.
 
Read my POST!!! This meathod doesn't involve hundreds of abilitys OR repeating triggers!!!

Under the "Advanced" menu in the World Editor, click "Gameplay Constants". Resize the window that comes up to be real tall, and then scroll down untill you find the "Hero Attributes" section. There you can modify most of what you said.
 
Korolen said:
Read my POST!!! This meathod doesn't involve hundreds of abilitys OR repeating triggers!!!

Under the "Advanced" menu in the World Editor, click "Gameplay Constants". Resize the window that comes up to be real tall, and then scroll down untill you find the "Hero Attributes" section. There you can modify most of what you said.
What if he wants regular agility gained via levels to have standard benefits, but tomes only increase attack speed? And so on.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    LOL! A tweak job!
  • The Helper The Helper:
    this is the fix I get from that yeah this is hard to control. disabling bots is pretty much necessary as ai and other bots would push really old threads to the top. reduce weight of view count. disable guest view tracking if you really want to push active threads to the top. a bit of tinkering for a few days with the weights and other settings should get you a decent trending widget box.
  • Ghan Ghan:
    I changed the settings a bit.
  • Ghan Ghan:
    Narrowed it to 7 days for the half-life and set views to 0 weight.
  • The Helper The Helper:
    I dont think Trending would work for this forum it would be better to just have the last 5 posts from anywhere
  • Ghan Ghan:
    Probably will have to give it some time to update.
  • Ghan Ghan:
    I'm guessing it is not retroactive.
  • Ghan Ghan:
    Next on the punch list: Update the server to Ubuntu 24.04.
  • The Helper The Helper:
    Mad Lads is new I see it displays original post date
  • The Helper The Helper:
    as long as it changes it is good - it is good now it updated and its new stuff
  • The Helper The Helper:
    One thing I have noticed and I dont know if it is by design but like 1 out of 3 times I come to the site the Anubis screen just hangs open, if I refresh it will go away but sometimes it hangs
  • Ghan Ghan:
    I've seen that as well.
  • The Helper The Helper:
    Wow - the change in the stats are major. I kind of knew it was all bots but wow, to see the effect. Why the social media sites cant do something like this I have no idea.
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)
  • The Helper The Helper:
    New Science News Forum and it starts out with 420 threads :)
  • The Helper The Helper:
    Technical Support forum name changed To Technology News, there is now a Tech, sci/tech and science forums now :)
  • The Helper The Helper:
    Happy Saturday! Hope everyone has a fantastic weekend!
  • Ghan Ghan:
    We are now on Ubuntu 24.04. Had some issues with the style after the OS/PHP upgrade but now resolved.
    +1
  • Ghan Ghan:
    PHP 8.3 now live
    +1
  • The Helper The Helper:
    Weekend went by too fast. Next weekend I am going to try to do a nature thing - buddy of mine lives by the Colorado river and has some kayaks and invited me to do some kayaking from a place he knows to get on the river.
  • Ghan Ghan:
    That sounds like an adventure.

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top