wc3edit.net

United Warcraft 3 map hacking!
It is currently April 28th, 2024, 3:42 pm

All times are UTC




Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject:
PostPosted: June 15th, 2007, 10:05 pm 
Offline
V.I.P.
User avatar

Joined: March 4th, 2007, 12:39 am
Posts: 332
Location: United States
Eh, it would be more realistic.. But like I said, I don't know where to start on damage adding..

_________________
Image
Doesn't Dekar make the world easier?

"I Wumbo. YOU Wumbo. He she me.. WUMbo. Wumbo; WumboING; WumBOLogy; the study of WUMBO. It's first grade, Spongebob!"
"I'm sorry I doubted your great wisdom Patrick!"

Catch me on Azeroth (U.S. East) - NameSpoofer


Top
 Profile  
 
 Post subject:
PostPosted: June 15th, 2007, 10:29 pm 
Offline
Forum Staff
User avatar

Joined: January 28th, 2007, 8:10 pm
Posts: 830
Location: Canada
Title: JASS Programmer
A few ways to do that

Code:
SetUnitState(whichUnit,UNIT_STATE_LIFE,GetUnitState(whichUnit,UNIT_STATE_LIFE)-DamageAmount)

Use a unit:

call UnitDamagePoint(whichUnit,0,radius,Point-x-value,Point-y-value,DamageAmount,true,false,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL,WEAPON_TYPE_WHOKNOWS)

ATTACK_TYPE_CHAOS can be replaced by:

ATTACK_TYPE_HERO
ATTACK_TYPE_MAGIC
ATTACK_TYPE_MELEE
ATTACK_TYPE_NORMAL
ATTACK_TYPE_PIERCE
ATTACK_TYPE_SIEGE

Attack types used in this function are calculated the same as if the unit really did attack.
This means that if the armortype reduces pierce by 50% and the attacktype is pierce, the damage will be reduced by 50%

UnitDamageTarget(whichUnit,whichTarget,amount,true,false,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL,WEAPON_TYPE_WHOKNOWS)

Same as the first one


Top
 Profile  
 
 Post subject:
PostPosted: June 15th, 2007, 10:35 pm 
Offline
V.I.P.
User avatar

Joined: March 4th, 2007, 12:39 am
Posts: 332
Location: United States
MMmmk, I'll see what I come up with.. -.-
Wait, wouldn't I have to pick every unit that comes within what.. zomg.. ... the 100 aoe thingy with each frost...

_________________
Image
Doesn't Dekar make the world easier?

"I Wumbo. YOU Wumbo. He she me.. WUMbo. Wumbo; WumboING; WumBOLogy; the study of WUMBO. It's first grade, Spongebob!"
"I'm sorry I doubted your great wisdom Patrick!"

Catch me on Azeroth (U.S. East) - NameSpoofer


Top
 Profile  
 
 Post subject:
PostPosted: June 15th, 2007, 10:39 pm 
Offline
Forum Staff
User avatar

Joined: January 28th, 2007, 8:10 pm
Posts: 830
Location: Canada
Title: JASS Programmer
There's a super easy way to do that

What's your msn (if you have one) it will simplify things


Top
 Profile  
 
 Post subject:
PostPosted: June 15th, 2007, 10:40 pm 
Offline
V.I.P.
User avatar

Joined: March 4th, 2007, 12:39 am
Posts: 332
Location: United States
Err.. Should I get 1 -.- ..

_________________
Image
Doesn't Dekar make the world easier?

"I Wumbo. YOU Wumbo. He she me.. WUMbo. Wumbo; WumboING; WumBOLogy; the study of WUMBO. It's first grade, Spongebob!"
"I'm sorry I doubted your great wisdom Patrick!"

Catch me on Azeroth (U.S. East) - NameSpoofer


Top
 Profile  
 
 Post subject:
PostPosted: June 15th, 2007, 10:41 pm 
Offline
Forum Staff
User avatar

Joined: January 28th, 2007, 8:10 pm
Posts: 830
Location: Canada
Title: JASS Programmer
Yes -.-


Top
 Profile  
 
 Post subject:
PostPosted: June 15th, 2007, 10:43 pm 
Offline
V.I.P.
User avatar

Joined: March 4th, 2007, 12:39 am
Posts: 332
Location: United States
MSN instant messenger? That's it, correct?

_________________
Image
Doesn't Dekar make the world easier?

"I Wumbo. YOU Wumbo. He she me.. WUMbo. Wumbo; WumboING; WumBOLogy; the study of WUMBO. It's first grade, Spongebob!"
"I'm sorry I doubted your great wisdom Patrick!"

Catch me on Azeroth (U.S. East) - NameSpoofer


Top
 Profile  
 
 Post subject:
PostPosted: June 15th, 2007, 10:51 pm 
Offline
Forum Staff
User avatar

Joined: January 28th, 2007, 8:10 pm
Posts: 830
Location: Canada
Title: JASS Programmer
That's the one


Top
 Profile  
 
 Post subject:
PostPosted: June 15th, 2007, 10:54 pm 
Offline
V.I.P.
User avatar

Joined: March 4th, 2007, 12:39 am
Posts: 332
Location: United States
Zomg wdf.. I signed up, and when try to sign in, gives me error about 'Windows Live ID incorrect/doesn't exist' ..

Here's where I signed up at.. -.-

http://im.live.com/Messenger/IM/Join/

_________________
Image
Doesn't Dekar make the world easier?

"I Wumbo. YOU Wumbo. He she me.. WUMbo. Wumbo; WumboING; WumBOLogy; the study of WUMBO. It's first grade, Spongebob!"
"I'm sorry I doubted your great wisdom Patrick!"

Catch me on Azeroth (U.S. East) - NameSpoofer


Top
 Profile  
 
 Post subject:
PostPosted: June 15th, 2007, 10:58 pm 
Offline
Forum Staff
User avatar

Joined: January 28th, 2007, 8:10 pm
Posts: 830
Location: Canada
Title: JASS Programmer
If you already have an e-mail you would like to use for msn...

Click me

If you want a hotmail e-mail for msn...

Click me


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)