MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / ItemCustomBurn

Function ItemCustomBurn

TombEngine/Game/effects/item_fx.cpp:31–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 }
30
31 void ItemCustomBurn(ItemInfo* item, const Vector3& color1, const Vector3& color2, int timeout)
32 {
33 item->Effect.Type = EffectType::Custom;
34 item->Effect.Count = timeout;
35 item->Effect.LightColor = color1;
36 item->Effect.PrimaryEffectColor = color1;
37 item->Effect.SecondaryEffectColor = color2;
38 }
39
40 void ItemElectricBurn(ItemInfo* item, int timeout)
41 {

Callers 8

CollideFirePendulumFunction · 0.85
FireHeavyGuardRaygunFunction · 0.85
ControlGuardianFunction · 0.85
ControlEnemyMissileFunction · 0.85
BurnNearbyItemsFunction · 0.85
SethControlFunction · 0.85
UpdateSparksFunction · 0.85
SetCustomEffectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected