-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magic phase 6 - spell learning (through spellbooks) #30425
Magic phase 6 - spell learning (through spellbooks) #30425
Conversation
c77b733
to
41582ae
Compare
src/ranged.cpp
Outdated
if( casting.aoe() > 0 ) { | ||
nc_color color = c_light_gray; | ||
if( casting.effect() == "projectile_attack" || casting.effect() == "target_attack" ) { | ||
line_number += fold_and_print( w_target, line_number, 1, getmaxx( w_target ) - 2, color, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line is massive.
I apologise for being horribly pedantic, but I dunno where to put this. What exactly will the magic mod be like for the average player? |
well, if you would like to see a demo of my currently working magic mod, Here is a link to the (pre)release |
I'm on my craptop, but I'll try to remind myself to look at it. I like the work you're doing here. |
bea9816
to
fc064a1
Compare
2763437
to
7eb2bf8
Compare
jenkins rebuild |
7eb2bf8
to
e5c3336
Compare
Summary
SUMMARY: Infrastructure "Adds the learn_spell iuse action"
Purpose of change
This is one of the four (planned) ways to gain spells, and by far the most common (at least in the mod i will be maintaining)
An iuse action called "learn_spell" will ble added to items, so you can learn or study the spell by spending time, much like reading. The time spent learning the spell and the rate at which you gain exp are highly dependent upon the various magic spells.
This is the 6th PR in the magic series of PRs - #30422 is the prerequisite to this one.