Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[9442] Add dummy effect of spell 44454 and script effect of spell 44455
Signed-off-by: NoFantasy <nofantasy@nf.no>
- Loading branch information
NoFantasy
committed
Feb 24, 2010
1 parent
2376224
commit 3f98042
Showing
2 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#ifndef __REVISION_NR_H__ | ||
#define __REVISION_NR_H__ | ||
#define REVISION_NR "9441" | ||
#define REVISION_NR "9442" | ||
#endif // __REVISION_NR_H__ |
3f98042
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from where should be called spell 44456 in part of this script ? from EventAI ?
http://www.wowhead.com/?spell=44456
The Way to His Heart...: Summon Attracted Reef Bull - Summon (24804)
thank you
3f98042
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...no, honestly: read the code man, it's right there in front of you.
m_caster->CastSpell(pTarget, pSpell, true);
3f98042
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
real question more about dbc reading :i dont get how 44456 called from spell 44455 witch has scripteffect basepoint 44455 , is this basepoint +addition of EffectDieSide or EffectBaseDice ? indeed tested scripteffect works really nice.
anyway take it easy ;it may be a newbie question but dont need to be rude when ppl ask things nicely ^^
3f98042
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't add the emote ":)" which i should have done. Anyway, the answer to how spellId 44456 is obtained is within the calculateSimpleValue function itself.
3f98042
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, source code is most up-to-date documentation and your friend and often can answer to you more fast that online discussion:
3f98042
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haa here it is, i get it now, would never had find this //helpers part def alone honestly . ok thanks to both of you guys and ofc no hard feelings NoFantasy :)