Add potency modifier support for forest of thorns

This commit is contained in:
Electroblob77
2020-06-19 21:03:35 +01:00
parent 9936388600
commit 3a5a97c6b9
3 changed files with 10 additions and 4 deletions
@@ -88,9 +88,9 @@ public class ForestOfThorns extends Spell {
((TileEntityThorns)tileentity).setLifetime((int)(getProperty(DURATION).floatValue()
* modifiers.get(WizardryItems.duration_upgrade)));
if(caster != null){
((TileEntityThorns)tileentity).setCaster(caster);
}
if(caster != null)((TileEntityThorns)tileentity).setCaster(caster);
((TileEntityThorns)tileentity).damageMultiplier = modifiers.get(SpellModifiers.POTENCY);
((TileEntityThorns)tileentity).sync();
}