Changeset 279 for binary-improvements/CoppisAdditions
- Timestamp:
- Jun 19, 2016, 1:52:31 PM (9 years ago)
- Location:
- binary-improvements/CoppisAdditions
- Files:
-
- 1 added
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/CoppisAdditions/CoppisAdditions.csproj
r273 r279 50 50 <Compile Include="src\Commands\Physics.cs" /> 51 51 <Compile Include="src\Commands\SpawnMultipleEntity.cs" /> 52 <Compile Include="src\Commands\SpawnScouts.cs" />53 52 <Compile Include="src\Commands\UnlockAll.cs" /> 54 <Compile Include="src\Commands\SpawnHorde.cs" />55 53 <Compile Include="src\API.cs" /> 56 54 <Compile Include="src\ChatFilter.cs" /> … … 58 56 <Compile Include="src\Commands\PlayerChatMaxLength.cs" /> 59 57 <Compile Include="src\Commands\TeleportPlayerHome.cs" /> 60 <Compile Include="src\Commands\ToogleChatCommandHide.cs" />61 58 <Compile Include="src\Commands\SayToPlayer2.cs" /> 59 <Compile Include="src\Commands\ToggleChatCommandHide.cs" /> 60 <Compile Include="src\Commands\SpawnHorde.cs" /> 61 <Compile Include="src\Commands\SpawnScouts.cs" /> 62 62 </ItemGroup> 63 63 <ItemGroup> -
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.