Jump to content
  • 0

Skill until Restart


Question

5 answers to this question

Recommended Posts

  • 0
Posted

πολυ απλα του δινεις το skill , δε θυμαμαι τωρα την μεθοδο addSkill νομιζω , και μενει μεχρι το restart.

  • 0
Posted
			else if (_command.startsWith("vote_skill"))			   
		{  	
			if (activeChar.getInventory().getInventoryItemCount(4037, 0) >= 5)			    
			{			     
		    	activeChar.addSkill(SkillTable.getInstance().getInfo(7056, 1));
		    	activeChar.sendMessage("You succesfully earned Master's Blessing - Berskeker Spirit Skill until your character restart!");
		    	if (!activeChar.destroyItemByItemId("Destroy Coin Of Luck", 4037, 5, activeChar, false))
					return;
		    }
		    else 
		    {
		    	activeChar.sendMessage("You don't have enough items in order to get this skill as reward!");
		    	return;
		    }
		}

  • 0
Posted

Την γραμμη

activeChar.addSkill(SkillTable.getInstance().getInfo(7056, 1));

 

αλλαξε την σε

activeChar.addSkill(SkillTable.getInstance().getInfo(7056, 1),false);

 

το false δηλωνει αν θα γινονται store στην database , εμεις δε θελουμε , αρα false.

  • 0
Posted

Την γραμμη

activeChar.addSkill(SkillTable.getInstance().getInfo(7056, 1));

 

αλλαξε την σε

activeChar.addSkill(SkillTable.getInstance().getInfo(7056, 1),false);

 

το false δηλωνει αν θα γινονται store στην database , εμεις δε θελουμε , αρα false.

ωραίος, ευχαριστώ!
Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..