1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  4. Dismiss Notice
  5. The Highway to Hell has been laid open. Come along and participate in the 5th Special Effect Contest.
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Critical Hits and Slow Poison

Discussion in 'World Editor Help Zone' started by Melth, May 23, 2015.

  1. Melth

    Melth

    Joined:
    Jul 8, 2013
    Messages:
    201
    Resources:
    2
    Maps:
    2
    Resources:
    2
    I was testing out a unit which is supposed to have a 100% crit chance against enemy heroes only and is also supposed to have slow poison when I realized that the slow poison wasn't always being applied. Specifically, any attack which was a crit did NOT apply slow poison. For example, I would always poison my own heroes (since the poison applied to allied units but the crit did not) but could never poison the enemy hero.

    Since criticals aren't orb effects or buff placers, I had no idea this would be a problem and I'm now unsure what to do about it.
     
  2. Light

    Light

    Joined:
    Apr 23, 2011
    Messages:
    491
    Resources:
    0
    Resources:
    0
    did you check the slow poison ability's targets?
     
  3. RobertMKD

    RobertMKD

    Joined:
    Jan 23, 2015
    Messages:
    787
    Resources:
    1
    Maps:
    1
    Resources:
    1
    You can solve it with a dummy unit with the poison ability, once the hero attacks someone you create the dummy and attack-once the attacked unit, but you'll need a DDS and that makes it too complicated for a poison ability.. Hope you find a simplier solution, try testing the poison ability without the critical to see if it actually works..
     
  4. Death Adder

    Death Adder

    Joined:
    Nov 3, 2013
    Messages:
    886
    Resources:
    0
    Resources:
    0
    If the unit is ranged then crit and bash become buff placers.
     
  5. Kino

    Kino

    Joined:
    Oct 12, 2008
    Messages:
    1,696
    Resources:
    19
    Models:
    5
    Maps:
    14
    Resources:
    19
    Perhaps you should ask yourself why you need a 100% crit chance?
    Or for that matter; any amount of crit that would cause this to be an issue.
     
  6. Shadow Fury

    Shadow Fury

    Joined:
    Nov 4, 2013
    Messages:
    1,634
    Resources:
    4
    Maps:
    3
    Template:
    1
    Resources:
    4
    Try using "Envenomed Weapons", it worked for me.
     
  7. Melth

    Melth

    Joined:
    Jul 8, 2013
    Messages:
    201
    Resources:
    2
    Maps:
    2
    Resources:
    2
    Yes, as I pointed out it clearly worked - just not when it criticaled.

    Yeah, I’ve triggered poison like that before but it’s way more complicated than it should have to be in this case.

    Huh. That’s weird since crit doesn’t actually place any kind of buff. That makes me think I see a (partial) solution thogh.

    First of all, any time an ability doesn’t work as advertised to the player is an issue. Secondly, it’s 100% crit only against heroes. That is a great way to notify the player that huge damage is being inflicted in a highly visible way so that they know to do something about that attacker or that target.


    Nope, doesn’t work for ranged units (does for melee).


    What Death Adder said gave me an idea: Demolish. That ability isn’t critical strike but easily makes it possible to do multiplied damage to only heroes. So I tried that out. But it didn’t work. In this case, actually, the poison overrides the damage increase rather than the other way around.



    Edit: I went with the DDSed dummy unit poison and got it working. One minor issue is that damage seems to be detected twice on a crit, but that problem is solved by just halving the damage per stack of the poison.
     
    Last edited: May 24, 2015
  8. Death Adder

    Death Adder

    Joined:
    Nov 3, 2013
    Messages:
    886
    Resources:
    0
    Resources:
    0
    Honestly if you're going to use a DDS, why do something as bothersome as using dummies? Make the crit through DDS (assuming you're using looking for help's dds then you can detect if damage is dealt through physical/spell/trigger) and just make a floating text showing the damage above the target.

    Besides the floating text all you'd have to do is to multiply the damage.
     
  9. Melth

    Melth

    Joined:
    Jul 8, 2013
    Messages:
    201
    Resources:
    2
    Maps:
    2
    Resources:
    2
    Something like that was my initial thought but the poison damage sets off the damage detection trigger. I'm not familiar with looking for help's dds in particular, maybe that issue can be avoided there.

    Anyway, just using the dummy is simpler than learning about and implementing any kind of new DDS.
     
  10. Death Adder

    Death Adder

    Joined:
    Nov 3, 2013
    Messages:
    886
    Resources:
    0
    Resources:
    0
    It has three conditions to differentiate between attack, spell and trigger as the source of damage.

    Although I figured that it's redundant to change it when you've already got it working I thought I should still mention that it exists.
     
  11. Apheraz Lucent

    Apheraz Lucent

    Joined:
    Jan 31, 2010
    Messages:
    3,316
    Resources:
    4
    Tutorials:
    4
    Resources:
    4
    Just adding up with some interesting things I've found out about Crits and WW in years of mapping:

    -Critical Strike overrides any orb or buff placer as it's #1 priority. Therefore, if you proc all of them at once, let's say, a 25% bash, a 15% critical and a 15% chance to cast chain lightning on the attack, critical strike will deny them ALL and just fire off a critical.
    -Performing a Critical Strike will also disable attack modifiers such as Barrage or Moon Glaives.
    -...but does not seem to disable Searing Arrows. You can crit an attack with them (Searing Arrows will not crit as well, just the raw attack damage will)
    -Attacking from the Wind Walk with a bonus to damage (considered a "fixed critical damage bonus") will never apply any orb of buff placers on that hit.
    -...it will, however, proc Searing Arrows from all attack modifiers. Frost Arrows, Black Arrows, Slow Poison and such won't be activated (mana will be spent, missile will be changed but it won't leave buff or do the bonus damage), but Searing Arrows will add up damage.
    -...additionally, you can bash, barrage or moon glaive from a Wind Walk if you disable the damage bonus.

    A fine alternative to Critical is "Demolish" skill, and it's easier to trigger the text tag for damage then to trigger DDS with poisoning dummies.