Just a minor detail.
I want to change
Code:
if(Instigator != None && Instigator != PawnOwner.Instigator)
RPGRules.AwardEXPForDamage(Instigator.Controller, RPGStatsInv(Instigator.FindInventoryType(class'RPGStatsInv')), PawnOwner, PoisonDamage);
to
Code:
if(Instigator != None && Instigator != PawnOwner.Instigator && RPGRules != None)
RPGRules.AwardEXPForDamage(Instigator.Controller, RPGStatsInv(Instigator.FindInventoryType(class'RPGStatsInv')), PawnOwner, PoisonDamage);
One of the monsters I submitted did poison damage. There is no point awarding xp back to the monster - it just uses cpu for no purpose. So I did not set the RPGRules in DruidPoisonInv. This just gets rid of the warning messages from the log.