Skip to content

Commit

Permalink
Core/Scripts: Fixed Thrall's weapon and shield models in Old Hillsbra…
Browse files Browse the repository at this point in the history
…d Foothills.

closes #3904

Signed-off-by: Subv <s.v.h21@hotmail.com>
  • Loading branch information
Subv committed Feb 20, 2012
1 parent 355fe08 commit c6f4ab1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/server/game/Conditions/ConditionMgr.cpp
Expand Up @@ -301,7 +301,6 @@ uint32 Condition::GetMaxAvailableConditionTargets()
case CONDITION_SOURCE_TYPE_VEHICLE_SPELL:
case CONDITION_SOURCE_TYPE_GOSSIP_MENU:
case CONDITION_SOURCE_TYPE_GOSSIP_MENU_OPTION:
return 2;
case CONDITION_SOURCE_TYPE_SMART_EVENT:
return 2;
default:
Expand Down
Expand Up @@ -139,9 +139,9 @@ class npc_erozion : public CreatureScript
#define SPEED_RUN (1.0f)
#define SPEED_MOUNT (1.6f)

#define THRALL_WEAPON_MODEL 22106
#define THRALL_WEAPON_ITEM 927
#define THRALL_WEAPON_INFO 218169346
#define THRALL_SHIELD_MODEL 18662
#define THRALL_SHIELD_ITEM 2129
#define THRALL_SHIELD_INFO 234948100
#define THRALL_MODEL_UNEQUIPPED 17292
#define THRALL_MODEL_EQUIPPED 18165
Expand Down Expand Up @@ -309,10 +309,10 @@ class npc_thrall_old_hillsbrad : public CreatureScript
break;
case 9:
DoScriptText(SAY_TH_ARMORY, me);
me->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID, THRALL_WEAPON_MODEL);
me->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID, THRALL_WEAPON_ITEM);
//me->SetUInt32Value(UNIT_VIRTUAL_ITEM_INFO, THRALL_WEAPON_INFO);
//me->SetUInt32Value(UNIT_VIRTUAL_ITEM_INFO+1, 781);
me->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID+1, THRALL_SHIELD_MODEL);
me->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID+1, THRALL_SHIELD_ITEM);
//me->SetUInt32Value(UNIT_VIRTUAL_ITEM_INFO+2, THRALL_SHIELD_INFO);
//me->SetUInt32Value(UNIT_VIRTUAL_ITEM_INFO+3, 1038);
break;
Expand Down

2 comments on commit c6f4ab1

@cezeta
Copy link

@cezeta cezeta commented on c6f4ab1 Feb 20, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, could you also fix Instructor's Razuvious spell Jagged Knife? He throws it, but it has no texture, there is just a white-blue cube flying to the targeted player

@Pesthuf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maiev in the Illidan Encounter has the same problem with her Fan of Knives I think.

Please sign in to comment.