Moderator
M
Moderator
12th Dec 2015
IcemanBo: Too long as NeedsFix. Rejected.
[td]
[/td]
02:32, 9th Feb 2013
Magtheridon96:
IcemanBo: Too long as NeedsFix. Rejected.
Berserker Rage 1.1 | Reviewed by Maker | 18th Feb 2013 |
Needs Fix |
Required changes
|
[/td]
02:32, 9th Feb 2013
Magtheridon96:
- Constant values like the strength bonus max should be configurable in the Init trigger so users don't have to modify your spell code directly. This will also make the modification of the spell much easier.
- (Last created hashtable) should be changed. Use BerserkerRage_Hash instead.
- In the Start trigger, you should only attempt to turn on the trigger if a unit was added successfully to the group.
- Casting unit -> Triggering unit
- In the loop trigger, you should store the picked unit into a variable at the top of the Loop - Actions of the Unit Group picker. Repeating it is inefficient. To get rid of Key((Picked unit)), what you would need to do is use an integer variable and set it as follows:
- Custom script: set udg_TempInteger = GetHandleId(udg_TempUnit)
TempInteger is, you guessed it, an integer variable. - You can use proper, relevant durations here. Instead of using 100 and 30, and subtracting 1, you can subtract 0.1. This will make it easier for you because when you put the duration up for configuration in the Init trigger, you won't have to instruct the user to multiply it by 10.