This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -432,11 +432,12 @@ int32 SpellEffectInfo::CalcValue(Unit const* caster, int32 const* bp, Unit const | |
float basePointsPerLevel = RealPointsPerLevel; | |
int32 basePoints = bp ? *bp : BasePoints; | |
float comboDamage = PointsPerComboPoint; | |
// base amount modification based on spell lvl vs caster lvl | |
- if (ScalingMultiplier != 0.0f) | |
+ // Do not perform any scaling calculation if custom values were passed to us | |
+ if (ScalingMultiplier != 0.0f && !bp) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Layer(width, height) { | |
this.width = width; | |
this.height = height; | |
this.canvas = document.createElement("canvas"); | |
this.context = this.canvas.getContext("2d"); | |
this.canvas.width = width; | |
this.canvas.height = height; | |
this.getCanvas = function() { return this.canvas; }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User@USER-PC /c/Repositories/Sniffs | |
$ WowPacketParser.exe ruby_sanctum.bin | |
Loading DB... | |
Connecting to MySQL server: Server=localhost;Port=3306;Username=root;Database=wpp;CharSet=utf8;ConnectionTimeout=5; | |
Finished loading DB in 00:00:00.324. | |
[1/1 ruby_sanctum.bin]: Reading packets... | |
[1/1 ruby_sanctum.bin]: Parsing 354083 packets. Assumed version V3_3_5a_12340 | |
Processing... 100% complete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
var Game = (function() { | |
var Game = function() { | |
return new Game.fn.init(); | |
}; | |
Game.fn = Game.prototype = { | |
constructor: Game, | |
isVerbose: function() { return this._verbose; }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
var Game = (function() { | |
var Game = function(domElem) { | |
var objInstance = new Game.fn.init(domElem); | |
// Append click handler | |
$(domElem).click(function(eventData) { | |
Game.fn.onClick(eventData.pageX, eventData.pageY, objInstance); | |
}); |
NewerOlder