System Damage Register / Critical Effect

gref

New Member
Reaction score
33
Damage Register / Critcial Effect System

Import Difficulty: Easy (Jass suggested heavily)
(Takes longer the more spells there are in the game)
-Credits to emjlr3 for the On Attack Template.

This is a system that shows all user-owned damage in the game, WoW style, and allows all heroes to achieve spell critical effects and melee damage critical effects. (At the moment critical effects are only coded for damage spells.)

This system is MUI, and each players damage is displayed in their colors. (I was teal when I was doing the screenshots.)

The critical effect system works as such:
-A unit's melee/ranged attack crit is dependent upon their agility
-A unit's spell attack crit is dependent upon their intelligence
-A unit's ability to resist crits is dependent upon their strength

Items included to increase chance of crits/resists and damage on crit events.

Benefits
-Dummy Spells (Spells that trigger Damage Events, but do 0 damage) will not register
-Can have a WoW style damage interface
-Quite simple to customize if you can write JASS, effects can be added in GUI thought with much less support.

Drawbacks:
-Each spell that you want to use this system you have to add to the correct Trigger.
-I haven't yet written a trigger to deal with immolation.
-At the moment it only shows the user-owned unit's damage. (Very easily changeable, however it would clutter up the screen badly.)

Any Leaks, bugs, problems, please post or pm me.

Edit:
-Fully Jass (Gui triggers there, but disabled)
-Fully Native Functions (BJ functions removed except for EventRegistering)
-Full Readme added.
-Full terrain added.
-Creep spawns improved.
Leaks removed in Initialization triggers.
Simple importation.



Some screenshots:
1.JPG


2.JPG


3.JPG


4.JPG


5.JPG


6.JPG


Edit: Update 1.
 

Attachments

  • Damage Register System.w3x
    79.6 KB · Views: 328

Sooda

Diversity enchants
Reaction score
318
First I like 9idea and 3rd screenshot from upper. I would like to ask why there is needed to add somekind of ability information. you just have to register damage taken and then check with boolean who dealed damage (If it wasn' t ability damage then check unit type- melee or ranged.). Also to your system trigger you should add additional 2 events to get also casted abilities ("Unit starts effect of ability", dunno is "starts channeling ability" needed.) It would eliminate need to add abilities somewhere. I try to check it out also. From screenshots it looks interesting also to what is "change" compared ? I got 50 (Or 10 000) Agi, what is change to do something ?

EDIT:
> Can have a WoW style damage interface.
How does it look like ?
 

gref

New Member
Reaction score
33
The reason is because there isn't a way to determine the difference between a melee or ranged attack and a spell attack. Not because of the difference between melee and ranged. (Melee and ranged together use only one trigger).
Channelling will probably be covered under one of the types of damage in the triggers. (Thought it is very simple to create a new trigger based upon the ones there)

By WoW style, I mean that as you damage a unit, your damage appears, and that crits appear similar to in WoW, and that you can see when a unit resists or blocks.
 

Sooda

Diversity enchants
Reaction score
318
I think idea is really good. I now checked triggers. There isn' t any implementing instructions what to copy and what to not copy. How it exactly works. No README included. At game start only once is text displayed and I had never change to see it again (it should be periodic ~ 30 sec intervals). Also you are using BJ what is bad (Try to look up natives and use them instead.), these all seperate triggers could be emerged to one trigger called your system name. I asume people want only to see their abilities crits not to deal with 12 triggers. Using custom scripts in trigger (All triggers was just lines of custom scripts then why not to make them all in JASS and merge with main trigger. You could create in one trigger new triggers and then add all events and conditions to them seperately but still they all are in one trigger what means people don' t need to worry about these things. It' s easier to implement your system when you just have to copy paste one trigger. Using "GUI to JASS conversion" isn' t most good idea to do also, conditions are not efficient. Have you read tutorials about writing efficient code ? If not read it and edit your system layout.
Don' t forget to mention where to paste your system. I had to figure out where was system" hided". Explane also why it need to be there and what is CS Cache ? Mention Vexorian webpage also so people could get latest version of it.
If it would be in one trigger with nice coding (Blizzard generated function names dosn' t make sense. They can but it takes time to understand.) All things what can be changed woud brought up with constant functions I would give 10/ 10 but for now 5/ 10.

EDIT: Pics are taken from other map btw in demo map threre wasn' t such terrain.
 

gref

New Member
Reaction score
33
I know. The other map was just a better example of them in the open.

After I've finished the exams I have to tomorrow I'll implement your suggestions, thanks sooda.
 

ertaboy356b

Old School Gamer
Reaction score
86
You could check if a unit is a melee(100) or range(200+) by just checking their range from the target unit.... Also, to deal damage by intelligence or strength or agility, you just need to 0 the base damage of the unit, that way, the unit will gain damage only from its stats and some ability or items...
 

Chocobo

White-Flower
Reaction score
409
You could check if a unit is a melee(100) or range(200+) by just checking their range from the target unit.... Also, to deal damage by intelligence or strength or agility, you just need to 0 the base damage of the unit, that way, the unit will gain damage only from its stats and some ability or items...

Really? And if a melee attacks a ranged unit?


Btw, seems a good system.
 

gref

New Member
Reaction score
33
Edits: Sooda's suggestions taken into account.
Much editting done.

Melee and Ranged detection don't enter into it :p.
Thanks for the comments, please have a five second test.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    How can you tell the difference between real traffic and indexing or AI generation bots?
  • 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 Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top