-
New check for preventing stacking on dmg abilities is done and uses switch statements. This greatly reduces the number of variables created and speeds up execution time. Rather than use a Boolean check a variable is defined as 0 in which case nothing will run. If the first skill is selected 1 is added to this value and if the second skill is selected 2 is added to the value so that it will thus be 3 if both were selected thus triggering the condition where only 1 of the 2 is then selected. To allow for this skills were recreated into their own methods so they could be called from the switches. This methodology should reduce the total number of calls and thus increase performance for hit based abilities.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules