Moderator
M
Moderator
12th Dec 2015
IcemanBo: Too long as NeedsFix. Rejected.
05:37, 26th Aug 2012
Magtheridon96: You shouldn't repeat code like this.
Only use an if block to set a variable to the range you're going to use, then finally, just get the point using the range you set in the if blocks as the offset and the facing of the caster as the angle, then do the rest of the actions regularly.
Also, this spell should be configurable.
You shouldn't use constants. I shouldn't be forced to mess with spell code if I want to modify simple things like Special effects, damage and range.
You should create a configuration trigger and set variables to the constants in there. Use arrays for setting data that will change for different levels and use regular variables for things like the effects.
IcemanBo: Too long as NeedsFix. Rejected.
05:37, 26th Aug 2012
Magtheridon96: You shouldn't repeat code like this.
Only use an if block to set a variable to the range you're going to use, then finally, just get the point using the range you set in the if blocks as the offset and the facing of the caster as the angle, then do the rest of the actions regularly.
Also, this spell should be configurable.
You shouldn't use constants. I shouldn't be forced to mess with spell code if I want to modify simple things like Special effects, damage and range.
You should create a configuration trigger and set variables to the constants in there. Use arrays for setting data that will change for different levels and use regular variables for things like the effects.