We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91038de commit 594c35eCopy full SHA for 594c35e
methods/TrinityCore/PlayerMethods.h
@@ -19,13 +19,15 @@
19
namespace LuaPlayer
20
{
21
/**
22
- * Returns 'true' if the [Player] can Titan Grip, 'false' otherwise.
23
- *
+ * Returns 'true' if the [Player] can Titan Grip the specific [Item], 'false' otherwise.
+ * @param [Item] item : an instance of an item
24
* @return bool canTitanGrip
25
*/
26
int CanTitanGrip(Eluna* E, Player* player)
27
28
- E->Push(player->CanTitanGrip());
+ Item* item = E->CHECKOBJ<Item>(2);
29
+
30
+ E->Push(player->CanTitanGrip(item));
31
return 1;
32
}
33
0 commit comments