bala1412

Member
ServUO Version
Publish 57
Ultima Expansion
Endless Journey
When a player holds a bow and fires an arrow, the default EffectID of the arrow is "0x0F42"
It is. For example, when you set the color of the arrow to "Hue = 1150;" and you fire the color of the arrow to the default color. Is there a way to set the color of the EffectID when the arrow is fired?
 

There is another overload method for MovingEffect that takes two more arguments; hue and render.

You can add an EffectHue property to match EffectID and then use it;
Code:

attacker.MovingEffect(damageable, EffectID, 18, 1, false, false, EffectHue, 0);
+ Items/Equipment/Weapons/BaseRanged.cs:
CS0103: Line 221: The name 'EffectHue' does not exist in the current context
Scripts: One or more scripts failed to compile or no script files were found.
Thank you for your answer.
I added it as you told me to BaseRanged.cs , but the error as above appears.
 

Active Shards

  • Unchained
    Custom (Classic)
    • Players
    • 98 Online
    • 273 Peak
  • UO Eventine
    Custom (Classic)
    • Players
    • 87 Online
    • 137 Peak
  • Insane UO
    Endless Journey
    • Players
    • 78 Online
    • 128 Peak
  • The Crossroads
    Mondain's Legacy
    • Players
    • 72 Online
    • 190 Peak
  • UO: New Renaissance
    Custom (Classic)
    • Players
    • 30 Online
    • 85 Peak
  • UO Enigma
    Custom (Modern)
    • Players
    • 27 Online
    • 172 Peak
  • Arth
    Custom (Modern)
    • Players
    • 23 Online
    • 46 Peak
  • UO Phoenix
    Custom (Classic)
    • Players
    • 21 Online
    • 48 Peak
  • Heritage
    New Legacy
    • Players
    • 13 Online
    • 41 Peak
  • Pandora
    Custom (Modern)
    • Players
    • 13 Online
    • 32 Peak

Donations

Total amount
$0.00
Goal
$500.00
Back