better DS application
This commit is contained in:
@@ -4804,26 +4804,28 @@ public class PlayerCharacter extends AbstractCharacter {
|
|||||||
|
|
||||||
this.safeZone = this.isInSafeZone();
|
this.safeZone = this.isInSafeZone();
|
||||||
|
|
||||||
if(this.isBoxed == false){
|
|
||||||
this. isBoxed = checkIfBoxed(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
if(this.isBoxed && this.containsEffect(1672601862) == false) {//Deathshroud
|
|
||||||
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
|
|
||||||
}
|
|
||||||
//if(this.isBoxed && this.containsEffect(429611355) == false) {//pathfinding
|
//if(this.isBoxed && this.containsEffect(429611355) == false) {//pathfinding
|
||||||
// PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 429611355, 40, false);
|
// PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 429611355, 40, false);
|
||||||
//}
|
//}
|
||||||
if(this.isEnteredWorld() && this.isActive() && this.getLevel() < 10){
|
if(this.isEnteredWorld() && this.isActive()){
|
||||||
this.setLevel((short) 10);
|
if( this.getLevel() < 10) {
|
||||||
boolean hasConc = false;
|
this.setLevel((short) 10);
|
||||||
for(Item i : this.getCharItemManager().getInventory()){
|
boolean hasConc = false;
|
||||||
if(i.getItemBaseID() == 980066){
|
for (Item i : this.getCharItemManager().getInventory()) {
|
||||||
hasConc = true;
|
if (i.getItemBaseID() == 980066) {
|
||||||
|
hasConc = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!hasConc) {
|
||||||
|
ItemFactory.fillInventory(this, 980066, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!hasConc) {
|
if(this.isBoxed == false){
|
||||||
ItemFactory.fillInventory(this, 980066, 1);
|
this. isBoxed = checkIfBoxed(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(this.isBoxed && this.containsEffect(1672601862) == false) {//Deathshroud
|
||||||
|
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user