City of Arabel
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Clairvoyance not min/ level, possibly hour/ level

    Scheduled Pinned Locked Moved Closed Bugs
    3 Posts 3 Posters 59 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Coldburn The Justiciars
      last edited by

      You gain +10 spot and +10 listen for 1 minute per level. Spell Focus Divination and Greater Spell Focus Divination increases the duration by one-minute each.

      Clairvoyance (10) outlasted two potions of Barkskin (3) by a lot.

      The Storm Of Our Wings Heralds Glory

      1 Reply Last reply Reply Quote
      • L
        LeastWeasel The Justiciars
        last edited by LeastWeasel

        In the base spell hook script, nw_s0_clairadvo, consider lines 41, 53, and 65

        41 | int nLevel = GetAdjustedCasterLevel(OBJECT_SELF);
        ...
        53 | nLevel = nLevel * 60; // Extends it to 1 minute per level
        ...
        65 | ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oTarget, RoundsToSeconds(nLevel));
        

        Looks like the script applied the level to minute conversion twice. Duration is therefore 60 rounds per level, so 6 minutes per level. Suggest change the constant in line 53 to 10 or do not pass through RoundsToSeconds in line 65 to make it minute per level.

        Mr.MolochM 1 Reply Last reply Reply Quote
        • Mr.MolochM Mr.Moloch moved this topic from Bug Reports
        • Mr.MolochM
          Mr.Moloch @LeastWeasel
          last edited by

          @LeastWeasel Again thank you for looking at the bugs in the scripts; huge help.

          In the future, there are two simple rules to remember:

          NO SPITTING.

          DO NOT CROSS MISTER MOLOCH.

          https://youtu.be/dQw4w9WgXcQ?si=uHdfqTMS7FMTWREf

          1 Reply Last reply Reply Quote
          • 1 / 1
          • First post
            Last post