xp and conc granted for noob
This commit is contained in:
@@ -548,14 +548,11 @@ public enum InterestManager implements Runnable {
|
||||
}
|
||||
if(player.getLevel() < 25){
|
||||
ItemBase itemBase = ItemBase.getItemBase(980066);
|
||||
boolean hasConc = false;
|
||||
for(Item item : player.getCharItemManager().getInventory())
|
||||
if(item.getItemBase().equals(itemBase))
|
||||
hasConc = true;
|
||||
|
||||
if(!hasConc){
|
||||
if(!player.receivedConc){
|
||||
MobLoot ml = new MobLoot(player,itemBase,false);
|
||||
ml.promoteToItem(player);
|
||||
player.receivedConc = true;
|
||||
}
|
||||
}
|
||||
if(player.getPromotionClass() == null){
|
||||
|
||||
@@ -177,6 +177,8 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
|
||||
public boolean isBoxed = false;
|
||||
|
||||
public boolean receivedConc = false;
|
||||
|
||||
/**
|
||||
* No Id Constructor
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user