Details
| Participant | Role | Time Spent | Comments | Latest Comment |
|---|---|---|---|---|
| Author | 58m | 4 | Like I mentioned in the other review, It's not me. I'm a ... | |
| Moderator | ||||
| Reviewer - 0% complete | ||||
| Reviewer - 33% complete | 3m | 1 | We have started to use Gerrit for reviews instead of Fish... | |
| Reviewer - 0% complete | ||||
| Reviewer - 100% complete | 7m | 3 | Okay, I was just wondering why this was in here. But it w... | |
| Reviewer - 0% complete | ||||
| Reviewer - 0% complete | ||||
| Reviewer - 100% complete | 0m | |||
| Reviewer - 100% complete | 5m | |||
| Total | 1h 13m | 8 |
- Files: 3
-
Patches:
- attackchance.patch: (anchored to swgemu : core3/branches/unstable/ )
Objectives
As requested, here is the individual implementation for special attack chance.
Should be pretty straight forward without the need for further description.
Just a note. We can get a random float for availableAttackChance through:
float availableAttackChance = System::random(99) + (System::random(100) / 100.f);
This allows for a random float with 2 digits of precision.
Or we can represent decimals like its done for the loot chance.
Regardless, I didn't see a need for it currently, so I left this way.
It also contains a fix for queueing the second attack.
We have started to use Gerrit for reviews instead of Fishey. Please follow the instructions on the following page: https://www.assembla.com/spaces/swgemu/wiki/Git_Gerrit_and_Jenkins and push your patch to Gerrit instead.