|
|
Every spell has an effecttype and a damage type.
Effecttype determines whether it will go through certain types of immunities or not, damage type is like the secondary immunity check as well as the type that will determine how it will get mitigated by certain types of armor.
Essentially, effecttype is a primary "check" for whether it applies or not (usually applies to side-effect of skills, like state applications) and damage type is the secondary "check" for mitigation.
Effect types and immunity types can be found in the base.gamemechanics file inside resources0.s2z
Last edited by ElementUser; 06-13-2011 at 12:51 PM.
S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
-----------------------------
Tech Support and Customer Support: https://www.heroesofnewerth.com/support/
Look for my highlighted text (important information) and grey text (interesting but not required information).
Well the basic information is laid out. Malle, Trysaeder & other Mechanics people wishing to help, if you can find anything new/something that can be corrected in the original post, feel free to post it in this thread!
Thanks
S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
-----------------------------
Tech Support and Customer Support: https://www.heroesofnewerth.com/support/
Look for my highlighted text (important information) and grey text (interesting but not required information).
There are two different components of offensive spells, the targeting type and the damage type.
Targeting type defines what enemies are able to be targeted by the spell, and damage type defines what will resist the damage. A spell can have any combination of target type and damage type, and will act accordingly.
Immunity grants full immunity to the type and damage specified. Armor grants resistance to its corresponding type.
Secondary damage and targeting types usually come with ultimates, and they ignore their corresponding immunities.
Currently there are 5 types of damage.
Magic: Reduced by magic armor.
Physical: Reduced by armor.
Superior Magic Damage: Can damage magic immune units.
Superior Physical Damage: Can damage physical immune units.
(actual)True damage: Goes through everything.
There are 4 targeting types.
Magic: Cannot target magic immune units.
Physical: Cannot target physical immune units.
Superior Magic: Can be cast on magic immune units.
Superior Physical: Can be cast on/attack physical immune units.
Let's go through some examples:
Swift slashes: Type Superior Magic, Physical Damage. This ignores magic immunity and does physical damage. Its damage blocked only by physical immunity, but still can be cast on physical immune units.
Hammer throw: Type Magic, Magic Damage. Reduced by magic armor, cannot be cast on magic immune units.
Dota's Doom: Type Superior Magic, Superior Magic Damage. Nothing will stop this, but magic armor will reduce the damage done.
Last edited by Trysaeder; 11-12-2009 at 07:39 PM.
Former Master of the NightE.S. Posthumus__________________________________________________ __________________________________________________ ___________Nihilsomno, glory forever
I feel that you need to add the execution command to the list somewhere. So far only Legionaire might the owner of this (besides earlier bugged Staff of the Master Soul Reaper), but it's still ingame, and relevant to the list. Might be more abilities in the future using this piece of code as well.
Decapitate is simply check if target is below X, if so, kill it.
Code:<condition test="target_health lt result"> <kill target="target_entity" />
Former Master of the NightE.S. Posthumus__________________________________________________ __________________________________________________ ___________Nihilsomno, glory forever
Hm, looks like it's well written Trysaeder! I'll edit some of my wording to make it more clear. You got it right on for Target types.
For "Magic Damage" and "Physical Damage", can you clarify a bit on that? I don't think Hammerstorm's Hammer Throw will damage the targeted unit it hits if they're magic immune (I completely negated the stun with Swiftblade's Blade Frenzy before the spell hit). Unless you meant Hammerstorm's Hammer Throw was damage type magic & not damage type magic damage.
I just want to make sure I know exactly what those 2 are before editing them into the first post; unless you actually named that instead of "Superior Magic" and "Superior Physical" damage types by mistake :P. Thanks!
Last edited by ElementUser; 10-27-2009 at 09:50 AM.
S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
-----------------------------
Tech Support and Customer Support: https://www.heroesofnewerth.com/support/
Look for my highlighted text (important information) and grey text (interesting but not required information).
Vindicator's damage is clearly labled as true with his Attack Modifier, it is also based on his intelligence and is thus not ever carved in stone with an exact numerical amount.
True: Unfortunately, there isn't actually a term explicitly named "True" in HoN. All of the true damage spells are either:
- Have their damage manually triggered & set (Succubus' Heartache, Blood Hunter's Hemorrhage)
- Have a "Magic Splash" as the affector damage type (Jeraziah's Inner Light)
- Direct HP removal (Insanitarius, Soul Reaper's Withering Presence)
Their damage is unreduced and their targeting type will vary.
I only lurk anymore..
S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
-----------------------------
Tech Support and Customer Support: https://www.heroesofnewerth.com/support/
Look for my highlighted text (important information) and grey text (interesting but not required information).
thats vindicator's damage effect type.<damage effecttype="" amount="1" b="var0" op="mult"/>
Succubus' heartache<damage effecttype="" amount="75,150,225,300" />
Andromeda's stun<damage effecttype="Magic" amount="100,175,250,325"/>
In conclusion: Any spell with a damage effecttype with no specified type will result in true damage. Which makes sense if you think about it. Because Physical, magic, superior magic, superior physical, they are all damage type, and if its not labeled one of these, then the only way it will effect the armor is by doing unaffected damage, thus, true damage.
Last edited by Kwaurtz; 10-27-2009 at 08:17 PM.
I only lurk anymore..
Make it clear when you say 'goes through magic immunity'.
Stuff like 'If the spell's damage type is physical, it will go through magic immunity.'
should be phrased like: reduced by armor and blocked by physical immunity.
All the 'Ifs' should be placed in the examples section.
What's wrong with my description of hammer throw? Cannot be targeted on magic immune units. Damage reduced by magic armor.
Former Master of the NightE.S. Posthumus__________________________________________________ __________________________________________________ ___________Nihilsomno, glory forever
S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
-----------------------------
Tech Support and Customer Support: https://www.heroesofnewerth.com/support/
Look for my highlighted text (important information) and grey text (interesting but not required information).
Could you give an example of a hero/spell with Superior Physical damage or targetting? Panda's ulti maybe?
Last edited by MichaelBurge; 11-08-2009 at 12:09 PM.
Panda's ultimate is physical, not superior physical.
I don't know of any spell that has Superior Physical target type, since there isn't a superior physical damage type.
S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
-----------------------------
Tech Support and Customer Support: https://www.heroesofnewerth.com/support/
Look for my highlighted text (important information) and grey text (interesting but not required information).
S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
-----------------------------
Tech Support and Customer Support: https://www.heroesofnewerth.com/support/
Look for my highlighted text (important information) and grey text (interesting but not required information).
It most certainly was blockable by New Linken's, I remember that.
I really lolled at:
"Dota's Doom: Type Superior Magic, Superior Magic Damage. Nothing will stop this, but magic armor will reduce the damage done."
coz Linken's aside, its true, your boned.![]()