cleeezzz
The Undead Ranger.
- Reaction score
- 268
JASS:
call UnitDamageTarget(data.Arrow, GetEnumUnit(), data.Damage, false, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_UNIVERSAL, WEAPON_TYPE_WHOKNOWS)
what im wondering is,
1.) what does the first boolean do? it says boolean attack.
2.) second boolean? it says boolean ranged (what does this affect)
3.) and the last one, weapon type?, what does that affect? (Sound?) i just want it to do universal dmg without decrease in damage from armor.
(in other words, the equivalent to this)
Code:
Unit - Cause Unit to damage (Triggering unit), dealing 25.00 damage of attack type Chaos and damage type Universal
also
how would i check if a group is empty or not?
preferable in an if/then/else statement
heh. another question
JASS:
local group DU = GetUnitsInRangeOfLocMatching(4000.00, TP, )
im missing the condition, it says boolexpr filter, how do i do this? for example, the conditions, Unit is Alive, and Matching unit belongs to enemy of triggering player?