mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-08 03:28:03 +03:00
fixed shockwave stuff and made effect lightning as int
This commit is contained in:
parent
e794ebb3f0
commit
c156f45a63
17 changed files with 74 additions and 76 deletions
|
@ -707,11 +707,11 @@ void Moveable::SetCustomEffect(EffectType effectType, ScriptColor const& col1, S
|
|||
switch (effectType)
|
||||
{
|
||||
case EffectType::MagicFire:
|
||||
ItemMagicBurn(m_item, Vector3(col1.GetR(), col1.GetG(), col1.GetB()), Vector3(col2.GetR(), col2.GetG(), col2.GetB()), realTimeout);
|
||||
ItemMagicBurn(m_item, col1, col2, realTimeout);
|
||||
break;
|
||||
|
||||
case EffectType::ColoredFire:
|
||||
ItemColorBurn(m_item, Vector3(col1.GetR(), col1.GetG(), col1.GetB()), Vector3(col2.GetR(), col2.GetG(), col2.GetB()), realTimeout);
|
||||
ItemColorBurn(m_item, col1, col2, realTimeout);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue