Skip to content

Commit

Permalink
Nerf ElectroBot
Browse files Browse the repository at this point in the history
ElectroCharge duration 2.8 -> 2.1
Energize heal per second 33.3 -> 20.3
  • Loading branch information
William Linna committed Dec 14, 2016
1 parent 6a91178 commit 1f92ffc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/arkhados/spell/spells/electrobot/ElectroCharge.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static ElectroCharge create() {
final ElectroCharge spell = new ElectroCharge("Electro Charge",
cooldown, range, castTime);
final SpeedBuff.MyBuilder speedBuilder
= new SpeedBuff.MyBuilder(0.6f, 0, 2.8f);
= new SpeedBuff.MyBuilder(0.6f, 0, 2.1f);
speedBuilder.setTypeId(BuffTypeIds.ELECTRO_CHARGE);

spell.castSpellActionBuilder = (Node caster, Vector3f vec) -> {
Expand All @@ -71,15 +71,15 @@ public static ElectroCharge create() {
ghost.setCollisionGroup(CollisionGroups.NONE);
ghost.setCollideWithGroups(CollisionGroups.CHARACTERS);
caster.addControl(ghost);
cPhysics.getPhysicsSpace().add(ghost);

PhysicsSpace space = cPhysics.getPhysicsSpace();
space.add(ghost);

ElectroChargeCollisionHandler collisionHandler
= new ElectroChargeCollisionHandler(ghost);
cPhysics.getPhysicsSpace().addCollisionListener(collisionHandler);

speedBuilder.addEndListenerBuilder(new Predefined(() -> {
end(caster, cPhysics.getPhysicsSpace(),
collisionHandler, ghost);
end(caster, space, collisionHandler, ghost);
}));

return buffAction;
Expand Down
2 changes: 1 addition & 1 deletion src/arkhados/spell/spells/electrobot/Energize.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public AFinish(CAreaEffect cAreaEffect, Node node, float remainTime) {
@Override
public boolean update(float tpf) {
cAreaEffect.addEnterBuff(
new HealOverTimeBuff.MyBuilder(3f).healPerSec(33.3f));
new HealOverTimeBuff.MyBuilder(3f).healPerSec(20.3f));
cAreaEffect.addEnterBuff(new SpeedBuff.MyBuilder(0.33f, 0f, 3f));
node.addControl(new CTimedExistence(remainTime, true));
return false;
Expand Down

0 comments on commit 1f92ffc

Please sign in to comment.