Changeset 279 for binary-improvements/CoppisAdditions/src/Commands
- Timestamp:
 - Jun 19, 2016, 1:52:31 PM (9 years ago)
 - Location:
 - binary-improvements/CoppisAdditions/src/Commands
 - Files:
 - 
      
- 1 added
 - 1 deleted
 - 2 edited
 
- 
          
  GiveXP.cs (modified) (2 diffs)
 - 
          
  SpawnScouts.cs (modified) (1 diff)
 - 
          
  ToggleChatCommandHide.cs (added)
 - 
          
  ToogleChatCommandHide.cs (deleted)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
binary-improvements/CoppisAdditions/src/Commands/GiveXP.cs
r273 r279 9 9 public override string GetDescription () 10 10 { 11 return "give an amount XP to a player (entity id or name)";11 return "give XP to the skill of a player"; 12 12 } 13 13 14 14 public override string GetHelp () 15 15 { 16 return "Give XP to a player\n" +16 return "Give XP to the skill of a player\n" + 17 17 "Usage:\n" + 18 18 " givexp <name / entity id> <amount xp> <skill name>\n" + … … 54 54 return; 55 55 } 56 EntityPlayer ep = GameManager.Instance.World.Players.dict [ci.entityId]; 57 GameManager.Instance.AddExpServer (ci.entityId, skill.Id, xp); 56 57 ci.SendPackage (new NetPackageConsoleCmdClient ("giveselfskillxp " + skillName + " " + xp, true)); 58 58 59 SdtdConsole.Instance.Output (xp + " xp was given on skill " + skillName + " to player " + ci.playerName); 59 60 } catch (Exception e) {  - 
      
binary-improvements/CoppisAdditions/src/Commands/SpawnScouts.cs
r273 r279 24 24 public override string[] GetCommands () 25 25 { 26 return new string[] { "s pawnscouts", "ss" };26 return new string[] { "ss" }; 27 27 } 28 28  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)