ITLongwell / mondains-legacy

Automatically exported from code.google.com/p/mondains-legacy
0 stars 0 forks source link

Elemental Damages not showing properly. #60

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Any Weapon scripted with the following code type does not show it's damages
properly....

public override void GetDamageTypes( Mobile wielder, out int phys, out int
fire, out int cold, out int pois, out int nrgy )
        {
            phys = fire = pois = nrgy = 0;
            cold = 100;
        }

It should show 100% Cold damage but instead it shows 100% Physical damage.

I am using ML SVN 34 and RunUO SVN 302.   The problem don't appear until
you install the ML package.  Without ML it shows properly.

I have a fix for it posted on the RunUO forums (well most of the fix
anyway).  Just need MalGanis to verify it.

Original issue reported on code.google.com by ShaiTanMalkier@gmail.com on 4 Jan 2009 at 7:41

GoogleCodeExporter commented 8 years ago
you can also prop an artifact and damages don't change becasue of the 
GetDamageTypes
override in those weapons scripts and doesnt show everything shows 0 so if you 
had a
weapon phy 100 when prop shows 0.

Original comment by uorevolu...@gmail.com on 7 Jan 2009 at 1:24

GoogleCodeExporter commented 8 years ago
Fixed in SVN 35.

Original comment by gje...@gmail.com on 7 Jan 2009 at 8:33