Aaroniero

Initiate
I just edited Scripts/Spells/Necromancy/Transformationspell.cs around line 10 i added this:


if (this.Body != caster.BodyValue)
caster.Flying = false;

It works but only with necrospells, i tryed to do with magery too but i dnt know where... I want to stop fly when i use some plymorph spell like magery, spellweaving or Barracoon...
 
I have not tried this in game yet live so I do not know whether it works.

First open Polymorph.cs and find
Code:
        public override bool CheckCast()
        {
            if ( Caster.Mounted )
            {
            Caster.SendLocalizedMessage( 1042561 ); //Please dismount first.
            return false;
            }

below this copy and paste the following
Code:
            else if (Caster.Flying)
            {
                Caster.SendLocalizedMessage(1113415); //You cannot use this ability while flying.
                return false;
            }

I just checked on OSI to make sure this localized message above (aka 1113415) is the right one and it sure is :)

If what I sent you holds true we can also edit Ninjitsu as I see the Clilloc on there is broken as well so open up AnimalForm.cs and find:
Code:
            else if (Caster.Flying)
            {
                this.Caster.SendMessage("You cannot polymorph while flying"); //
                return false;
            }

and change it to:
Code:
            else if (Caster.Flying)
            {
                Caster.SendLocalizedMessage(1113415); //You cannot use this ability while flying.
                return false;
            }
 
Sweet, this should also be added to the bugs list for Servuo as it probably needs fixing for the core project. I might go ahead and make sure Spellweaving, Necromancy, Magery, etc all has the transformations check and upload them there.
 

Active Shards

  • Unchained
    Custom (Classic)
    • Players
    • 158 Online
    • 273 Peak
  • UO Eventine
    Custom (Classic)
    • Players
    • 87 Online
    • 137 Peak
  • The Crossroads
    Mondain's Legacy
    • Players
    • 81 Online
    • 190 Peak
  • Insane UO
    Endless Journey
    • Players
    • 79 Online
    • 105 Peak
  • UO: New Renaissance
    Custom (Classic)
    • Players
    • 30 Online
    • 85 Peak
  • UO Enigma
    Custom (Modern)
    • Players
    • 20 Online
    • 172 Peak
  • CALYPSO
    Custom (Modern)
    • Players
    • 19 Online
    • 30 Peak
  • UO Phoenix
    Custom (Classic)
    • Players
    • 19 Online
    • 48 Peak
  • Heritage
    New Legacy
    • Players
    • 16 Online
    • 41 Peak
  • Arth
    Custom (Modern)
    • Players
    • 15 Online
    • 34 Peak

Donations

Total amount
$0.00
Goal
$500.00
Back