|
||
|
|||||||
| New Join Forum So your new to RunUO and looking to work with people that are new, this is the place. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Newbie
|
Hi all,
In my class system I'm call this function in onSkillChange but I don't know how implement this arraylist in C# Code:
public void verifySkillLimit( SkillName skill, double oldBase )
{
//if skill is in DeniedSkills(arraylist)
//player.skill.value = oldBase; (don't allow gain)
}
edit: Can I set an cap for each skill?? m.Skills[SkillName.Alchemy].Cap = 80.0; it is for each player?? thank you |
|
|
|
|
|
#3 (permalink) |
|
yes, you can set skillcaps for playermobiles as you described.
___________________________ Noster Universitas(NUO) - custom Guild Warfare, Territorial/Political, and Economic systems! |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|