So i am having an issue with basecreature
{
titles.Add(ds.m_Mobile);
fame.Add(totalFame);
karma.Add(totalKarma);
ArtifactPointsValidate.ArtifactPointsAward(ds.m_Mobile,this);
ArtifactList.RandomArtifact(ds.m_Mobile,this);

}
upload_2015-7-2_13-50-33.png
What i am trying to do is to make it where it would drop an artifact
 

Attachments

  • upload_2015-7-2_13-45-7.png
    upload_2015-7-2_13-45-7.png
    515.7 KB · Views: 8
  • ArtifactValidate.cs
    9.3 KB · Views: 4
  • ArtifactValidate.cs
    9.3 KB · Views: 4
Take a look at Paragon.cs
While it's only dealing with a chance for an artifact, its a pretty good code example. If you're still having issues after checking that, we can go from there. ;)
 
You need to use a function that can manage drop rate and generate.
you can also make it by yourself or modify the old one.
check it in treasure chest scripts or champion scripts.
 
Back