• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
Resource icon

Resource Custom Field Effects(deprecated) v1.0.6

Jangajinx

An Overly Ambitious Developer
Member
Joined
Apr 21, 2023
Posts
213
I don't have a plan to finish other field effects recently, cos I have a way more important thing in my real life.
and... maybe, I can't get u right.
u can just use my other plugin for single ability rather than field effect, or u can just simply combine them two.(two plugins together may conflict, untested)
Oh no worries, I might be able to figure it out. Probably just not there is why it doesn't call for a change in scene. I might expand upon your list of field effects later on when I have a steady development team. I understand completely with life and it always comes first. I wish you the best and I pray everything works out in your favor. Much love and appreciation to your work! :)
 

Penelope

Trainer
Member
Joined
Sep 15, 2023
Posts
87
I'm not sure if I made a mistake or it's just a bug but the effect of the battle terrain starts at the 2nd round.
please specify.

edited: I tested it in the vanilla, and the electric field effect started at the first turn when the switch 121 is on.
 
Last edited:

TurtTheTurtle

Trainer
Member
Joined
Jul 10, 2023
Posts
56
check setfield.rb somewhere using switches control field, u could find a "#xxx" that i commented, u can get field effect based on map ids.
im looking at it, and honestly have no clue how to even or how it even would work.
 

TurtTheTurtle

Trainer
Member
Joined
Jul 10, 2023
Posts
56
On the item effects, how would you get it to raise 2 separate stats twice because it doesn't seem to work as it only raises the first one
 

Penelope

Trainer
Member
Joined
Sep 15, 2023
Posts
87
On the item effects, how would you get it to raise 2 separate stats twice because it doesn't seem to work as it only raises the first one
Ruby:
Expand Collapse Copy
Battle::ItemEffects::TerrainStatBoost.add(:ELECTRICSEED,
  proc { |item, battler, battle|
    next false if ![:ElectricTerrain, :ElectricField].include?(battle.field.terrain)
    itemName = GameData::Item.get(item).name
    if battler.pbCanRaiseStatStage?(:DEFENSE, battler) || battler.pbCanRaiseStatStage?(:SPECIAL_DEFENSE, battler)
       battle.pbCommonAnimation("UseItem", battler)
       battler.pbRaiseStatStageByCause(:DEFENSE, 1, battler, itemName) if battler.pbCanRaiseStatStage?(:DEFENSE, battler)
       battler.pbRaiseStatStageByCause(:SPECIAL_DEFENSE, 1, battler, itemName) if battler.pbCanRaiseStatStage?(:SPECIAL_DEFENSE, battler)
    end
    if [:ElectricField].include?(battle.field.terrain)
    battle.pbDisplay(_INTL("{1} began charging power!", battler.pbThis))
    next battler.effects[PBEffects::Charge] = 2
    end
  }
)
this is not perfect, may have some troubles in certain cases.
 

TurtTheTurtle

Trainer
Member
Joined
Jul 10, 2023
Posts
56
Ok so how would you make it in a field where when a Pokémon Lets say Starmie is switched in and its ability Illuminate raises its special attack.
 

Penelope

Trainer
Member
Joined
Sep 15, 2023
Posts
87
Ok so how would you make it in a field where when a Pokémon Lets say Starmie is switched in and its ability Illuminate raises its special attack.
i havent done this function, coz these fields i preinstalled do not have this effect, this function will be available in a few days.
 

TurtTheTurtle

Trainer
Member
Joined
Jul 10, 2023
Posts
56
How would you do sub typings like for example surf gaining the electric type when used in electric terrain
 

Ryuushedo

Developer of Pokemon Lost World
Member
Joined
Jun 13, 2023
Posts
20
uhh maam, sorry that im a little bit dumb, but how do i start the terrain battle?
 

Tosuri

Rookie
Member
Joined
Feb 24, 2024
Posts
2
Hey there, I've tried using this plugin though I've had a notable issue, it appears the entire damage calc section of the Plugin is non functional. None of the fields or terrains change the damage dealt and don't play the displays. Are there any changes I can make to the code to have this work properly?
 
Back
Top