Page 1 of 1

Cant get inma spell

Posted: 05 Jun 2016, 12:36
by Saulc
Hello i cant get exp with lum. After use 150/200 lifestone Eleanor dont want to teatch me Inma spell.
Eleanor maps/002-1.
eleanorbug.PNG
eleanorbug.PNG (132.55 KiB) Viewed 5989 times
Attaroctre have same bug :alt-4:
I hope you can find where is the problem :D

Re: Cant get inma spell

Posted: 10 Jun 2016, 18:13
by Tibor1
saulc need make a life stone and healing other player half healt

Re: Cant get inma spell

Posted: 11 Jun 2016, 21:41
by dragoon84
don't work i have done enough heals i can't get it

its really bugged

Re: Cant get inma spell

Posted: 13 Jun 2016, 05:16
by Travolta
dragoon84 wrote:don't work i have done enough heals i can't get it

its really bugged
It's not bugged, it's rewritten. I read the new script, and if I understand it right, it doesn't count healed players anymore, so you can stop wasting lifestones trying to impress Elanore. Instead, it depends on your General magic control level (#abizit), so you need to raise that. It is silly, in magic v2 you got #inma very fast to train magic (you could get 1-4 magic exp for a good heal), but now you need to train magic to get inma. Elanore and #lum/#inma were reimplemented, but they don't work the same as before, and didn't get enough testing. In fact, I suspect it might be very hard to get #inma now.

Re: Cant get inma spell

Posted: 14 Jun 2016, 22:39
by dragoon84
ohhh!! i have 60% to 70% and can't get it yet. And if its true what you said perhaps only in 450% i can get it. That is too bad :( . I want Kaflosh and Frillyar spells. :(

Re: Cant get inma spell

Posted: 23 Jul 2016, 06:55
by Tambre
I have this problem too. My best guess is that a bug was accidentally introduced in the process of overhauling the magic system in preparation for level 3 magic.

I think this line of code should instead be

Code: Select all

    set @last_heal_xp, ((SCRIPT_XP & (SCRIPT_HEALSPELL_MASK << SCRIPT_HEALSPELL_SHIFT)) >> SCRIPT_HEALSPELL_SHIFT);
or better still

Code: Select all

    set @last_heal_xp, ((SCRIPT_XP >> SCRIPT_HEALSPELL_SHIFT) & SCRIPT_HEALSPELL_MASK);
Notice that shifting the mask was standard in older code and that the mask and shift constants have been, well, constant: before, after.

Re: Cant get inma spell

Posted: 26 Sep 2016, 16:50
by amaranth

Code: Select all

set @last_heal_xp, ((SCRIPT_XP & SCRIPT_HEALSPELL_MASK) >> SCRIPT_HEALSPELL_SHIFT);
Ok I don't know the first thing about the code, but what seems really confusing to me is that

1. SCRIPT_XP doesn't seem to be set at all
2. SCRIPT_HEALSPELL_SHIFT is 24 bits, while SCRIPT_HEALSPELL_MASK seems to restrict to byte int values

so what is the resulting healing XP supposed to be, other than 0, no matter what?

Code: Select all

// SCRIPT_XP "MAGIC_EXPERIENCE"
SCRIPT_XP_MASK                  65535
SCRIPT_XP_SHIFT                 0
SCRIPT_HEALSPELL_MASK           255
SCRIPT_HEALSPELL_SHIFT 24
source

Would somebody mind telling my what I'm getting wrong here?

Re: Cant get inma spell

Posted: 10 Oct 2016, 22:37
by amaranth
Seems fixed. Thanks meko!