RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Necromancer's: Raising the Dead

KHzspeed

Sorceror
The Living Dead:
based on summoning golem's through tinkering.
A simple, yet fun idea I had to use / recycle useless body parts collected through PVP.

How dose it work?
  • Harvest body parts (head, torso, arms, legs) and five Arcane Gems.
  • Use the (Book of the Dead) to resurrect a strong pet Zombie, created with parts carved of your enemy's corpse.
  • Requires 80.0 Necromancy skill to summon.
  • Uses two follower slots.
To install:
drop in customs folder.
 

Attachments

  • TheLivingDead.rar
    3 KB · Views: 211

pooka01

Sorceror
Really nice idea! But...
what is that? you forgot to remove it?
Code:
                        if ( !summoned )
                        {
                                PackItem( new IronIngot( Utility.RandomMinMax( 13, 21 ) ) );
                                if ( 0.1 > Utility.RandomDouble() )
                                        PackItem( new PowerCrystal() );
                                if ( 0.15 > Utility.RandomDouble() )
                                        PackItem( new ClockworkAssembly() );
                                if ( 0.2 > Utility.RandomDouble() )
                                        PackItem( new ArcaneGem() );
                                if ( 0.25 > Utility.RandomDouble() )
                                        PackItem( new Gears() );
                        }
 

KHzspeed

Sorceror
Really nice idea! But...
what is that? you forgot to remove it?
Code:
                        if ( !summoned )
                        {
                                PackItem( new IronIngot( Utility.RandomMinMax( 13, 21 ) ) );
                                if ( 0.1 > Utility.RandomDouble() )
                                        PackItem( new PowerCrystal() );
                                if ( 0.15 > Utility.RandomDouble() )
                                        PackItem( new ClockworkAssembly() );
                                if ( 0.2 > Utility.RandomDouble() )
                                        PackItem( new ArcaneGem() );
                                if ( 0.25 > Utility.RandomDouble() )
                                        PackItem( new Gears() );
                        }
yes. looks like something i forgot to remove. lol
the book is really just a remanufactured Clockwork assembly. remove the above, and you should be fine.
 

jayates

Sorceror
The mummy has a random level. Is there a way to set their level to like 30? That way every mummy starts at level 30.
 

KHzspeed

Sorceror
The mummy has a random level. Is there a way to set their level to like 30? That way every mummy starts at level 30.
I haven't got a clue.
I don't mind helping, but I need more information what the problem is you're having.
 

jayates

Sorceror
Oh sorry.... it's not a problem that i'm having. Just wanted to know if the mummies can start at level 30 everytime to level up to the max? If that makes any scence.
 

virus512

Sorceror
Oh sorry.... it's not a problem that i'm having. Just wanted to know if the mummies can start at level 30 everytime to level up to the max? If that makes any scence.

If you think about lvl 30 I dont understand you.. but If you think about summon mummy with 30% Necro Skill its possible and simple ;) I did it on my server ;D I will paste you code when I will back from work.
 

virus512

Sorceror

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
 

Attachments

  • BookofDead.cs
    6.4 KB · Views: 9
  • SummonCorpse.cs
    8.4 KB · Views: 8
  • BookofIronElemental.cs
    4.9 KB · Views: 8
  • SummonIronElemental.cs
    8.4 KB · Views: 8
Top