Fun testing stuff
Added some basic fire effect stuff to test how well the system works. So far so good!
This commit is contained in:
parent
dc775435bf
commit
091bb3db3f
13 changed files with 131 additions and 18 deletions
|
@ -12,6 +12,7 @@ public abstract class SpellEffect
|
|||
protected int modifierState;
|
||||
protected int powerEnhancement;
|
||||
protected int costEnhancement;
|
||||
protected int potencyEnhancement;
|
||||
|
||||
public SpellEffect()
|
||||
{
|
||||
|
@ -28,6 +29,7 @@ public abstract class SpellEffect
|
|||
{
|
||||
case SpellEnhancement.POWER: this.powerEnhancement++; break;
|
||||
case SpellEnhancement.EFFICIENCY: this.costEnhancement++; break;
|
||||
case SpellEnhancement.POTENCY: this.potencyEnhancement++; break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -44,6 +46,14 @@ public abstract class SpellEffect
|
|||
{
|
||||
this.modifyProjectileParadigm((SpellParadigmProjectile)parad);
|
||||
}
|
||||
if(parad instanceof SpellParadigmSelf)
|
||||
{
|
||||
this.modifySelfParadigm((SpellParadigmSelf)parad);
|
||||
}
|
||||
if(parad instanceof SpellParadigmMelee)
|
||||
{
|
||||
this.modifyMeleeParadigm((SpellParadigmMelee)parad);
|
||||
}
|
||||
}
|
||||
|
||||
public void modifyProjectileParadigm(SpellParadigmProjectile parad)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue