mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-08-16 16:37:07 +00:00
Fixes for OctopusForm
• Fixed OctopusForm leaving smoke trails • OctopusForm cooldown now applied when it starts forming, not when you select a source
This commit is contained in:
parent
1a482cf6dd
commit
e16ccecf3f
|
@ -58,8 +58,8 @@ public class OctopusForm extends WaterAbility {
|
|||
if (oldOctopus.formed) {
|
||||
oldOctopus.attack();
|
||||
return;
|
||||
} else if (!oldOctopus.sourceSelected) {
|
||||
return;
|
||||
} else if (oldOctopus.sourceSelected) {
|
||||
oldOctopus.remove();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -92,7 +92,6 @@ public class OctopusForm extends WaterAbility {
|
|||
sourceLocation = sourceBlock.getLocation();
|
||||
sourceSelected = true;
|
||||
start();
|
||||
bPlayer.addCooldown(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -100,6 +99,7 @@ public class OctopusForm extends WaterAbility {
|
|||
if (sourceSelected) {
|
||||
sourceSelected = false;
|
||||
settingUp = true;
|
||||
bPlayer.addCooldown(this);
|
||||
} else if (settingUp) {
|
||||
settingUp = false;
|
||||
forming = true;
|
||||
|
|
Loading…
Reference in a new issue