Good afternoon all - im a little confused why im getting this issue. Champion spawns work quite well on the server: the white skulls appear/disapra and the red skull increase one by one as mobs are killed. but at the last level, the altar gets stuck and no longer updates the white skulls. it stops here
Oddly, the mobs continue spawning (the mobs for the 4th level) but because the skulls aren't updated the champion can never spawn.
I'm compared my championspawn.cs to runuo 2.6 (non modified) and its completely stock. I can't see what is wrong here (scripts attached to the files)
note: the spawn is in trammel not felucca in the event that makes a difference.
any help is greatly appreciated!
in case its a configuration error... heres the [props
additional info: kills are being recorded properly. e.g. kills in that instance was 280 from a max of 200 or so.
this should have kicked in but didn't
Oddly, the mobs continue spawning (the mobs for the 4th level) but because the skulls aren't updated the champion can never spawn.
I'm compared my championspawn.cs to runuo 2.6 (non modified) and its completely stock. I can't see what is wrong here (scripts attached to the files)
note: the spawn is in trammel not felucca in the event that makes a difference.
any help is greatly appreciated!
Post automatically merged:
in case its a configuration error... heres the [props
Post automatically merged:
additional info: kills are being recorded properly. e.g. kills in that instance was 280 from a max of 200 or so.
this should have kicked in but didn't
C#:
if ( m_Kills > kills )
InvalidateProperties();
double n = m_Kills / (double)MaxKills;
int p = (int)(n * 100);
if( p >= 90 )
AdvanceLevel();
else if( p > 0 )
SetWhiteSkullCount( p / 20 );
if( DateTime.Now >= m_ExpireTime )
Expire();
Respawn();
Attachments
Last edited: