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!

Power Scroll Eater

Power Scroll Eater

For those shards that find that powerscrolls dont have much use, namely the 120 all stats and skills shards, here is something that your players might enjoy, something to make powerscrolls worth something at least.

This mobile is a power scroll eater. He basically eats powerscrolls and gives players tokens or gold, I have included support for both setups.

The token system included is support for the daat99 system, if you use another token system you need to customize the scripts accordingly.

Hope you enjoy this one.
 

Attachments

  • Power Scroll Eater ( no tokens ).rar
    2.9 KB · Views: 176
  • Power Scroll Eater ( with tokens ).rar
    2.9 KB · Views: 178
seanandre said:
Is there a way to modify this script so it will accept Stat Scrolls as well?

Sure this should do it. Change this line:

Code:
	if( dropped is PowerScroll )

To look like this line :

Code:
	if( dropped is PowerScroll || dropped is StatCapScroll )

This will make it take stat cap scrolls too.
 

Eisenherz

Wanderer
is it possible to change amount for different scrolls? so like
110er ps = 10k
115er ps= 20k
120er ps= 30k
+5 statscroll= 15k
and so on
any possibility?
 
Yes, it is possible:

you check for the "Value" of the powerscroll :D

example
Code:
if ( dropped.Value = 105 )
{
  //you code here
}
else if (dropped.Value = 110 )
{
  //next here
}

Hope that explains enough :)
 
The token powerscroll eater gives an error on line 97 daat99tokens says its missing a directive or an assembly reference. Just thought you should know.


Edit: Ok I fixed it. Line 97 should be this:
Code:
mobile.AddToBackPack( new Daat99Tokens( 2500 ) );


2500 is my edited amount. So edit your amount accordingly. Thank You
 
Top