# Damage --> Special Effect

#### orcfan32

Level 8
I'm working on a thunder clap ability. It's ___SECRET___ so I cant tell you what it does. But, I want it to do damage where a special effect is placed, is that possible?

EDIT: A variable will be used to determine how big I want the damage area to be from the center of the special effect.
Does that help any??

#### Daelin

Level 1
Huh? I again don't get you want. You want the damage to take place only EXACTLY where the spell effect takes place? LOL... You mean like, if you have a damaging spell like Flame Strike but instead of the flames, use Cloud effect? Cloud effect doesn't stretch from my knowledge so you practically would want the spell to damage only into the area where the effect is possible? Just calculate its size and aproximate the area to do the damage of the spell. That's my advice.

#### orcfan32

Level 8
I have a spell that creates special effects, OK?

It takes a region variable and makes it 1000 x 1000 around the caster. The special effects are created in random places in the region variable, and I want the units that are in the special effect to be damaged.

#### Eusira

Level 16
Create a point variable, but instead of using radom offesets, which creates a square area, use offset by polar, with a random angle and a random number between the 0 and the radius of the spell

So set the variable to random point offset by a random number between 0 and the radius, facing a random angle, order it to damage the area, and then create the effects.

#### orcfan32

Level 8
Thanks, but I found a better way. Make another varable that is set as a random point in the attack circle. Then, create the special effect and damage!

Level 3
I can Fix that Easy...
Have you solve the problem or should i help

:::

#### Eusira

Level 16
Already has. Stop trying to raise your post per day ratio higher than mine

Just joking. Next time, see if the threadmaker HAS said something signaling he has an idea how to do it.

#### Daelin

Level 1
Eusira is right about raising posts useless MAD_CC. You just post in threads to ask people if they solved the problem when into the last post, they said that they already did. Also, in another post if you ask someone if to help him or not. If the problem is solved, don't interfere. If you see someone who needs help and the problem is not solved, don't ask if to help or not. Just help...

~Daelin

Replies
5
Views
439
Replies
5
Views
1K
Replies
6
Views
444
Replies
9
Views
669
Replies
3
Views
501