- Joined
- Sep 9, 2006
- Messages
- 92
just wondering if someone could explain how this works:
(taken from Dance of the Red Moon, a cool spell i found on here a while back)
the function returns an integer, yet it reterns 'A000'... how is that an integer?
(i'm new to jass, just made my first simple spell today [damages target and heals self], just starting to explore KaTTaNa's handle vars system, and was looking at this spell as an example)
JASS:
constant function DotRM_DotRM_code takes nothing returns integer
//*************************************************************************************************
//Ability-Code for Dance of the Red Moon **
return 'A000'
//*************************************************************************************************
endfunction
the function returns an integer, yet it reterns 'A000'... how is that an integer?
(i'm new to jass, just made my first simple spell today [damages target and heals self], just starting to explore KaTTaNa's handle vars system, and was looking at this spell as an example)