Bending Ability request

Discussion in 'Plugin Development' started by 18jester81, Aug 9, 2014.

?

will you help

  1. yes

    1 vote(s)
    50.0%
  2. no

    1 vote(s)
    50.0%
Thread Status:
Not open for further replies.
  1. Offline

    18jester81

    i suck at coding i spent the past 3 days trying to make an add on ability for project korra so i was wondering if someone can make it for me.

    i got this api from their forms but i need help making the bending part

    package com.projectkorra.lavablast.Lavablast;

    import com.projectkorra.ProjectKorra.Element;
    import com.projectkorra.ProjectKorra.Ability.AbilityModule;

    public class TestAbility extends AbilityModule {

    /*
    * This registers the ability with the AbilityModule class. It is important that the string is EXACTLY how you want the ability to appear in-game.
    */
    public Lavablast() {
    super("Lavablast");
    }

    /*
    * This returns the Description that will be seen when someone does /bending help [YourAbilityName]
    */
    public String getDescription() {
    return "Lavablast sends a blast of lava towards a player and it does 2 hearts and burns them.";
    }

    /*
    * This returns the name of the Author of the Ability. Use your own username if it is your own project.
    * This will be used for debugging.
    */

    public String getAuthor() {
    return "who ever codes the add on";
    }

    /*
    * Much like the getAuthor(), mainly used for Debugging. Also allows you to sort of set a release pattern for your ability.
    */

    public String getVersion() {
    return "v1.3.0";
    }

    /*
    * Returns the element as a string. It is important you use the Element class here. If you do not specify an element, the ability will NOT load properly.
    */

    public String getElement() {
    return Element.Earth.toString();
    }

    /*
    * This just checks whether or not it is a sneak ability. Reason is, some other abilities wont work if you are sneaking, so this is our simple check for it.
    */
    public boolean isShiftAbility() {
    return true;
    }

    /*
    * This method is ran each and every time the ability loads. So if you need to register any events, schedule any tasks, this is where you do it.
    */
    public void onThisLoad() {

    }

    /*
    * Stops any progressing Bending.
    */
    public void stop() {

    }
    }

    what i want it to do is to do exactly the same thing as water manipulation except with lava also instead of a plugin.yml it has to be name path.yml and inside the path.yml this has to be placed: main-class: com.projectkorra.abilities.lavablast.Lavablast
    if you succeed then ill op you on my server and name official ability maker
     
  2. Offline

    JaguarJo Retired Staff

    Moved thread to Plugin Development since it seems more like you just want someone to help you get your code working, rather than to make the whole thing from scratch for you like the Plugin Requests section does.
     
  3. Offline

    Gamecube762

    18jester81 Please use the [CODE][/CODE] or the [syntax=java][/syntax] tags for posting your code, otherwise it will be hard for us to read it.
     
  4. Offline

    CPUSKILLZ

  5. Offline

    jacklin213

    :p glad to see people getting involved with ProjectKorra :)
     
    CPUSKILLZ likes this.
Thread Status:
Not open for further replies.

Share This Page