Query to set PB shots to LDR 3

A place to submit .patch fixes for the DOL SVN

Moderator: Developer Team

Query to set PB shots to LDR 3

Postby stephenxpimentel » Sun Mar 08, 2009 12:31 am

Code: Select all
/* Archery Life Drain Return set to 3 so it has no min range.*/
UPDATE spell SET LifeDrainReturn = '3'
WHERE
name = 'Point Blank Shot 1' OR
name = 'Point Blank Shot 2' OR
name = 'Point Blank Shot 3' OR
name = 'Point Blank Shot 4' OR
name = 'Point Blank Shot 5' OR
name = 'Point Blank Shot 6' OR
name = 'Point Blank Shot 7' OR
name = 'Point Blank Shot 8';
/* All other Archery spells set to 200 radius for minimum range.*/
UPDATE spell SET Radius = '200'
WHERE
name NOT LIKE = 'Point Blank Shot %' AND
type = 'Archery';
EDIT*** Also a query to set Radius of all other archery spells to 200 (For Min Range)
Lets have some fun.
stephenxpimentel
Contributor
 
Posts: 1300
Joined: Wed Sep 19, 2007 5:09 pm

Re: Query to set PB shots to LDR 3

Postby Sand » Sun Mar 08, 2009 2:24 am

I missed a patch note?

I didn't know these had a lifedrain associated with them.

BTW why are you doing anything with radius on shots? The only shot where raduis is relevant would be volley.
Sand
Server Team
 
Posts: 1375
Joined: Sat May 17, 2008 2:05 am

Re: Query to set PB shots to LDR 3

Postby stephenxpimentel » Sun Mar 08, 2009 7:55 am

Lets have some fun.
stephenxpimentel
Contributor
 
Posts: 1300
Joined: Wed Sep 19, 2007 5:09 pm

Re: Query to set PB shots to LDR 3

Postby Graveen » Sun Mar 08, 2009 9:55 am

The LDR value is often used for some informations in the spells; on archery 1 & 2 where used, now 3.

The radius field is now used to contains the radius within you should not be to fire the shot.
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: Query to set PB shots to LDR 3

Postby Sand » Sun Mar 08, 2009 4:50 pm

Ah, reusing fields to mean something different ah makes more sense now.

Hmm, interesting thread which I haven't finished yet so don't know why they want to stop people from using the other shots at point blank range because there is little or no advantage to actually use them so people wouldn't be using the other shots anyway, as the dps on point blank is the highest and is the fastest shot except for rapid fire which does poor damage.

Maybe they messing around with the styles so the others have use or someone wants to take advantage of someone having very poor heat or cold resists so they use those shots however don't see how those would do more dps than point blank.

Edit: and on the interupt issue, my scout use to get interupted, so not sure what the issue is there or if even there is one in the core code.

Also I don't think live has any "min range" on the shots, but since I pretty consistently used point blank on anything that was closer than 1k range I can't really confirm.
Sand
Server Team
 
Posts: 1375
Joined: Sat May 17, 2008 2:05 am

Re: Query to set PB shots to LDR 3

Postby Dinberg » Sun Mar 08, 2009 5:34 pm

Silly question maybe, but its bugging me. Why not, instead of using the LDR value, do you not just set radius to 0 for spells with no minimum range, and code it so when radius = zero we ignore minimum distance concerns?
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: Query to set PB shots to LDR 3

Postby Graveen » Sun Mar 08, 2009 6:51 pm

Because volley got radius and minimum range.

But the fact is LDR is already used to differentiate type, and it sounds coherent to handle the problem as a new type.
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: Query to set PB shots to LDR 3

Postby Dinberg » Sun Mar 08, 2009 8:23 pm

Ahh ok, seems good then :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: Query to set PB shots to LDR 3

Postby Batlas » Mon Mar 09, 2009 5:01 pm

Seems weird using radius though. Multishot ftw \o/
[22:29] <Arms> someones having sex upstairs -.-
[22:30] <Arms> bbl

[21:16] <Angie> do /me
[21:16] <Batlas> roflmao
[21:16] <Dalaaji> haha
[21:16] <Batlas> wow that came out bad
[21:16] <Angie> wow
[21:16] <Angie> that so came out bad
Batlas
Support Team
 
Posts: 1707
Joined: Sun Mar 21, 2004 3:11 am


Return to “%s” DOL Code Contributions

Who is online

Users browsing this forum: No registered users and 1 guest