Skip to content

Commit

Permalink
Patch 1.2.1 (#83)
Browse files Browse the repository at this point in the history
* preliminary 1.2.1 changelog

* TPP event rerun (#84)

* tpp event config

* buffs

* buff spawning

* update changelog
  • Loading branch information
ewei068 authored Feb 14, 2025
1 parent 45322e6 commit 37ea65e
Show file tree
Hide file tree
Showing 7 changed files with 211 additions and 156 deletions.
8 changes: 8 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
- Stretch: Quests (Achievements)
- Stretch: Ability slots

### 1.2.1 Twitch Plays Pokemon (Re-Run)

- Twitch Plays Pokemon Re-run: Celebrating Twitch Plays Pokemon Anniversary
- Catch limited time TPP-inspired Pokemon in `/gacha`
- Play limited time `/pve` and `/dungeons`
- Buffed AA-j and AIR
- (Experimental) Buffed the average spawn delay 2hrs -> 1hr

## 1.2.0 Gen 3 Wrap-Up (Aqua vs. Magma) (2/1)

- **Gen 3 wrap-up update**
Expand Down
16 changes: 14 additions & 2 deletions src/config/battleConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -6275,7 +6275,7 @@ const moveConfig = Object.freeze({
tier: moveTiers.ULTIMATE,
damageType: damageTypes.OTHER,
description:
"The user uses all available HM moves against the target. If the HM move is on cooldown, reset the cooldown instead of using the move.",
"The user sharply raises its attacking stats for 1 turn. The user then uses all available HM moves against the target. If the HM move is on cooldown, reset the cooldown instead of using the move.",
},
m20003: {
name: "Rocket Thievery",
Expand Down Expand Up @@ -11683,6 +11683,10 @@ const moveExecutes = {
m20002(battle, source, _primaryTarget, allTargets, _missedTargets) {
const moveId = "m20002";
const moveData = getMove(moveId);
// sharply boost atk and spa
source.applyEffect("greaterAtkUp", 3, source);
source.applyEffect("greaterSpaUp", 3, source);

for (const target of allTargets) {
// use all HM moves
const hmMoveIds = ["m57", "m70", "m127", "m249"];
Expand Down Expand Up @@ -15730,7 +15734,7 @@ const abilityConfig = Object.freeze({
20007: {
name: "Bloody Sunday",
description:
"Whenever an ally Pokemon faints, increase the user's combat readiness to 100%.",
"Whenever an ally Pokemon faints, increase the user's combat readiness to 100% and heal 10% HP.",
abilityAdd(battle, _source, target) {
const listener = {
initialArgs: {
Expand All @@ -15749,6 +15753,14 @@ const abilityConfig = Object.freeze({
`${targetPokemon.name} has been sacrificed to ${initialArgs.pokemon.name}'s Bloody Sunday!`
);
initialArgs.pokemon.boostCombatReadiness(initialArgs.pokemon, 100);
initialArgs.pokemon.giveHeal(
Math.floor(initialArgs.pokemon.maxHp * 0.1),
initialArgs.pokemon,
{
type: "ability",
id: "20007",
}
);
}
},
};
Expand Down
1 change: 1 addition & 0 deletions src/config/commandConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,7 @@ const commandConfigRaw = {
"palmer",
"professorWillow",
"butler",
"tppRed",
],
},
difficulty: {
Expand Down
12 changes: 12 additions & 0 deletions src/config/gachaConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,18 @@ const bannerTypeConfig = Object.freeze({
* @type {Array<BannerData>}
*/
const bannerConfigRaw = [
{
bannerType: bannerTypes.SPECIAL,
name: "[EVENT] Twitch Plays Pokemon Anniversary",
description:
"The Twitch Plays Pokemon banner is back for its anniversary! Pull to get the limited-time iconic Pokemon from the original Twitch Plays Pokemon Red! For more information, use `/events`.",
rateUp: () => ({
[rarities.LEGENDARY]: ["139-1", "145-1", "136-1"],
[rarities.EPIC]: ["18-1", "34-1", "49-1", "131-1"],
}),
image:
"https://raw.githubusercontent.com/ewei068/pokestar/main/media/images/events/pokestar-tpp-banner.png",
},
{
bannerType: bannerTypes.SPECIAL,
name: "[EVENT] Team Aqua Banner",
Expand Down
21 changes: 21 additions & 0 deletions src/config/helpConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,21 @@ The Twitch Plays Pokemon mini-event has arrived! Including new PvE content and l
* Bloody Sunday Art: https://imgur.com/70oeGPX
`;

const TPP_RERUN_DESCRIPTION = `🎮**Twitch Plays Pokemon (Re-run)**🎮
To celebrate the Twitch Plays Pokemon Anniversary, the Twitch Plays Pokemon mini-event has returned! Including new PvE content and limited custom Pokemon!
🧢 **Twitch Plays Red:** Fight the limited-time event trainer Twitch Plays Red! Defeat him every day to get 2 free <:greatball:1100296107759779840> Greatballs! Use \`/pve tppRed\` to challenge him!
🖥️ **Bloody Sunday:** Re-live the historic Bloody Sunday with the new limited-time dungeon, giving 7 of each equipment shards! Use \`/dungeons\` to challenge it!
<:lordhelix:1114224346873991268> **Event Pokemon:** Powerful custom event Pokemon from Twitch Plays Pokemon are now available for a limited time! Use \`/gacha\` to try your luck!
🖌️ **Art Credits**:
* Shiny Event Pokemon Sprites: [hamigakimomo](https://hamigakimomo.tumblr.com/post/77911455524/i-decided-to-make-custom-rb-sprites-for-the)
* Bloody Sunday Art: https://imgur.com/70oeGPX
`;

const ROCKET_DESCRIPTION = `🚀**Team Rocket Takeover**🚀
As we wrap up Gen 1, Team Rocket has taken over Pokestar! Defeat special stages, collect limited Pokemon, and catch the Mythical Mew!
Expand Down Expand Up @@ -158,6 +173,12 @@ Team Aqua and Team Magma are clashing for control of the climate in Pokestar!
* @type {EventData[]}
*/
const gameEventConfig = [
{
name: "Twitch Plays Pokemon (Re-run)",
description: TPP_DESCRIPTION,
image:
"https://raw.githubusercontent.com/ewei068/pokestar/main/media/images/events/pokestar-tpp-banner.png",
},
{
name: "Aqua vs Magma",
description: AQUA_VS_MAGMA_DESCRIPTION,
Expand Down
Loading

0 comments on commit 37ea65e

Please sign in to comment.