BookofDead.cs and SummonCorpse.cs got simple change. You can use it if you have 30% necromancy skill but summon mummy got only 30% power and will increase by 10% every 10% necromancy so 30% necromancy = 30% mummy power, 50% necromancy = 50% mummy power and 100% necromancy = 100% mummy power.
In the same way I was create IronElemental for Tinker Skill. He is as strong as mummy but you need 100 iron ingots and tongs to create him
thx for KHzspeed for good script
--------------------------------------------------------------------------------------------------------------------------------------------------
if you want change mummy or iron elemental power you must change in the book lines below
double scalar;
if ( Tinker >= 100.0 ) <--- 100.0 = 100% tinker skill
scalar = 1.0; <--- 1.0 = 100% ironelemental power and the same below
else if ( Tinker >= 90.0 )
scalar = 0.9;
else if ( Tinker >= 80.0 )
scalar = 0.8;
else if ( Tinker >= 70.0 )
scalar = 0.7;
else if ( Tinker >= 60.0 )
scalar = 0.6;
else if ( Tinker >= 50.0 )
scalar = 0.5;
else if ( Tinker >= 40.0 )
scalar = 0.4;
else if ( Tinker >= 30.0 )
scalar = 0.3;
else
scalar = 0.01;
int res = pack.ConsumeTotal(
new Type[]
{
typeof( IronIngot ), <---------- this is items needed to create the ironelemental
typeof( Tongs ) <----------this is items needed to create the ironelemental
},
new int[]
{
100, <---------- this is amount of IronIngots you need
1, <-----------this is amount of Tongs you need
} );
switch ( res )
{
case 0:
{
from.SendMessage( "You need 100 Iron Ingots to construct Iron Elemental." ); <--- if you change amout its better to change amount in message
break;
}
case 1:
{
from.SendMessage( "You need a tongs to construct Iron Elemental." ); <--- if you change amout its better to change amount in message
break;
}
sry for my english
and if you need any other help you must know that Im not a scripter and I can only change some simple parts what I can understand in the script ;D