|
||
|
|||||||
| Server Support on Windows Get (and give) support on general questions related to the RunUO server itself. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
I want to make my shard so when the players enter they start with 100 max cap in each skill instead of 120, i was told i have to chnage this.....
Mobile.Skills[SkillName.Whatever].Cap = 100.0; but i cant find this, someone help please , in which script would i find this? |
|
|
|
|
|
|
#2 (permalink) |
|
Join Date: Jan 2003
Posts: 152
|
i think you must had it in CharacterCreation.cs.
Else, some things you can do if you don't wan't to change that file (it could be best when updating to another beta) : If you use a race stone, add all the skills caps in the races scripts Else, you can put a gate (in a closed room where you make the players begin) that add all the skills caps when a player enter in it. don't forget, you need to do this for each skill (sorry for bad english) ps : i think that cap is 100 for each skill because you need a powerscroll to be able to have 120 |
|
|
|
|
|
#5 (permalink) |
|
Join Date: Jan 2003
Posts: 152
|
help yourself with that :
http://www.runuo.com/forum/viewtopic...=mobile+skills and that : *edited, not working ops: ops: *i'm not sure it work as i have no time to check it and i'm a newbie. But the idea is there ![]() |
|
|
|
|
|
#8 (permalink) |
|
Join Date: Jan 2003
Posts: 152
|
try that :
[code:1]using System; using Server.Network; namespace Server.Items { public class SkillGate : Item { [Constructable] public SkillGate() : base( 0x108c ) { Movable = false; Name = "gate"; } public SkillGate( Serial serial ) : base( serial ) { } public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (int) 0 ); // version } public override void Deserialize( GenericReader reader ) { base.Deserialize( reader ); int version = reader.ReadInt(); } public override void OnDoubleClick( Mobile from ) { if ( !from.InRange( GetWorldLocation(), 2 ) ) { from.SendLocalizedMessage( 500446 ); // That is too far away. } else { from.Skills[0].Cap = 100; } } } } [/code:1] |
|
|
|
|
|
#10 (permalink) |
|
Join Date: Jan 2003
Posts: 152
|
true
, i let people do the extra work as soon as they understand now how it work ![]() help yourself with : http://www.runuo.com/forum/viewtopic...=mobile+skills to complete the code |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|