| Age | Commit message (Collapse) | Author |
|
implemented Condition System
all systems should work like before
after applying the sql converter you won't be able to apply any Updatepacks (<=up30) so do updates before this
this revesion is not threated as stable!
--HG--
branch : trunk
|
|
- Use pointers of most abstract classes possible where applicable.
- Don´t use dynamic_cast when casting possibility is already explicitly checked per typeid.
- Where applicable use the ToCreature() and ToPlayer() functions for typecasting.
- Fix functioning of SCRIPT_COMMAND_CAST_SPELL
- Fix possible crash in SCRIPT_COMMAND_KILL
- Always include script id in error messages.
- Added a few TODO comments.
These changesets were merged in from MaNGOS:
- [9576] Implement SCRIPT_COMMAND_CREATE_ITEM by NoFantasy
- [9577] Implement SCRIPT_COMMAND_DESPAWN_SELF by NoFantasy
- [9869] Extend SCRIPT_COMMAND_QUEST_EXPLORED to allow player<->player as
source/target by NoFantasy
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
NOTE: reload is limited to one creature at a time
Usage: .reload creature_template $entry
Warning: this is mainly for developers, reloading a creature can cause unexpected behaviors!!
--HG--
branch : trunk
|
|
Original patch by Qowyn
Adapted to trinity (and tested) by Durotar and Aokromes
--HG--
branch : trunk
|
|
(This should make Malcrom happy)
Fixes issue 1476. Fixes issues 1972. Fixes issue 430.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
case insensitive.
Fixes issue #307.
Credits to Loread
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
Fixes issue #299.
- In table GROUPS, since rev 7841, isRaid is used to store the groupType. The DB was not updated. this is now fixed.
- Fix isRaid set to 1 when group converted to raid (shall be the groupType).
- Fix isRaidGroup check as groupType is now a set of flags.
- Fix dungeon/raid check when difficulty change.
--HG--
branch : trunk
|
|
unbound player to parent-instance / homebind if not matching criterias)
Patch by Elron103 - closes issue #1323.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
original code by Vladimir (thanks mate)
Closes issue #1756
--HG--
branch : trunk
|
|
Original patch by hunuza, extended to whole code
Closses issue 1446
--HG--
branch : trunk
|
|
+ Code Style (for, if, while)
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
* Adds support for spelltarget-positions
* Uses areaname instead of zonename on hearthstone
Add homebind animation to player, with cast from innkeeper
--HG--
branch : trunk
|
|
patch by GriffonHeart), also code cleanups.
--HG--
branch : trunk
|
|
'item_instance'. Original patch by Vladimir.
--HG--
branch : trunk
|
|
3.3.3a. Patch by Shauren.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
* Removed unneeded bar loading code for trainers
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
TOM_RUS.
--HG--
branch : trunk
|
|
"!=" --> " != " (when needed)
" !=" --> " !="
"!= " --> "!= "
--HG--
branch : trunk
|
|
">=" --> " >= " (when needed)
" >=" --> " >="
">= " --> ">= "
"<=" --> " <= " (when needed)
" <=" --> " <="
"<= " --> "<= "
" ==" --> " =="
"== " --> "== "
--HG--
branch : trunk
|
|
"==" --> " == " (when needed)
--HG--
branch : trunk
|
|
"( " --> "("
" )" --> ")"
--HG--
branch : trunk
|
|
"if(" --> "if ("
--HG--
branch : trunk
|
|
"while(" --> "while ("
--HG--
branch : trunk
|
|
"for(" --> "for ("
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
* We will implement this in a generic way using the conditions system
--HG--
branch : trunk
|
|
percentage a target must be at before item use on item_required_target is allowed. This will allow better scripting of quest item use on some creatures.
--HG--
branch : trunk
|
|
with a C++ cast(reinterpret_cast) and with a type check(isSummon()).
This function is like ToPlayer(), ToTotem(), etc.
This commit is like ede831bdd6f0cff481acc33f269fa7f8c78befd4 / r7496:
http://code.google.com/p/trinitycore/source/detail?r=ede831bdd6f0cff481acc33f269fa7f8c78befd4
As a result, this commit has the advantages and the "disadvantages" too, like r7496.
Please try to be polite if this commit causes some crashes.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
transfer accesory list by pointer, make it constant
--HG--
branch : trunk
|
|
* This will reduce the size of the trainer / vendor tables a LOT.
* Current tables will continue to work as/is until the refs can be made.
* Huge thanks to XTElite1
* Credits for patch to Cycrow
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
resolution for some client crashes.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
* hg commit <filename> isn't enough to push one file
* also need hg push <filename>
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
* gossip / loot conditions
--HG--
branch : trunk
|