[CF-Devel] Summoning bug: can't level up

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Sat Dec 27 02:58:20 CST 2003


Hello.

Yesterday i saw a player who couldn't cast 'summon lesser golem'.
Checking some, the reason is pretty obvious:
This player just learned summoning, thus his skill is 1.
Lesser golem is level 1.
The player worships Mostrai, so summoning repelled.

So player lever becomes (see spell_util.c:caster_level) 1 - 2 (repelled) -> -1
Min level to cast (min_casting_level) is 1 - 2 -> -1 checked against <1 -> 1

So he simply can't cast the spell, and can't level up alone, need to party.

I think the best way to fix is to check caster_level and return at least 1.

Nicolas 'Ryo'


_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list