Go Back   RunUO - Ultima Online Emulation > RunUO > New Join Forum

New Join Forum So your new to RunUO and looking to work with people that are new, this is the place.

Reply
 
Thread Tools Display Modes
Old 02-08-2010, 11:05 PM   #1 (permalink)
Lurker
 
Join Date: Jul 2006
Age: 21
Posts: 8
Default Champs

trying to decrease the amount of creature kills needed to advance the spawn
but i set it to 100 and then after a few level ups it goes to negative kills and the spawn wont advance

so my question is how do i set the kills without it going negative maxkills
Quote:
}
}

public int MaxKills
{
get
{
return 200 - (Level * 12);
}
}

public void SetWhiteSkullCount( int val )
NILLSCE is offline   Reply With Quote
Old 02-09-2010, 02:32 PM   #2 (permalink)
Lurker
 
Join Date: Mar 2009
Age: 29
Posts: 17
Default

Quote:
Originally Posted by NILLSCE View Post
trying to decrease the amount of creature kills needed to advance the spawn
but i set it to 100 and then after a few level ups it goes to negative kills and the spawn wont advance

so my question is how do i set the kills without it going negative maxkills
Try something like this
return 100 - ((Level * 12)/2);
foxtrot7 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5