Jump to content

Threat function / class resource


Sekuma

Recommended Posts

Heya, hope you all are doing good!

I have three questions.

The first being, how can I get a threat function? As I were sitting there working on a class and just minding my own, I realised that how am I going to hold aggro on mobs and so on. Is it something that is all ready built in that I can work with or is it something I have to create myself?

And the second question being, how can I make specific resource bars show on specific classes? Like if I would make a rogue for example and want energy instead of mana. I can create the resource itself but I don't really know how to make the specific resource show on the screen as it will show both mana and energy.

And lastly a simple thing, changing the color on item titles for like epic, legendary gear etc. I found a file named "UIItemQuality" which contains hex colors for the different rarities but changing them changes nothing that I can see.

Thanks in advance :)

Link to comment
Share on other sites

Hey, the threat is already implemented and it's based on damage dealt, and you can also alter it using additional effect for classes that don't do much damage, but should be able to keep aggro of enemies like tanks.

To present specific stats for specific classes, you would have to code this and check what is the class of the player and enable some UI element.

Colors are defined in the Login Scene -> Scripts -> Atavism Settings 

image.png

Link to comment
Share on other sites

Yes, the effect is called Threat.

https://unity.wiki.atavismonline.com/project/effects-plugin/

Threat: Effect is commonly used in increasing or decreasing aggro of mobs. Right now aggro is based on damage dealt, so damage dealers are getting the most attention of mobs, which can be altered by putting an additional effect on different types of Abilities with this Threat Effect.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recommended Cloud Solution


    ksweb.net

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.