1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Enchanted Apple, Fruit Bowl

Discussion in 'Archived Bug Reports' started by xG00BERx, Feb 3, 2014.

  1. xG00BERx
    Offline

    xG00BERx Active Member

    Joined:
    Jan 6, 2014
    Messages:
    339
    Likes Received:
    36
    The Enchanted Apple and Fruit bowl are not working correctly so a while ago I fixed them and as of right now I do not know whether I ever uploaded them or not??? I know I sent them to insanity but I cannot find whether I uploaded them or not here... Anyways it is a bug and I semi Fixed the Magical Food.

    I fixed the Enchanted Apple and Fruit Bowl but did not fix the grapes of wrath as it will take playermobile edits and I have not gotten around to it yet. Maybe someone else will before me?? Anyways still posting this here!

    Enjoy!
     

    Attached Files:

    • Like Like x 1
  2. Hank
    Offline

    Hank Active Member

    Joined:
    Nov 14, 2013
    Messages:
    972
    Likes Received:
    152
    very cool, thanks for taking the time to share this with the community G00BER :)
     
    • Agree Agree x 1
  3. Insanity
    Offline

    Insanity Active Member

    Joined:
    Mar 2, 2013
    Messages:
    276
    Likes Received:
    61
    Semi fixed the magical food? Looking at your copy, there is no difference between it and ServUO's copy. So...what did you change in BaseMagicalFood?
     
  4. xG00BERx
    Offline

    xG00BERx Active Member

    Joined:
    Jan 6, 2014
    Messages:
    339
    Likes Received:
    36
    Actually there is a couple edits here and there...
    Enchanted Apple (ServUO)
    Code (C#):
    1.  
    2.                 EvilOmenSpell.TryEndEffect(from);
    3.                 StrangleSpell.RemoveCurse(from);
    4.                 CorpseSkinSpell.RemoveCurse(from);
    5.                 CurseSpell.RemoveEffect(from);
    6.  
    7.                 BuffInfo.RemoveBuff(from, BuffIcon.Clumsy);
    8.                 BuffInfo.RemoveBuff(from, BuffIcon.FeebleMind);
    9.                 BuffInfo.RemoveBuff(from, BuffIcon.Weaken);
    10.                 BuffInfo.RemoveBuff(from, BuffIcon.MassCurse);  
    11.  
    Enchanted Apple(My Version)
    Code (C#):
    1.  
    2.                                 EvilOmenSpell.TryEndEffect( from );
    3.                                 StrangleSpell.RemoveCurse( from );
    4.                                 CorpseSkinSpell.RemoveCurse( from );
    5.                                 CurseSpell.RemoveEffect( from );
    6.                                 MortalStrike.EndWound( from );
    7.                                 MindRotSpell.ClearMindRotScalar( from );
    8.                                 BloodOathSpell.RemoveCurse( from );
    9.  
    10.                                 BuffInfo.RemoveBuff( from, BuffIcon.BloodOathCurse    );
    11.                                 BuffInfo.RemoveBuff( from, BuffIcon.MortalStrike );
    12.                                 BuffInfo.RemoveBuff( from, BuffIcon.Clumsy );
    13.                                 BuffInfo.RemoveBuff( from, BuffIcon.FeebleMind );
    14.                                 BuffInfo.RemoveBuff( from, BuffIcon.Weaken );
    15.                                 BuffInfo.RemoveBuff( from, BuffIcon.MassCurse );
    16.                                 BuffInfo.RemoveBuff( from, BuffIcon.Mindrot );
    17.  
    FruitBowl(ServUO):
    Code (C#):
    1. from.AddStatMod(new StatMod(StatType.Str, modName + "Str", (int)(from.RawStr * 0.08), TimeSpan.FromSeconds(75)));
    FruitBowl (My Version):
    Code (C#):
    1.  
    2.                                 from.AddStatMod( new StatMod( StatType.Str, modName + "Str", (int) ( from.RawStr * 0.05 ), TimeSpan.FromMinutes( 2 ) ) );
    3.                                 from.AddStatMod( new StatMod( StatType.Int, modName + "Int", (int) ( from.RawInt * 0.05 ), TimeSpan.FromMinutes( 2 ) ) );
    4.                                 from.AddStatMod( new StatMod( StatType.Dex, modName + "Dex", (int) ( from.RawDex * 0.05 ), TimeSpan.FromMinutes( 2 ) ) );
    5.  
     
  5. xG00BERx
    Offline

    xG00BERx Active Member

    Joined:
    Jan 6, 2014
    Messages:
    339
    Likes Received:
    36
    I have already sent these to you Insanity so maybe your just INSANE and you forgot that you have already replaced them in your personal version!?!?!?

    Just a thought?
     
  6. Kalamus
    Offline

    Kalamus Active Member

    Joined:
    Apr 24, 2013
    Messages:
    282
    Likes Received:
    32
    I also looked at BaseMagicalFood, there is no change in that file besides the structure being reordered. Looks like that one can be ignored.
     
    • Like Like x 1
  7. Kalamus
    Offline

    Kalamus Active Member

    Joined:
    Apr 24, 2013
    Messages:
    282
    Likes Received:
    32
    He was referring to the BaseMagicalFood.cs you included in the zip. Nothing changed in that file.
     
    • Agree Agree x 1
  8. Insanity
    Offline

    Insanity Active Member

    Joined:
    Mar 2, 2013
    Messages:
    276
    Likes Received:
    61
    He is right, I was talking about BaseMagicalFood.cs. You included it here in this bug report, yet there was no reason. As it hasn't been touched, there were no issues to fix with it.
     
    • Like Like x 1
  9. xG00BERx
    Offline

    xG00BERx Active Member

    Joined:
    Jan 6, 2014
    Messages:
    339
    Likes Received:
    36
    ORBSYDIA was where I originally got these from so I included without looking at the ServUO version so sorry about the misshaps!
     
  10. Insanity
    Offline

    Insanity Active Member

    Joined:
    Mar 2, 2013
    Messages:
    276
    Likes Received:
    61
    It's all good, just wanted to double check.
     
Similar Threads: Enchanted Apple
Forum Title Date
Archived Bug Reports Enchanted Apples will now always remove curses on use and no longer have a chance to fail Nov 30, 2017
Archived Bug Reports Enchanted Apple May 22, 2017
Archived Bug Reports Enchanted apple Sep 19, 2016
Archived Bug Reports Enchanted Apple bug May 27, 2016
Archived Bug Reports Missing Enchanted Hot Item Aug 10, 2017
Archived Bug Reports Enchanted Timepiece Apr 28, 2017
Buy and Sell Enchanted Essence Mar 12, 2016