I downloaded a imbuing script from http://www.servuo.com/archive/dreamseekers-imbuing.115/
Then I learned that in the http://www.runuo.com/community/threads/imbuing-runuo-2-3.533610/
if want to let Hit Mana Leech "and" Hit Life Leech "and" Hit Stam Leech "can coexist, have tomake changes, but I modified, these three attributes are able to coexist,
But the success rate did not change, that is to say, if I first add hit mana leech attribute, his success rate was 100%, after the completion of my plus hit Life Leech attribute, but will find success ratewas 100%, and will not reduce the same time, coupled with the hit Stam leech is the same,
If I were the other attributes other than increasing these three attributes, so the success rate willcorrect calculation, how can I do?
THANKS!!!:oops::oops::oops:
Code:
if (i_Mod == 26)
{
it.WeaponAttributes.HitLeechStam = modvalue;
it.WeaponAttributes.HitLeechHits = 0;
it.WeaponAttributes.HitLeechMana = 0;
}
-------------------------------------------------------------------
Then I changed:
if (i_Mod == 25)
{
it.WeaponAttributes.HitLeechHits = modvalue;

}
if (i_Mod == 26)
{
it.WeaponAttributes.HitLeechStam = modvalue;

if (i_Mod == 27)
{
it.WeaponAttributes.HitLeechMana = modvalue;

}
 

Attachments

  • ImbuingC.cs
    149.1 KB · Views: 4
If I understand what you are saying correctly, I don't see how removing these lines:

Code:
                            it.WeaponAttributes.HitLeechStam = 0;
                            it.WeaponAttributes.HitLeechMana = 0;

...could result in changing the success rate. All it would do is allow you to have more than one HitLeech property exist on the item at the same time. Unless there is a strange part of the code that I am not seeing, that should be the case. Are those the ONLY lines you changed?
 
Because I done that script to delete had finished, worried that you look a bit messy, so I uploaded is not deleted
 
Back