How to change attack type and damage?

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

User avatar
br3akth3w1nd
Member
Posts: 58
Joined: December 8th, 2007, 8:11 pm

How to change attack type and damage?

Post by br3akth3w1nd »

I am trying to make a weapon system like in Afterlife (wc3 map). So when you pick up an M-16 your attack damage changes without adding anything of the sort "+300". It just changes (eg. from 300 to 7800 without any "+"). I am not sure about the type, but I am trying to make a map like Afterlife and I really need to know :?
[blinking]Sorry for my english ^_^[/blinking]
Black-Hole
Forum Fanatic
Posts: 315
Joined: October 16th, 2007, 7:32 pm

Re: How to change attack type and damage?

Post by Black-Hole »

Ask the same question in the Jass Catagory... cause ive never seen a GUI that can do that.
DL.PIGGY
Newcomer
Posts: 15
Joined: May 30th, 2007, 4:19 pm

Re: How to change attack type and damage?

Post by DL.PIGGY »

Perhaps you could use research/upgrade instead? When unit acquires item set research/upgrade level to X. Where the upgrade improves the unit's damage.
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: How to change attack type and damage?

Post by Arabidnun »

Could it be that he replaces the unit with something that has a set attack type?
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: How to change attack type and damage?

Post by Aero »

Arabidnun wrote:Could it be that he replaces the unit with something that has a set attack type?
Yes.