mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-03 13:05:30 +02:00
Add some missing things for new skill commands
This commit is contained in:
@@ -72,13 +72,13 @@ public class CrossbowManager extends SkillManager {
|
||||
|
||||
Vector originUnitVector = originVector.clone().normalize();
|
||||
|
||||
for(int i = 0; i < getConeOfDeathProjectileCount(); i++) {
|
||||
for(int i = 0; i < getSuperShotgunAdditionalArrowCount(); i++) {
|
||||
Vector newProjectileVector = byRotateVector(originUnitVector, 0);
|
||||
spawnTrackedProjectile(originProjectile, world, originProjectileMagnitude, newProjectileVector, getRandomizedSpreadValue());
|
||||
}
|
||||
}
|
||||
|
||||
private int getConeOfDeathProjectileCount() {
|
||||
public int getSuperShotgunAdditionalArrowCount() {
|
||||
switch(RankUtils.getRank(mcMMOPlayer.getPlayer(), SubSkillType.CROSSBOWS_SUPER_SHOTGUN)) {
|
||||
case 1:
|
||||
return 9;
|
||||
|
Reference in New Issue
Block a user