Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Excuse me but:
I want to modify the Shadowraze ability from this spellpack to randomly use the distance variations so it only uses one button instead of three. however I don't know which part of the Shadowraze code to modify
Can someone just show me how?
Check under this code's tab "Shadowraze", you'll find something like CONFIGURABLE :
And when you go through every line you'll eventually notice this :
JASS:
// range of "Shadowraze (Z)"
private function GetRangeZ takes integer level returns real
return 200.0
endfunction
// range of "Shadowraze (X)"
private function GetRangeX takes integer level returns real
return 450.0
endfunction
// range of "Shadowraze (C)"
private function GetRangeC takes integer level returns real
return 700.0
endfunction
All you have to do is modify those values...Also you remove both spells with hotkeys "C" and "X" and just use "Z" with your custom range.
I am not professional in JASS but I guess you can replace the value by a custom variable.
Check under this code's tab "Shadowraze", you'll find something like CONFIGURABLE :
And when you go through every line you'll eventually notice this :
JASS:
// range of "Shadowraze (Z)"
private function GetRangeZ takes integer level returns real
return 200.0
endfunction
// range of "Shadowraze (X)"
private function GetRangeX takes integer level returns real
return 450.0
endfunction
// range of "Shadowraze (C)"
private function GetRangeC takes integer level returns real
return 700.0
endfunction
All you have to do is modify those values...Also you remove both spells with hotkeys "C" and "X" and just use "Z" with your custom range.
I am not professional in JASS but I guess you can replace the value by a custom variable.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.