Add function for SetObjectScale
Author: NoFantasy Source: Mangos
This commit is contained in:
1 parent
593774f9c5
commit
ab77e597b1
24 files changed
+34
-32
No files matched your search
@@ -949,7 +949,7 @@ public:
|
||||
if (target)
|
||||
{
|
||||
wpCreature->SetDisplayId(target->GetDisplayId());
|
||||
wpCreature->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5f);
|
||||
wpCreature->SetObjectScale(0.5f);
|
||||
wpCreature->SetLevel(point > STRONG_MAX_LEVEL ? STRONG_MAX_LEVEL : point);
|
||||
}
|
||||
}
|
||||
@@ -1003,7 +1003,7 @@ public:
|
||||
if (target)
|
||||
{
|
||||
creature->SetDisplayId(target->GetDisplayId());
|
||||
creature->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5f);
|
||||
creature->SetObjectScale(0.5f);
|
||||
}
|
||||
|
||||
return true;
|
||||
@@ -1052,7 +1052,7 @@ public:
|
||||
if (target)
|
||||
{
|
||||
creature->SetDisplayId(target->GetDisplayId());
|
||||
creature->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5f);
|
||||
creature->SetObjectScale(0.5f);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user