summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/Misc.c4d
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s/Misc.c4d')
-rw-r--r--TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/CrystalSpikes.c4d/Script.c2
-rw-r--r--TemplePushing.c4s/Misc.c4d/SpawnPointSpawner.c4d/SpawnPoint.c4d/Script.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/CrystalSpikes.c4d/Script.c b/TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/CrystalSpikes.c4d/Script.c
index 1da9bb2..40c910d 100644
--- a/TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/CrystalSpikes.c4d/Script.c
+++ b/TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/CrystalSpikes.c4d/Script.c
@@ -101,5 +101,5 @@ protected func PlaceCrystal(int startx, int starty, object pCaster)
}
public func GetSpellClass(object pMage) { return(EART); }
-public func GetSpellCombo(pMage) { return ("444"); } // (1: Backward; 2: Down; 3: Forward; 4: Throw; 5: Jump; 6: Dig)
+public func GetSpellCombo(pMage) { return ("244"); } // (1: Backward; 2: Down; 3: Forward; 4: Throw; 5: Jump; 6: Dig)
diff --git a/TemplePushing.c4s/Misc.c4d/SpawnPointSpawner.c4d/SpawnPoint.c4d/Script.c b/TemplePushing.c4s/Misc.c4d/SpawnPointSpawner.c4d/SpawnPoint.c4d/Script.c
index def8ef0..dc358a5 100644
--- a/TemplePushing.c4s/Misc.c4d/SpawnPointSpawner.c4d/SpawnPoint.c4d/Script.c
+++ b/TemplePushing.c4s/Misc.c4d/SpawnPointSpawner.c4d/SpawnPoint.c4d/Script.c
@@ -13,8 +13,9 @@ public func Enable(object spawner)
private func SpawnObject()
{
- CreateContents(spawner->GetRandomDefinition());
+ var obj = CreateContents(spawner->GetRandomDefinition());
SetGraphics(0, 0, Contents()->GetID(), GFX_Overlay, GFXOV_MODE_Base);
+ SetClrModulation(obj->GetClrModulation() || RGB(255, 255, 255), this, GFX_Overlay);
SetObjDrawTransform(1000, 0, 0, 0, 1000, -5000, 0, 1);
}
@@ -49,7 +50,7 @@ protected func RejectEntrance(object container)
if (Contents()) return true;
container->Sound("Grab", false, 0, 0, GetOwner(container) + 1);
-
+
SetGraphics(0, 0, 0, GFX_Overlay, GFXOV_MODE_Base);
framesUntilRespawn = spawner->GetSpawnInterval();