yayafan
Member
Hello,
I tried to add Craft Skills to BaseJewel in creature loot, but I nerve made success.
Below is my failed approach:
1. In BaseRunicTool , I defined another " private static readonly SkillName[] m_PossibleJewelSkills = new SkillName[]" with all craft skills inside, and in ApplySkillBonus, I added something like:
if (attrs.Owner is BaseJewel)
{possibleSkills = m_PossibleJewelSkills;
}
That doesn't work, seems BaseRunicTool doesn't impact creature loot.
2. I checked lootpack.cs, I thought maybe because I use EJ client version, so I checked RunicReforging.cs, I also defined another :m_PossibleJewelSkills with all craft skills inside, and also added something in GetRandomSkill like:
if (attrs.Owner is BaseJewel)
{possibleSkills = m_PossibleJewelSkills;
}
But then, I found there is no any skill property in Jewel in creature loot. It looks RunicReforging.cs impact the creature loot, but there is some limitation to BaseJewel to has craft skills.
It's really crazy, I spent many days and could find the reason. Can some one give some suggestion to me?
Thanks!
I tried to add Craft Skills to BaseJewel in creature loot, but I nerve made success.
Below is my failed approach:
1. In BaseRunicTool , I defined another " private static readonly SkillName[] m_PossibleJewelSkills = new SkillName[]" with all craft skills inside, and in ApplySkillBonus, I added something like:
if (attrs.Owner is BaseJewel)
{possibleSkills = m_PossibleJewelSkills;
}
That doesn't work, seems BaseRunicTool doesn't impact creature loot.
2. I checked lootpack.cs, I thought maybe because I use EJ client version, so I checked RunicReforging.cs, I also defined another :m_PossibleJewelSkills with all craft skills inside, and also added something in GetRandomSkill like:
if (attrs.Owner is BaseJewel)
{possibleSkills = m_PossibleJewelSkills;
}
But then, I found there is no any skill property in Jewel in creature loot. It looks RunicReforging.cs impact the creature loot, but there is some limitation to BaseJewel to has craft skills.
It's really crazy, I spent many days and could find the reason. Can some one give some suggestion to me?
Thanks!