-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Core/Boss] Oculus/Orum, fix spawn mob position
- Loading branch information
1 parent
9fd2287
commit c1db268
Showing
1 changed file
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c1db268
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks but I do not care what you think.
It works and that's okay
c1db268
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's so wrong with the code? Leaving aside the formatting
c1db268
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
before when? What are you saying? What are you comparing it to?
c1db268
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
without my changes mobs spawn in incorrect position... my changes isn't useless... -.- is not a beautiful vision (formatting), but works done.
c1db268
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c1db268
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before:
-Teleport boss when he was hitted by spell menagerie
-uint8 phase = GetPhaseByCurrentPosition();
-me->SummonCreature(summons[phase][i]
-me->DestroyForNearbyPlayers(); (off combat)..
Now:
-Teleport boss to next platform when he was hitted by spell
-Specify position of previous platform and spawn mobs: me->SummonCreature(summons**[2][i]**, cords[2][0] + ((i%2) ecc..
-uint8 phase = **GetPhase**ByCurrentPosition();
-me->DestroyForNearbyPlayers(); (off combat)..
c1db268
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DevRival are you sure you understand the code? XD
c1db268
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DevRival if you think some code can be cleaned, you can open a PR to do that