Inscription, Magic Reflect

Discussion in 'Bug Reports' started by Dalavar, Mar 20, 2014.

  1. Dalavar

    Dalavar Well-Known Member
    UO:R Subscriber

    Joined:
    Aug 11, 2013
    Messages:
    3,336
    Likes Received:
    1,915
    GM Magery and 0 Inscription will reflect 8 spell levels.

    GM Magery and 73 Inscription will reflect... 8 spell levels.
    Liberation likes this.
  2. Chris

    Chris Renaissance Staff
    Renaissance Staff

    Joined:
    May 14, 2012
    Messages:
    3,385
    Likes Received:
    6,195
    Code:
    int value = (int)(Caster.Skills[SkillName.Magery].Value + Caster.Skills[SkillName.Inscribe].Value);
    value = (int)(8 + (value/200)*7.0);
    
    Translated
    Circles to Resist = (8 + ((Magery + Inscription) / 200) * 7)  * Rounded to nearest integer,  8-15 circles to resist.
    
    When resting a spell
    Reflect Value - SpellCircle + 1
    Last edited: Mar 28, 2014
    Liberation likes this.
  3. Dalavar

    Dalavar Well-Known Member
    UO:R Subscriber

    Joined:
    Aug 11, 2013
    Messages:
    3,336
    Likes Received:
    1,915
    GM Magery, 8.5 Inscribe (0.0 real) casts Reflect.
    8 + (100+8.5)/200 * 7 = 8 + (.54 * 7) = 8 + 3.78 = 12

    In reality, two Mana Drains [(4+1) * 2 = 10 value drained] will completely remove the reflect. However one Mana Drain and one Poison (9 value) will not. So one is getting 10 Reflect Value from these skills.

    * * * * *
    GM Magery, 83.8 Inscribe (82.4 real) cast reflect.
    8 + (100+83.8)/200 * 7 = 8 + 6.433 = 14

    In reality, two Mana Drains (10 value drained) will completely remove the reflect. 9 value will not. So literally no practical difference between 0 Inscription and 82 Inscription.

    * * * * *
    Wild guess: it seems like the [(Magery + Inscription) / 200] portion of the equation is rounding down to the nearest integer.
    Liberation likes this.
  4. Wodan

    Wodan Well-Known Member
    UO:R Subscriber

    Joined:
    Sep 3, 2013
    Messages:
    579
    Likes Received:
    368
    Damn Dalavar, I still wanna prove you wrong but I setup two chars on Test and what you say is true and easy to repeat

    Just two blank chars, both GM Mage, GM Resist ...

    One char has reflect up, had the other char cast spells.

    Result at GM Mage / GM Resist :
    2x Mana Drain + 1x Weaken = Reflection gone Weaken hit.
    First Mind Blast reflected, second Mind Blast hit.

    With 93.6 shown Magery and 6.0 shown Resist I still only got 8 circles of reflection (Magery + Resist < 100)
    With a combines Magery + Resist SHOWN skill of > 100 I only got 8 Circles of reflection
    With just GM Magery and no Resist REAL skill I get 8 circles of reflection.

    Well let's cut it short ... you never get more than 8 circles of reflection ..



    EDIT : lol. Yeah i'm pretty retarded and kept testing this with magic resist...
    But still, the changes in magery skill should have affected the reflection circles. At GM magery, you should get 11 circles of reflection and that's just not the case.
    Liberation likes this.
  5. Dalavar

    Dalavar Well-Known Member
    UO:R Subscriber

    Joined:
    Aug 11, 2013
    Messages:
    3,336
    Likes Received:
    1,915
    Here's how it supposedly worked:
    http://www.uoguide.com/Publish_5

    Liberation likes this.
  6. Wodan

    Wodan Well-Known Member
    UO:R Subscriber

    Joined:
    Sep 3, 2013
    Messages:
    579
    Likes Received:
    368
    Yeah so I re-tested that with inscription and got a HEFTY reflect bonus at GM inscription (15 circles) ...

    With 99 inscription, there's no bonus at all.

    (I tested using magic arrow)
    Venger, Liberation and Huzke like this.
  7. Chris

    Chris Renaissance Staff
    Renaissance Staff

    Joined:
    May 14, 2012
    Messages:
    3,385
    Likes Received:
    6,195
    Doing some testing I did actually confirm that by design the bonus only applies when you have GM Inscription.

    So at 0-100 Magery + 0-99.9 Inscription you can reflect 8 spell circles.
    at 99.9 Magery and 100 Inscription you can reflect 8 spell circles.
    At 100 Magery and 100 Inscription you can reflect 15 spell circles.

    With 8 circles of reflect you could reflect 2 level 4 spells, 1 level 6 spell and 1 level 2 spell.

    Now if this is accurate for the 1999/December era I cannot say yet. But initial testing confirmed these results. The RunUO Formula is designed to return 2 results. Not an array of results along a standard line.
    Venger likes this.

Share This Page