Cant get inma spell

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
User avatar
Saulc
Moubootaur Legends
Moubootaur Legends
Posts: 292
Joined: 08 Mar 2015, 21:53
Location: France
Contact:

Cant get inma spell

Post 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 4937 times
Attaroctre have same bug :alt-4:
I hope you can find where is the problem :D
Feel Free to join Moubootaur Legends server now!
ML GitLab
ML Discord
Image
Tibor1
Peon
Peon
Posts: 17
Joined: 10 Jun 2016, 17:26
Location: Hungary

Re: Cant get inma spell

Post by Tibor1 »

saulc need make a life stone and healing other player half healt
dragoon84
Novice
Novice
Posts: 119
Joined: 11 May 2016, 10:45
Location: Portugal

Re: Cant get inma spell

Post by dragoon84 »

don't work i have done enough heals i can't get it

its really bugged
Travolta
Novice
Novice
Posts: 159
Joined: 26 Mar 2011, 04:29

Re: Cant get inma spell

Post 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.
dragoon84
Novice
Novice
Posts: 119
Joined: 11 May 2016, 10:45
Location: Portugal

Re: Cant get inma spell

Post 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. :(
Tambre
Newly Registered User
Posts: 2
Joined: 17 Jul 2016, 12:19

Re: Cant get inma spell

Post 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.
amaranth
Peon
Peon
Posts: 11
Joined: 09 Sep 2016, 09:38

Re: Cant get inma spell

Post 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?
amaranth
Peon
Peon
Posts: 11
Joined: 09 Sep 2016, 09:38

Re: Cant get inma spell

Post by amaranth »

Seems fixed. Thanks meko!
Post Reply