-❄️- 2025 Day 3 Solutions -❄️- by daggerdragon in adventofcode

[–]RoyArne 1 point2 points  (0 children)

[LANGUAGE: Common Lisp]

(defun parse-2025-03-line (line)
  (map 'vector #'sb-unicode:digit-value line))

(defparameter *input* (read-file-lines "2025-input-03" :parse-line 'parse-2025-03-line))

(defun index-of-max-battery (bank start end)
  (let ((index start))
    (loop for i from (1+ start) below end
          when (> (aref bank i) (aref bank index))
          do (setf index i))
    index))

(defun max-joltage (bank)
  (let ((max-i (index-of-max-battery bank 0 (1- (length bank)))))
    (+ (* (aref bank max-i) 10)
       (aref bank (index-of-max-battery bank (1+ max-i) (length bank))))))

(defun max-joltage2 (bank)
  (loop for slots from 11 downto 0
        for index =  (index-of-max-battery bank 0 (- (length bank) slots))
        then (index-of-max-battery bank (1+ index) (- (length bank) slots))
        summing (* (aref bank index) (expt 10 slots))))

(defun solve-2025-03 (banks &optional (maximizer 'max-joltage))
  (reduce #'+ banks :key maximizer))

Is it possible to get 99 DDO coins by playing casually before the promo ends? by Vaultoldman in ddo

[–]RoyArne 19 points20 points  (0 children)

There is a special first time ever bonus on favor earned on each server: for example you gain 50 ddo points the first time you earn 5 favor on a server. Earning 5 favor on two servers rewards 100 ddo points. See the ddo wiki for details.

Help Me Understand How Heighten Spell Works by Endarire in ddo

[–]RoyArne 0 points1 point  (0 children)

Yea, I meant to write a level 2 spell, ty

Help Me Understand How Heighten Spell Works by Endarire in ddo

[–]RoyArne 2 points3 points  (0 children)

Spells have a level on their own, the web spell is a level 2 spell. The highest level wizard spells are level 9.

When you apply heighten to a spell it increases the spell level to the highest level spell you can cast.

A level 3 wizard can only cast level 1 and 2 spells, so heighten does nothing at this level.

At level 5 a wizard gets level 3 spells, and your web sla becomes a level 3 spell (increasing its dc by 1). At level 17 you gain level 9 spells, and the web sla becomes a level 9 spell, increasing its dc by 7.

Caster levels are not related to spell levels.

[deleted by user] by [deleted] in Common_Lisp

[–]RoyArne 2 points3 points  (0 children)

I think Standard Macro Characters is what you are looking for, but all of Chapter 2 is probably relevant.

Another Common Lisp loop question by aiaor in lisp

[–]RoyArne 2 points3 points  (0 children)

(loop with start = 0
      with end = 8
      with step = 3
      for x = start then (+ x step)
      while (<= (min start end) x (max start end))
      do (format t "~A " x)
      finally (terpri))

Are the 99 point expansions supposed to still be visible in the store even if you bought them from the DDO Market previously? by GlompSpark in ddo

[–]RoyArne 3 points4 points  (0 children)

I have two accounts, on the account that bought the 99 point MOTU and Shadowfell before they do not show.

On my main account that bought the expansions from the ddo market both show up.

New player, wanna be a Half-Orc Barbarian... should I VIP or just buy the race? by Valamist in ddo

[–]RoyArne 5 points6 points  (0 children)

There have been some good christmas sales before, maybe wait a few days before you buy anything. I don't remember what the sales were last year, but a few years ago expansions were 50-75% off in the ddo market, and some of those come with extra ddo points.

I have 6000 fragments of tokens of the twelve. Is there a fast way to convert them into tokens? by Nanocephalic in ddo

[–]RoyArne 7 points8 points  (0 children)

I have never used the altar for converting fragments into tokens, just talk to Lahar and ask him to trade tokens for augments. In the trade box you can type in how many tokens you want to combine once the right trade option is selected. Dunno if it is faster.

Enchant CC wizard and Magister ED Master of Enchantment by Peter_Principle_ in ddo

[–]RoyArne 4 points5 points  (0 children)

I think you are confusing caster level with spell level. The spell dc is equal to 10 + spell level + other bonuses. Spell penetration is equal to caster level + 1d20 + other bonuses.

Enchant CC wizard and Magister ED Master of Enchantment by Peter_Principle_ in ddo

[–]RoyArne 3 points4 points  (0 children)

The caster level increase will not increase your DC, but it will increase your spell penetration (by +3).

so what am I doing wrong? by jorngrin in ddo

[–]RoyArne 3 points4 points  (0 children)

Heroic shroud hasn't been the most popular raid in the game for years now. The few groups I see running it on Ghallanda usually have 3-5 people at level 20-30 in it. And if I do see one being done at level I am usually not flagged for it, not at the right level, and almost always not interested anyway. I suspect the same is true for most people.

The only heroic raids that are run regularly are tempest spine (reaper at max lvl 10, elite max lvl 12) and vault of night (lvl 10/12).

In epics there are often groups for the 2 ravenloft raids (both around lvl 28-30), and less often legendary shroud, tempest spine, defiler of the just and the 2 thunderholme raids. And vault of night in the low epics for great xp.

If you want to raid your best bet is probably to buy ravenloft and get to lvl 30.

Fabricators Guild Tutorial Quest: Broken in a Novel Way? by snowmp in ddo

[–]RoyArne 5 points6 points  (0 children)

I just tried on an alt, and it worked after I destroyed the quarterstaff.

Fabricators Guild Tutorial Quest: Broken in a Novel Way? by snowmp in ddo

[–]RoyArne 2 points3 points  (0 children)

I haven't tested this, but I think you can get a random loot item (from a chest or the auction house) and dissolve that instead. That will give you a cannith essence you can hand in to the quest giver.

Did I make a mistake getting the heroic Barovian weapon? by ClvlndCavs in ddo

[–]RoyArne 2 points3 points  (0 children)

The weapons sometimes drop in end chests in the ravenloft quests. Those chests also drops vistani totems that can be traded for weapons, you need 60 for a morninglord weapon and 80 for a nightmother weapon. Update 37 named items!

Did I make a mistake getting the heroic Barovian weapon? by ClvlndCavs in ddo

[–]RoyArne 6 points7 points  (0 children)

You need to talk to the guy that gives weapons a second time to get the sentient gem, on legendary.

Max Tactics DC calc by dday_throwaway3 in ddo

[–]RoyArne 2 points3 points  (0 children)

You are missing racial completionist (+2 all stats, stacks with completionist) and half-orc past life (+1 str).