[SVN] Void damage type likely going to present issues
Posted: Mon Sep 10, 2012 12:50 am
+-- Temporal/Darkness damage
+newDamageType{
+ name = "void", type = "VOID", text_color = "#GREY#",
+ projector = function(src, x, y, type, dam)
+ DamageType:get(DamageType.TEMPORAL).projector(src, x, y, DamageType.TEMPORAL, dam / 2)
+ DamageType:get(DamageType.PHYSICAL).projector(src, x, y, DamageType.DARKNESS, dam / 2)
+ end,
+}
+
The "PHYSICAL" should be "TEMPORAL", I take it.
+newDamageType{
+ name = "void", type = "VOID", text_color = "#GREY#",
+ projector = function(src, x, y, type, dam)
+ DamageType:get(DamageType.TEMPORAL).projector(src, x, y, DamageType.TEMPORAL, dam / 2)
+ DamageType:get(DamageType.PHYSICAL).projector(src, x, y, DamageType.DARKNESS, dam / 2)
+ end,
+}
+
The "PHYSICAL" should be "TEMPORAL", I take it.
