Jump to content

Would SpellDescriptionVariables dbc be useful in lookups?


Guest BThallid

Recommended Posts

I was looking around at the dbc files just to get idea of what was stored in them with dbcEditer in contrib. I noticed that the SpellDescriptionVariables file column 2 looks like it is some sort of formula. Glancing through the source code I can't find if it is being used.

I randomly picked out a row with 64 in column 1 and $bonus=$?s56807[${$m2*1.4}][${$m2}] in column 2. The s56807 seems to match up to in the Spell dbc with Glyph of Hemorrhage which increases Hemorrhage by 40%. The $m2*1.4 would be the original value? * 140%.

Here are a few more (some are obvious, others not):

$chance=$?s55439[${$m2+$55439m1}][${$m2}]
55439 = Glyph of Earthliving Weapon (Increase chance by 5%)

$mult=$?s55673[${1.2}][${1}]
55673 = Glyph of Lightwell (Increase amount healed by 20%)

$heal=$?a63279[${$m1*1.2}][${$m1}]
63279 = Glyph of Earth Shield (Increase amount healed by 20%)

$opportunity1=$?s14057[${110}][${100}]
$percent=$?s14072[${120}][${$<opportunity1>}]
14057 = Opportunity Rank 1 (10% increase)
14072 = Opportunity Rank 2 (20% increase)

$aggression1=$?s18427[${103}][${100}]
$aggression2=$?s18428[${106}][${$<aggression1>}]
$aggression3=$?s18429[${109}][${$<aggression2>}]
$aggression4=$?s61330[${112}][${$<aggression3>}]
$percent=$?s61331[${115}][${$<aggression4>}]
Aggression
18427 = Rank 1 (3% increase)
18428 = Rank 2 (6% increase)
18429 = Rank 3 (9% increase)
61330 = Rank 4 (12% increase)
61331 = Rank 5 (15% increase)

This whole dbc may be irrelevant and meant only to be used by client, but I thought I would bring it up in case it would be possible to use in server code for lookup. A few of the variables remind me of a conditional operator. I'm not sure if any of it could be used, or if it was looked at before and decided against using it. The dbc itself appears to only have 27 rows in it, but the values range from 1 to 172 in column 1.

Does anyone else see some possibilities here?

Link to comment
Share on other sites

This is interesting in some ways. The problem I see is to find out, which spells/skills/abilities use which of the 27 records in this DBC. Is there any field in, say, Spell.dbc which is of unknown function and only takes values of

1

28

29

30

31

61

62

63

64

81

82

83

84

86

87

101

102

121

162

164

165

166

167

169

170

171

172

??

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use