Arcane syphon bonus

A place to submit .patch fixes for the DOL SVN

Moderator: Developer Team

Arcane syphon bonus

Postby nidel » Fri Jun 05, 2009 3:23 pm

DOL Core contains Arcane Syphon property but not used. (and some others ^^)

Edit: http://www.dolserver.net/viewtopic.php?f=47&t=12959

Sorry for my english ;)
Last edited by nidel on Wed Jun 10, 2009 12:32 am, edited 1 time in total.
nidel
DOL Novice
 
Posts: 83
Joined: Mon Nov 08, 2004 1:25 pm

Re: Arcane syphon bonus

Postby Dinberg » Fri Jun 05, 2009 4:29 pm

I was just thinking for a second aswell - couldn't help notice this:

(int)(Caster.MaxEndurance * (Spell.Power * .01));

For spells that cost a power %, rather than power value, the 'power cost' is a negative number in the DB. This could actually cause the endurance cost of the spell to be a negative number, increasing the casters endurance!

(int)(Caster.MaxEndurance * (Math.Abs(Spell.Power) * .01));
The Marvelous Contraption begins to stir...
User avatar
Dinberg
Inactive Staff Member
 
Posts: 4695
Joined: Sat Mar 10, 2007 9:47 am
Yahoo Messenger: dinberg_darktouch
Location: Jordheim

Re: Arcane syphon bonus

Postby nidel » Fri Jun 05, 2009 4:49 pm

This cost endurance is for archery's system isn't for spells. But this is true :)
nidel
DOL Novice
 
Posts: 83
Joined: Mon Nov 08, 2004 1:25 pm

Re: Arcane syphon bonus

Postby Dinberg » Fri Jun 05, 2009 5:08 pm

Ahh! I see :D
The Marvelous Contraption begins to stir...
User avatar
Dinberg
Inactive Staff Member
 
Posts: 4695
Joined: Sat Mar 10, 2007 9:47 am
Yahoo Messenger: dinberg_darktouch
Location: Jordheim

Re: Arcane syphon bonus

Postby Graveen » Fri Jun 05, 2009 8:25 pm

Accepted, thx, soon in SVN

/raise Dinny - can you put in svn i won't be at home before... ola......
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Arcane syphon bonus

Postby Dinberg » Fri Jun 05, 2009 10:50 pm

Not today im afraid, im off to bed now. Tomorrow, after revision
The Marvelous Contraption begins to stir...
User avatar
Dinberg
Inactive Staff Member
 
Posts: 4695
Joined: Sat Mar 10, 2007 9:47 am
Yahoo Messenger: dinberg_darktouch
Location: Jordheim

Re: Arcane syphon bonus

Postby nidel » Wed Jun 10, 2009 12:32 am

nidel
DOL Novice
 
Posts: 83
Joined: Mon Nov 08, 2004 1:25 pm


Return to “%s” DOL Code Contributions

Who is online

Users browsing this forum: No registered users and 1 guest