The following chage to the mob's OnDeath method will give a 1 in 100 chance of dropping an item.
public override void OnDeath( Container c )
{
base.OnDeath( c );
switch ( Utility.Random( 100 ) )
{
case 0...
And I will do the same if I find a solution. Thank you!
Thanks for the information and the example. I gave it a try but no luck. I will keep at it. Thanks again!
Thanks! I have done a similar thing on my shard, separating each type of tree so that it gives a particular type of wood, as well as bonus items specific to that tree.
I have had no trouble adding tree graphics that already existed on the client to Lumberjacking.cs, but I cannot get it to...
Hello! I am having the same issue. I tried your fix, but still have the same issue. I am not sure I did it the same way you did. Would you mind sharing your Lumberjacking script? Thanks in advance!