Scripts/BoT: make Twilight Rupture a bit more flexible by allowing to set the length of the fissure and reduced the step length at which the fissure grows
This commit is contained in:
1 parent
dcd5716ecb
commit
63dbbc3309
1 file changed
+2
-2
@@ -257,9 +257,9 @@ class spell_bot_twilight_rupture : public SpellScript
|
||||
float angleVariance = 0.15f;
|
||||
float currentAngle = caster->GetOrientation();
|
||||
bool left = true;
|
||||
for (uint8 i = 0; i < 60; ++i)
|
||||
for (int32 i = 0; i < GetEffectValue(); ++i)
|
||||
{
|
||||
float forward = 1.5f * i;
|
||||
float forward = 1.f * i;
|
||||
if (i >= 3 && !((i - 3) % 5))
|
||||
left = !left;
|
||||
|
||||
|
||||
Reference in new issue
Block a user