Vert-I-Go

Member
Vert-I-Go submitted a new resource:

Mirror Mold - Underdark Mirror Mold

A Underdark Item. If you step on this mold it will create a mirror image of your character and start attacking you.

Description from d100:
  1. Mirror Mold: Step in, or touch a patch of Mirror Mold, and a mindless, shambling simulacra of yourself will grow from this silvery grey glop a few hours, days, or weeks later. There are old dark-delver tales that occasionally, particularly old patches of this stuff, if left alone long enough, learn to do more than just shamble. There may be...

Read more about this resource...
 
Why is this cs. set to drop items that you have on that are not blessed ? Asking because if you kill your self you can get extra items you have on off the mirror kill. Might be a exploit to get extra free drops..
 
We fixed it. I added a snip to only copy Blessed items. The drawback with this is if the player doesn't have any blessed items, it will appear naked. This add is good for servers with bless deeds a-plenty.

Just add the
C#:
 && ( item.LootType == LootType.Blessed)

Where I have it indicated below.

C#:
                         ArrayList items = new ArrayList( m_Victim.Items );
                         for (int i=0; i<items.Count; i++)
                             {
                             Item item = (Item)items[i];
                             if((( item != null ) && ( item.Parent == m_Victim ) && ( item.LootType == LootType.Blessed) ))
                             {
                                    Type type = item.GetType();
                                    Item newitem = Loot.Construct( type );
                                    CopyProperties( newitem, item );
                                    AddItem( newitem );

There's probably a much better way to do this, but this was pretty down and dirty. I think there's a lot of cool things you can do with this script.
 
We fixed it. I added a snip to only copy Blessed items. The drawback with this is if the player doesn't have any blessed items, it will appear naked. This add is good for servers with bless deeds a-plenty.

Just add the
C#:
 && ( item.LootType == LootType.Blessed)

Where I have it indicated below.

C#:
                         ArrayList items = new ArrayList( m_Victim.Items );
                         for (int i=0; i<items.Count; i++)
                             {
                             Item item = (Item)items[i];
                             if((( item != null ) && ( item.Parent == m_Victim ) && ( item.LootType == LootType.Blessed) ))
                             {
                                    Type type = item.GetType();
                                    Item newitem = Loot.Construct( type );
                                    CopyProperties( newitem, item );
                                    AddItem( newitem );

There's probably a much better way to do this, but this was pretty down and dirty. I think there's a lot of cool things you can do with this script.
Hehe I got it hun and ty :)
 
Honestly when I made the script didnt look to far into it. But good catch on the exploit. feel free to make any changes and upgrades to it makes for a better script, so thanks for the update :)
 

Active Shards

Donations

Total amount
$150.00
Goal
$500.00
Back