Moderator
M
Moderator
12th Dec 2015
IcemanBo: Too long as NeedsFix. Rejected.
BPower 5.2.2014
IcemanBo: Too long as NeedsFix. Rejected.
BPower 5.2.2014
- For GUI spells/systems it is better to use two chars prefix p_ --> AB_
- You should add a documentation to the configuration trigger, not all variables are self-explaining.
- You set p_Point twice to the same value in the spell cast trigger.
- p_Unit Not equal to No unit ---> p_Unit will never be null, you don't have to make this check.
- The damagetype should be configurable.
- All used effects should be configurable.
- You should check wether the destructable is a tree or not, otherwise you would also kill bridges, etc.
- In general abilities have levels, which you should take into consideration.
- Aslong as you only distinguish between 1 and 2 use booleans instead of reals for the condition checks.
23:07, 18th Jan 2014
BPower:
- Store TriggeringUnit and PickedUnit into variables
- Variablenames must be more specific, just Point is unacceptable, because it might mess up other triggers.
- The loop shouldn't be running, when no instance is allocated.
- Overall very inefficient coding.
However it works and I would appreciate, if you work on your resource. PM me or leave a message in the thread, if you plan to improve the code and I'll point out weak points in detail for you.
BPower:
- Store TriggeringUnit and PickedUnit into variables
- Variablenames must be more specific, just Point is unacceptable, because it might mess up other triggers.
- The loop shouldn't be running, when no instance is allocated.
- Overall very inefficient coding.
However it works and I would appreciate, if you work on your resource. PM me or leave a message in the thread, if you plan to improve the code and I'll point out weak points in detail for you.