Jump to content

scorpion832

Member
  • Content count

    349
  • Joined

  • Last visited

About scorpion832

  • Rank
    Steel Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Honestly, I just want the file lol
  2. [quote name='officiallulzs3c']m8 have you never heard of godsend rsps ? it's legit the best rsps ever made, they've got like 2000000 legit members[/QUOTE] Need help to convert
  3. ahha nice, did you code most of this?
  4. 19, turning 20 next year ;o
  5. no, this is the actual quicksmash file, it's a different file...
  6. I think I got it now : (80-90%?) [MENTION=15855]Over[/MENTION]ride public boolean commenceSpecialAttack(Interaction interaction) { if (interaction.getAttribute().get("last_target")) { interaction.setDamage(Damage.getDamage(interaction.getSource(), interaction.getVictim(), CombatType.MELEE, MeleeFormulae.getDamage(interaction.getSource(), interaction.getVictim()))); interaction.getDamage().setMaximum(MeleeFormulae.getMeleeDamage(interaction.getSource(), 1.0)); if (interaction.getVictim().isPlayer()) { Entity target = (Entity) getAttribute().get("last_target"); interaction.setDeflected(interaction.getVictim().getPlayer().getPrayer().usingPrayer(1, 9)); } interaction.getSource().animate(ANIMATION); interaction.getSource().graphics(GRAPHICS); interaction.getSource().getPlayer().setSpecialAmount(interaction.getSource().getPlayer().getSpecialAmount() - 500); interaction.getVictim().animate(interaction.isDeflected() ? 12573 : interaction.getVictim().getDefenceAnimation()); if (interaction.isDeflected()) { interaction.getVictim().graphics(2230); } endSpecialAttack(interaction); return false; } }
  7. [MENTION=15855]Over[/MENTION]ride public boolean commenceSpecialAttack(Interaction interaction) { interaction.setDamage(Damage.getDamage(interaction.getSource(), interaction.getVictim(), CombatType.MELEE, MeleeFormulae.getDamage(interaction.getSource(), interaction.getVictim()))); interaction.getDamage().setMaximum(MeleeFormulae.getMeleeDamage(interaction.getSource(), 1.0)); if (interaction.getVictim().isPlayer()) { interaction.setDeflected(interaction.getVictim().getPlayer().getPrayer().usingPrayer(1, 9)); } interaction.getSource().animate(ANIMATION); interaction.getSource().graphics(GRAPHICS); interaction.getSource().getPlayer().setSpecialAmount(interaction.getSource().getPlayer().getSpecialAmount() - 500); interaction.getVictim().animate(interaction.isDeflected() ? 12573 : interaction.getVictim().getDefenceAnimation()); if (interaction.isDeflected()) { interaction.getVictim().graphics(2230); } endSpecialAttack(interaction); return false; } this is the quicksmash file, i think it needs some fixing for this to work... i will try to fix it
  8. Okay I got it Entity target = (Entity) getAttribute().get("last_target"); SpecialAttack spec = SpecialAttackContainer.get(player .getEquipment().getSlot(3)); if (spec instanceof QuickSmash) { if (player.getCombatExecutor().getVictim() == null || Math.floor(player.getLocation().distance( player.getCombatExecutor().getVictim() .getLocation())) > player.getCombatExecutor().getVictim().size()) { player.sendMessage("Warning: Since the maul's special is an instant attack, it will be wasted when used "); player.sendMessage("on a first strike."); player.reverseSpecialActive(); return; }
  9. if (spec instanceof QuickSmash) { if (player.getCombatExecutor().getVictim() == null || Math.floor(player.getLocation().distance( player.getCombatExecutor().getVictim() .getLocation())) > player.getCombatExecutor().getVictim().size()) { player.sendMessage("Warning: Since the maul's special is an instant attack, it will be wasted when used "); player.sendMessage("on a first strike."); player.reverseSpecialActive(); return; } made some modifications. -will make some more
  10. player.reverseSpecialActive(); SpecialAttack spec = SpecialAttackContainer.get(player .getEquipment().getSlot(3)); if (spec instanceof QuickSmash) { if (player.getCombatExecutor().getVictim() == null || Math.floor(player.getLocation().distance( player.getCombatExecutor().getVictim() .getLocation())) > 1) { player.reverseSpecialActive(); return; } Got this, is it good enough? I might modify it a little.
×