kfritz411

Member
So I took the RadiantScimitar.cs and am trying to create a new sword (SunBladeMain.cs) with different name and weapon abilities.

I don't get any errors during start up.

However, the sword still says Radiant Scimitar(pretty sure that has something to do with the base(0x2D33) value) and has icons for normal weapon abilities, but the abilities no longer work.

I also tried creating a custom item that just uses the radiant scimitar as a base (SunBlade.cs), but I can't get the weapon abilities to change on that either.
Found this code that I assumed would work:

public override WeaponAbility PrimaryAbility { get { return WeaponAbility.DoubleStrike; } }
public override WeaponAbility SecondaryAbility { get { return WeaponAbility.ConcussionBlow; } }

But I can't figure out where it's supposed to go, either I get error on start up, or it just doesn't seem to do anything.

Even tried using both items at the same time, with my custom item referencing the base custom sword (current configuration of files uploaded)

I'm so lost lol, any help would be greatly appreciated!
 

Attachments

  • SunBlade.cs
    1.6 KB · Views: 12
  • SunBladeMain.cs
    2.8 KB · Views: 6
I removed both my files and put only yours in place. Says correct name now, but abilities are still showing the original Radiant Scimitar.
 
The weapon abilities are hardcoded into the client in relation to the id of the weapon. You can not change them.
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back