Author Topic: Problem with treasure creation  (Read 411 times)

Legacy_DM-Chemosh

  • Newbie
  • *
  • Posts: 42
  • Karma: +0/-0
Problem with treasure creation
« Reply #15 on: October 07, 2010, 03:59:28 am »


               

GhostOfGod wrote...

Actually, if I'm looking at this right, it is the Racial type, not the appearance type that matters. This is the part of the script that determines if it is a invalid racial type:

// Now we determine whether we put treasure on the NPC
   int nRacialType = GetRacialType(oNPC);
   switch (nRacialType) {
   case RACIAL_TYPE_ANIMAL:
   case RACIAL_TYPE_BEAST:
   case RACIAL_TYPE_MAGICAL_BEAST:
   case RACIAL_TYPE_VERMIN:
       // No treasure, sorry.
       return;

Try double checking the racial type of the boss or do as Kalbaern suggests and use the other treasure function.

Hope it helps. Good luck.



THANKS MAN! Issue SOLVED!

I set the racial type to ABERRATION so now she works fine '<img'>