remove duplicated gold and conc grants at character creation
This commit is contained in:
@@ -4874,8 +4874,10 @@ public class PlayerCharacter extends AbstractCharacter {
|
|||||||
|
|
||||||
if(this.level < 10) {
|
if(this.level < 10) {
|
||||||
this.setLevel((short) 10);
|
this.setLevel((short) 10);
|
||||||
this.getCharItemManager().addGoldToInventory(1000,false);
|
if(this.charItemManager.getGoldInventory().getNumOfItems() < 1000) {
|
||||||
this.getCharItemManager().addItemToInventory(new MobLoot(this,ItemBase.getItemBase(980066),1,false).promoteToItem(this));
|
this.getCharItemManager().addGoldToInventory(1000, false);
|
||||||
|
this.getCharItemManager().addItemToInventory(new MobLoot(this, ItemBase.getItemBase(980066), 1, false).promoteToItem(this));
|
||||||
|
}
|
||||||
this.setOverFlowEXP(0);
|
this.setOverFlowEXP(0);
|
||||||
TargetedActionMsg cmm = new TargetedActionMsg(this);
|
TargetedActionMsg cmm = new TargetedActionMsg(this);
|
||||||
DispatchMessage.dispatchMsgToInterestArea(this, cmm, DispatchChannel.PRIMARY, MBServerStatics.CHARACTER_LOAD_RANGE, true, false);
|
DispatchMessage.dispatchMsgToInterestArea(this, cmm, DispatchChannel.PRIMARY, MBServerStatics.CHARACTER_LOAD_RANGE, true, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user