Gold won't drop alone ?

Moderator: Event DM

Post Reply
User avatar
Neve
Prince of Bloated Discourse
Posts: 192
Joined: Mon Apr 14, 2003 4:09 pm
Location: The Netherlands
Contact:

Gold won't drop alone ?

Post by Neve » Thu Jul 31, 2003 5:34 pm

For some reason I can't get gold-only dropoffs. I tried to hard code a set amount of gold that is spawned on a creature onSpawn, and onDeath, but the gold only drops off when there's a gem or anything else dropping along aswell. Any idea why this is ? I tried the CreateGold function aswell.

Code: Select all

    int Treasure = d20();

    if(Treasure <= 10) dbCreateItemOnObject("NW_IT_GOLD001", OBJECT_SELF, FloatToInt(GetChallengeRating(OBJECT_SELF)) * d6() + 15);
    if(Treasure <= 15) CreateGem (OBJECT_SELF, GetLastKiller(), TREASURE_MEDIUM, FloatToInt(GetChallengeRating(OBJECT_SELF)) * d2());
    }
- As you gaze unknowingly into the seemingly infinite depths of the optics of this altogether passionate embodiment of insatiability, you experience a gradual realisation that the heavily-embellished vocabulary scattered lavishly throughout the sentence you are currently reading is indisputably nothing greater than a generous ration of masculine bovine faeces.
Post Reply