vJass is an extension of the jass language. Technically its just a preprocessor...
And the language of newgen is vJass, the most advanced thing to come our way since TFT... :)
> It's also not working...
Mind expanding on that? I was under the assumption it would work.
The range, as with any arc function is in degrees, in this case for tangent [-180;180]
Other than perhaps atan2 not doing what I think its doing, I do not see what else could be wrong.
If I am using it...
Save errors and code...
Today I tried to make a function that give me the armor of a given unit.
The problems however started when I tried to test it... newgen began giving me all sorts of strange errors when I tried to save the map.
Errors like access violations/bad pointers for jasshelper...
http://www.thehelper.net/forums/showpost.php?p=795122&postcount=15
That is all I have to say :)
Completely leakless and easy, you just have to know your math :)
Stats are real values so you can make it mostly accurate.
For positive Armor, damage reduction =((armor)*0.06)/(1+0.06*(armor))
For negative Armor, it is damage increase = 2-0.94^(-armor) since you take more damage for negative armor scores.
So... my suggestion is, when you do the armor check...
Troll assassin:
Go with the flow - skilled in deception, backstabbing and stealthy elimination of opponents.
1. An idea for a passive - when attacking a unit from behind - ignores 20/40/60/80 percent of the armor of the opponent.
2. Poison dagger - poison is a classic when talking about...
Would you have learned JASS before GUI if you could've?
You either start with GUI when you begin playing with the editor or you already know JASS(sort of) - its a simple enough language, nothing all too specific, so if you have previous knowledge the jump wont be big.
JASS ain't the best...
wellwish3r, you leak, don't reset and pick an unnecessary huge amount of units all over your triggers.
So... my suggestion being:
Does not leak as far as I know, is fast, simple and foolproof. :)
Any thoughts on mine?
As for Renendaru - I believe the first is - damage all nearby by 15% of hero max HP at the cost of 15% of hero current hp, and second - damage all nearby by 50% of hero current hp and heal hero for 15% of hero max hp. :)
Name: Dark Shroud (Diablo anyone?)
Code: Any technique you like...
Description: Places a shroud of darkness upon your surroundings, lowering all enemy vision in an area. AoE and duration increase per level.
Point of the spell: Lowering the sight range of enemy units for a period. The area...
Well it would be useful for people to know how to convert between polar coordinates(distance, angle) and Cartesian ones(abscissa - X, ordinate - Y). Thats what I meant. I thought you were familiar with the terms because of your pick of tutorial subject.
Otherwise its a great tutorial for the...
Hows about adding a piece about Cartesian<->Polar transformations? :)
Put some nice examples and appications. When you think about it, these are the most powerful, yet underused functions. Probably because of the lack of knowledge and imagination in your average map maker.
And with the trig(aslo...
Generally its not (Entered chat string) Equal to (Substring(-timer , 1, 7)), more like (Substring((Entered chat string), 1, 7)) Equal to -timer.
And um, if I might add something - that trigger is just lame...
I mean what gives? You're making a map, just so you can beat everyone with your custom...