Skip to content

Commit

Permalink
Add new summoner spells
Browse files Browse the repository at this point in the history
  • Loading branch information
stelar7 committed May 1, 2024
1 parent 3305f9a commit 15f1048
Showing 1 changed file with 37 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,130 +10,134 @@ public enum SummonerSpellType implements CodedEnum
/**
* Used for bots that didn't know how to use summoners
*/
UNKNOWN(0, "UNKNOWN"),
UNKNOWN("UNKNOWN", 0),
/**
* Removes all disables and summoner spell debuffs affecting your champion and lowers the duration of incoming disables by 65% for 3 seconds.
*/
CLEANSE(1, "SummonerBoost"),
CLEANSE("SummonerBoost", 1),
/**
* After channeling for 3.5 seconds, teleports your champion to target allied structure, minion, or ward.
*/
TELEPORT(12, "SummonerTeleport"),
TELEPORT("SummonerTeleport", 12),
/**
* Quickly travel to the Poro King's side.
*/
TO_THE_KING(30, "SummonerPoroRecall"),
TO_THE_KING("SummonerPoroRecall", 30),
/**
* Ignites target enemy champion, dealing 70-410 true damage (depending on champion level) over 5 seconds, grants you vision of the target, and reduces healing effects on them for the duration.
*/
IGNITE(14, "SummonerDot"),
IGNITE("SummonerDot", 14),
/**
* Your champion can move through units and has 27% increased Movement Speed for 10 seconds
*/
GHOST(6, "SummonerHaste"),
GHOST("SummonerHaste", 6),
/**
* Throw a snowball in a straight line at your enemies. If it hits an enemy, they become marked and your champion can quickly travel to the marked target as a follow up.
*/
MARK(32, "SummonerSnowball"),
MARK("SummonerSnowball", 32),
/**
* Restores 90-345 Health (depending on champion level) and grants 30% Movement Speed for 1 second to you and target allied champion. This healing is halved for units recently affected by Summoner Heal.
*/
HEAL(7, "SummonerHeal"),
HEAL("SummonerHeal", 7),
/**
* Deals 390-1000 true damage (depending on champion level) to target epic or large monster or enemy minion.
*/
SMITE(11, "SummonerSmite"),
SMITE("SummonerSmite", 11),
/**
* Exhausts target enemy champion, reducing their Movement Speed and Attack Speed by 30%, their Armor and Magic Resist by 10, and their damage dealt by 40% for 2.5 seconds.
*/
EXHAUST(3, "SummonerExhaust"),
EXHAUST("SummonerExhaust", 3),
/**
* Throw a Poro at your enemies. If it hits, you can quickly travel to your target as a follow up.
*/
PORO_TOSS(31, "SummonerPoroThrow"),
PORO_TOSS("SummonerPoroThrow", 31),
/**
* Restores 40% of your champion's maximum Mana. Also restores allies for 40% of their maximum Mana
*/
CLARITY(13, "SummonerMana"),
CLARITY("SummonerMana", 13),
/**
* Reveals a small area of the map for your team for 5 seconds.
*/
CLAIRVOYANCE(2, "SummonerClairvoyance"),
CLAIRVOYANCE("SummonerClairvoyance", 2),
/**
* Shields your champion for 115-455 (depending on champion level) for 2 seconds.
*/
BARRIER(21, "SummonerBarrier"),
BARRIER("SummonerBarrier", 21),
/**
* Teleports your champion a short distance toward your cursor's location.
*/
FLASH(4, "SummonerFlash"),
FLASH("SummonerFlash", 4, 2202, 2203),
/**
* Allied Turret: Grants massive regeneration for 8 seconds. Enemy Turret: Reduces damage dealt by 80% for 8 seconds.
*/
GARRISON(17, "SummonerOdinGarrison"),
GARRISON("SummonerOdinGarrison", 17),
/**
* Instantly revives your champion at your team's Summoner Platform and increases their Movement Speed for a short duration.
*/
REVIVE(10, "SummonerRevive"),
REVIVE("SummonerRevive", 10),
/**
* In Nexus Siege, Summoner Spells are replaced with Siege Weapon Slots. Spend Crystal Shards to buy single-use Siege Weapons from the item shop, then use your Summoner Spell keys to activate them!
*/
NEXUS_SIEGE_1(33, "SiegeEmptySlot"),
NEXUS_SIEGE_1("SiegeEmptySlot", 33),
/**
* In Nexus Siege, Summoner Spells are replaced with Siege Weapon Slots. Spend Crystal Shards to buy single-use Siege Weapons from the item shop, then use your Summoner Spell keys to activate them!
*/
NEXUS_SIEGE_2(34, "SiegeEmptySlot"),
NEXUS_SIEGE_2("SiegeEmptySlot", 34),
/**
* Summoner spells are disabled in this mode.
*/
DARK_STAR_1(35, "Summoner_Empty"),
DARK_STAR_1("Summoner_Empty", 35),
/**
* Summoner spells are disabled in this mode.
*/
DARK_STAR_2(36, "Summoner_Empty"),
DARK_STAR_2("Summoner_Empty", 36),
/**
* It's a snowball! It's a Poro! It's...uh...one of those.
*/
SNOW_MARK(39, "SummonerMark"),
SNOW_MARK("SummonerMark", 39),
/**
* Temporarily shields 75-330 (depending on champion level) damage from your champion. After 2.5 seconds the shield expires and your champion is teleported to safety. Melee champions travel extra distance.
*/
BACKTRACK(5, "Summoner_Backtrack"),
BACKTRACK("Summoner_Backtrack", 5),
/**
* Revive a fallen friend by remaining next to them for 2 seconds. Exiting the area early does not consume your cooldown.
*/
RESUSCITATE(50, "SummonerTemp2"),
RESUSCITATE("SummonerTemp2", 50),
/**
* Your champion gains increased Movement Speed and can move through units for 10 seconds. Grants a maximum of 28-45% (depending on champion level) Movement Speed after accelerating for 2 seconds.
*/
GHOST_2(51, "Summoner_haste"),
GHOST_2("Summoner_haste", 51),
/**
* Dash through spacetime, becoming briefly untargetable and invulnerable as you rapidly move towards a location.
*/
WARP(52, "SummonerTemp1"),
WARP("SummonerTemp1", 52),
/**
* This slot will be replaced by another champion's ultimate selected at the start of the game. There will be 30 seconds to select an ultimate. Be prepared!
*/
ULTBOOK_1(54, "Summoner_Empty"),
ULTBOOK_1("Summoner_Empty", 54),
/**
* This slot will be replaced by another champion's ultimate selected at the start of the game. There will be 30 seconds to select an ultimate. Be prepared!
*/
AUTO_SMITE(55, "Summoner_EmptySmite"),
AUTO_SMITE("Summoner_EmptySmite", 55),
/**
* Gain a short burst of Move Speed, increased while running away from enemy champions.
*/
FLEE("Summoner_Flee", 2201),

;


private final Integer id;
private final Integer[] ids;
private final String apiName;

/**
* Instantiates a new summoner spell.
*
* @param id the id
* @param ids the id
*/
SummonerSpellType(final Integer id, final String name)
SummonerSpellType(final String name, final Integer... ids)
{
this.id = id;
this.ids = ids;
this.apiName = name;
}

Expand Down Expand Up @@ -221,7 +225,7 @@ public String prettyName()
*/
public Integer getValue()
{
return this.id;
return this.ids[0];
}

/**
Expand Down

0 comments on commit 15f1048

Please sign in to comment.