• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Having Problems with this

Status
Not open for further replies.
Level 3
Joined
Jun 19, 2005
Messages
45
Alright, now i'm been making this map that is like Kingdom Under Fire.

But i came across one hell of a problem.

i'll take for Example:

Knights, a very strong Melee Class, that in melee can somewhat be impossible to beat. unless you have MAGIC.

so right now i want to know how do i make those type of units take normal damage from spells, but take extra 200% damage from lightning spells.
 
Level 4
Joined
Jan 9, 2006
Messages
54
What u have to do is modify the attack types and armor. For example if knights have Large Armor, u can modify it so it takes extra dmg from magic atk. To do so, Go under the Advanced Tab, i dont remember which but click either Game Constants or Game Inferface. At the top of one of them should give u a table of Attack types which u can modify according to percentage. Magic atk by defult alrdy does extra dmg to what the type of armor knights have.
 
Level 24
Joined
Jun 26, 2006
Messages
3,406
TheMoneyLover, you missed the problem. there are TWO types of magic, so that takes up TWO attack types. which may or may not be a good thing. you could set up a trigger where if a spell is cast, condition that the unit targeted by spell is a knight, deal a certain amount of damage.
 
Level 3
Joined
Jun 19, 2005
Messages
45
@ TheMoneyLover

i know that already on how to modifiy that. but i already have that down as:

Melee
Range
Frontal
Explosives

may not be much, but thats preety much it. and dont worry about armor, hopefully i can use the MG skin ability, which should help.

@ Teh_Ephy

ok that made me confused. 2 types of magic, so that takes up TWO attack types?

you might mistaken right there.

the trigger is what i want really.
 
Level 24
Joined
Jun 26, 2006
Messages
3,406
i confused you? YES somebody other than me got utterly confused by something not-so-utterly confusing! if you set it up the way TheMoneyLover is telling you two, it would take two types of attacks. ie, take normal damage from spells EXCEPT for lightning. from lightning they take extra. actually, that would take as many attack types as you have spell elements, attack types of which there may not be enough of. about the trigger, use the same stuff but the action would be deal <damage> to target of spell.
 
Level 3
Joined
Jun 19, 2005
Messages
45
oh great, i thought that could be easy. boy i set myself up for this.

alright there was 10 styles of reductions that each force had:

Melee
Ranged
Frontail
Explosives
Fire
Ice
Lightning
Holy
Earth
Curse

if there is a way to make the resistince aginist spells. that would be cool, if not. then i cant make this map.
 
Level 24
Joined
Jun 26, 2006
Messages
3,406
well of course it is. set up the actual spells to do the damage that you take if you're resistant to the spell type. set up triggers that deal the extra damage to units that aren't, and even more extra damage to units that are weak to it.
 
Status
Not open for further replies.
Top