SphereCommunity
Spells - Manause - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Spells - Manause (/Thread-Spells-Manause)

Pages: 1 2


Spells - Manause - Gil Amarth - 03-14-2013 07:07 PM

I´m wondering why when I cast a spell, only uses half of the MANAUSE put under his spell definition.

If I ser MANAUSE=4, only consumes 2 of mana. If I set MANAUSE=8, only consumes 4 of mana.
Any ideas?


RE: Spells - Manause - darksun84 - 03-14-2013 07:36 PM

maybe you have a /2 division in the argn2 of @spellselect/@select event in a char/spell, otherwise it can be a bug Shock


RE: Spells - Manause - Gil Amarth - 03-14-2013 08:15 PM

I have starting just today my magic system, so I haven´t touched anything about @SPELLSELECT or @SELECT in the spell.

I asked if anybody experienced that before. It´s not very troublesome, because you have only multply for two the MANAUSE at every spells, but it´s strange.
I´m using latest release, 13th of March, 2013.

PD: With a fresh install of Sphere it´s the same, the nightsight spell only consumes 2 of mana instead 4. Maybe it´s a bug.


RE: Spells - Manause - darksun84 - 03-14-2013 08:28 PM

my mana use it's correct, last nightly build


RE: Spells - Manause - Gil Amarth - 03-15-2013 01:23 AM

But with a fresh install?

I swore my Night Sight only uses 2 points of mana...


RE: Spells - Manause - darksun84 - 03-15-2013 01:26 AM

yep Shock , did you tried to log the argn2 value in @spellselect


RE: Spells - Manause - Gil Amarth - 03-15-2013 01:33 AM

Just now, ARGN2 is always 4.

If you cast de night sight from a spellbook, consumes 4 points of mana.
But if you cast from a scroll, only the half, 2 points of mana.

Is this a normal feature? I didn´t know it. Shock


RE: Spells - Manause - Crusader - 03-15-2013 01:50 AM

it's normal, and also the cast time is reduced.


RE: Spells - Manause - Gil Amarth - 03-15-2013 01:53 AM

There is a easy form to disable it?

I would like to be the same, casting from spellbooks, or from scrolls. Using the same mana, and same casting time. Ranting Big Grin


RE: Spells - Manause - Crusader - 03-15-2013 03:06 AM

i searched for a bit, i didn't find any clues Sad not in the normal files nor in the sphere.ini. i guess u can always try to modify the typedef of the t_Scroll in order to add a double consume mana, after u retrieve the spell number .)