Jump to content

Search the Community

Showing results for tags 'custom formula'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Central
    • Introductions & Farewells
    • Forum Announcements
    • Forum Feedback and Support
    • The Competition Zone
  • The Developer's Corner
    • Theory and Development
    • Recruitment
  • Game Development
    • Editor Support and Discussion
    • Programming
    • Tutorials
    • Workshop
  • Game Production
    • Games in Progress
    • Completed Games
    • Game Reviews
    • Archived Games -Projects that have been inactive for 12 months are stored here.
  • Resource Center
    • 2D Resources
    • 3D Models
    • RPG Maker
    • Audio
    • Resource Market
    • Developing Tools
  • Creative Area
    • Artwork Gallery
    • Music Room
    • Literature Library
    • Animation Theater
  • Off-topic
    • General Discussion
    • Role Playing And Forum Games

Blogs

  • Loki's Blog
  • Kirin's Blog
  • Cremno's Blog
  • Nelneo's Blog
  • silversatyr's Blog
  • Virtuous Blade Development Blog :: DISCONTINUED
  • Lone Barrel Works
  • Intrigue of the Crystals Development Blog
  • Princess Project
  • Endafy's Corner
  • Knightmare's Blog
  • The Septrian Voyager
  • Animated Battlers
  • Pikalyze's Apple Tree
  • Marshzd Film to RPG Blog
  • Guardian Spirits Status Blog
  • Shinsei Stuff
  • æ�±æ´‹ã‚¢ãƒˆãƒªã‚¨
  • Eve of Perception [RPGMakerMV] Devlog
  • Blood Boundary Development
  • Little Girl That Could dev blog
  • Alice - Human Sacrifice Blog
  • Brualrosian Empire
  • Bashar's Blog
  • Shin RPG Maker
  • ShinGamix's Ace.net Only Blog
  • UnDead Studios
  • tillypope's Blog
  • whitedahlia
  • Rusted Souls Project Blog
  • Somnium: Burning Ember Development Blog.
  • E. Rin's Blog
  • Mako Star's Blog
  • A Descent into the Maelström
  • Aarowaim's Blog
  • CubixPG's
  • Pokemon Planet Project
  • Uprising:The Blog
  • COOL TELOCH BLOG
  • Politics: The game project blog
  • MonDez's Custom Resources
  • BlueDragonGamers
  • CT Bolt's Blog
  • Cid Gaius' Blog
  • Cidiomar's Blog
  • monster311
  • Velvela Jade
  • Dark Horseman
  • Pocketmouse, Project: Blog
  • Looking for Artist
  • COVB Custom
  • Ravenith's Laboratory
  • The Ninth Life Gaming
  • Daniel Tom's Blog
  • Daniel Tom's Blog
  • Level 99
  • Blood Shadows Blog
  • PK8's Blog
  • It's Acezon
  • Saphire Action Battle System IV how do you make the player Die?!
  • jomarcenter gamer news blog
  • Random Designs~
  • Mini Game Ideas
  • A Mouthful Of Maus
  • Mundane's Blog
  • The Guardian's Wicked Cool Stuffs!
  • Script Request
  • Ultima - Virtuous
  • Deadwater's Blog
  • Alendalin RPG
  • Cait's Blog
  • Acer K Productions
  • Hyde's Development Journal
  • DWM2 Development Journal
  • ~Hikari No Uta~
  • => proceed to recycle bin
  • The8th's Journal
  • Face Emotions
  • Request on Tutorials Anyone?
  • estriole's Blog
  • NecromireGames Blog
  • Toheka's blog
  • Bluestar Blog
  • Upcoming Tutorials
  • Misadventures
  • Resource Blog
  • LunaWing118's Blog
  • My Game
  • A Masterpiece In Development
  • N.O.I.M.
  • Hey PL! (Passive Lion's Official VX Ace Blog)
  • RagingHobo's Blog
  • Arctic Fox's Blog
  • Yin's Blog
  • TDW's Blog
  • pxlgraphic- Official Blog
  • The Making of Zendir
  • Rowen's Blog: Okami project
  • Vintaisa:School magic
  • Elixia's Memoir Chamber
  • Progress Project
  • Realms of Eternity
  • Infernal Cauldron of Miscellany
  • The Making of Zendir 2
  • Hortator's Blog
  • Project Shotgun
  • kelchw2323's Blog
  • kelchw2323's Blog
  • Aesorian's Thingymajig
  • NewMarker's Blog
  • Dezz's Stuff!
  • Pixel Art
  • KilloZapit's Magical Fairyland
  • Zendir 1: The Director's Cut
  • Bá´€ssÒ“ire [â—£ â—¢]'s Blog
  • My sweet abyss
  • RuinLight's Blog
  • ohheart's Blog
  • Indy Star: Dev Log
  • Logic's Blog
  • Mark Juner
  • LunaWing118's Blog
  • The fall of equestria
  • chronicles of a gamer
  • Replication/Tutorials
  • King's & Heroes Dev Blog
  • Whistler Wolf's Blog
  • kaz's Blog
  • China Rgss Scripts
  • Draciarch Games' Blog
  • Modern's Goal
  • Z3R0's Blog
  • 7-continents worldwide travel
  • "The World After" in the Making.
  • DarthVollis' Blog
  • SMC Development Blog
  • ~Choco's Blog~
  • Thoughts
  • The Four Stones
  • The Zen
  • Maindric's Blog
  • icon's Unusual Ideas
  • kayden997 Gaming Moment
  • Jonnie's Blog!
  • RuinLight Blog
  • Wren's Blog
  • Axio Chronicles: Progress Report
  • Liphidain - The Record
  • Nightgazer Starlight's Blog
  • Thebigzumawinz's Blog
  • Orrgar's RPG Blog
  • SchnitzelLion's Blog/etc
  • SirBilly's Blog
  • The Guardian's "Project RPG"
  • Alufey's Blog
  • Zanara's Blog
  • Legend of Erthia - The Etheral Gate
  • Naruto RPG Blog
  • GreenSheepGo's Blog
  • siChainlinks' Blog
  • Haunted Robots Blog
  • A blog emerges.
  • HimeWorks
  • cHAOScythe's Blog
  • Aetra: The Blog
  • Soul of Sul
  • Tutorial Drafts
  • Tigerbite's Blog
  • I need a little help... (o.\\)
  • Project A
  • The Shadows of Splendor
  • Deej's Blog
  • From the studio...
  • Vos: Demon Eater
  • RuinLight's Blog
  • Project Pepé
  • Project: █████▌
  • LunaticZio's Blog
  • Vauge
  • ThunerzIX's Blog
  • Smokey's Blog
  • AlexanderK's Blog
  • Magic Warrior
  • VanillaCube's Blog
  • Eventing 101
  • wirt2650's Blog
  • Rabie's Vaccine
  • Ninja Wolf Blog
  • Grotaiche's Blog
  • Writing Competition
  • OtaEnt Studios
  • Totori's Blog
  • The Kokonut Tree
  • Universecoffee's Blog
  • Universecoffee's Blog
  • Judgement Journey : Develop Blog
  • OmegaDSX's Blog
  • CharmingDominion's Blog
  • Jay Heartay's Blog
  • Arfax Games Dev-Blog
  • Pandemonuim the game
  • Remains: Dream Paradise
  • Just Starting Out
  • dev[otion]
  • Taffer's Blog
  • Soft-Square's
  • OmegaDSX's Off site blog
  • Story Review
  • My Ideas
  • EVENavesT
  • Elementstormrpgteam's Blog
  • RavenTheOld's Blog
  • Unnamed Game Dev
  • The Arbitrators Series
  • Medicine Man
  • Laura Yeah Right's Blog
  • Stradar's Blog
  • Silvershore
  • Jonath4nC's Blog
  • xMikachux's Stuff
  • Cecillia's Blog
  • Liphidain Development Blog
  • Pixelated
  • animeforfun's Blog
  • Purogurama Project
  • Flora Development
  • animeforfun's Blog
  • anna trinh's Blog
  • DragonWing Studios Blog
  • Tangential
  • P3RR1N's Blog
  • Necromedes' Blog
  • Soul Attraction
  • Tsarmina's Ramblings
  • lastonealive111's Blog
  • privateer's Blog
  • Warhamme40k Extermination
  • Dead Island Reincarnate part 1 review
  • Murgianswordsman's Blog
  • Jungernaut's Status Updates
  • Dead island Reincarnate info
  • KevinFrost's Blog
  • The Ensnarer
  • InfectedChild's Blog
  • Cupcake293's Blog
  • Choco's Dev Blog
  • Something Witty
  • t h e j a y s t u d i o's Blog
  • Zeth-Almer's Blog
  • Blindga's Lounge
  • Yenok's Blog
  • Eroha Maximus Development Blog
  • General Douchebaggery
  • My RPG progress blog
  • Master of The Forge - Development Blog
  • Draaloff - a small artwork collection
  • Update Blog
  • Cazziuzz' Blog
  • Personal blog
  • Ramblings of a writer
  • Ocedic's Blog
  • Gump's Dev Blog
  • smashdaddy's Blog
  • Biwy's Scripts
  • Ooooh! A Blog!~
  • So yea...
  • Cakes Notebook
  • Questions about my game
  • Flaming Teddy Productions
  • JamTam Universe
  • Tales of Mysteania DEMO
  • Near Misses of the Mundane Sort
  • Patch game title WIP
  • Tales of Time
  • Is anyone willing to assist me?
  • EraYachi's ...*sigh*..."Blog"
  • Help and Advice Requested
  • Fallen Temple
  • QuizicalGin's Blog
  • Ace Academy in Action
  • Fairy, Fairy How Contrary
  • Post-apocalytpic Simulation
  • Tweaksource's Blog
  • McCrumple's Blog
  • Utopia Software
  • gaixareku's Blog
  • DH2 Productions' Blog
  • Palladinthug's Blog
  • magicmetal's life
  • AlliedG's Blog
  • JStewartMusic Blog
  • Attack on Diary
  • Jeff-Andonuts PLAYS SOME RPGMaker VX Ace GAMES!
  • The Thoughts of a Squirrel King
  • Kamalot_INC Presents
  • Crazy Lady with a Hammer!
  • Question About Damage Formulas
  • Wow, such blog!
  • Phantom Antiquary
  • My Game Days
  • ShadowSphere Entertainment
  • Quick Question with Victor's Battle System
  • OFFICAL HIREING LIST
  • UnDead Studios Archive
  • Big project, I need help
  • Welcome to Entropy
  • Tactical Game System
  • Under The Name Sanders
  • Otterlicious
  • ScottofNorth's RPG Journal
  • LukeRiley's Project:
  • DiaWulf here~
  • A Spark of Inspiration
  • Downwinds' Blog
  • Arctic Thunder Crunch
  • luwehazcu's Blog
  • Fake but real
  • Allusion's Blog
  • Preparing For Massive Crowdfunding
  • nicoleanderson's Blog
  • Light and the Dark, A Journal
  • Kuronekox's Blog
  • Tris Blog
  • Omniblacklight's Blog
  • Theolized Stuffs
  • Blood Heart Redemption Dev Blog
  • Sug's Blog
  • GameMaking Blogger TheAqib
  • An artist's scattered thoughts
  • CloudTheWolf's Blog
  • Malagar's RPG Dev Diary
  • PoorCollegeGuy's Blog
  • nanokan's Blog
  • Movie Review Blog
  • Minerva's Touhou Diary
  • GameCreations' Blog
  • insomnioid
  • Johnny's Corner
  • Rush2112's Blog
  • Cat`s and Lolipops
  • The Rock Music Blog
  • New Artwork!! :D
  • Wolf Engine
  • Ultim's Thoughts
  • NightWolf's Logo Hub
  • Arcane Blog
  • Lith's Corner
  • HTML & CSS Learning Diary
  • Freak's Games
  • ASOE - Asynchronous Online Engine
  • Dark Cloud RPG Maker Edition
  • Plague's Blurbs
  • An Errant Soul's Musings
  • Stellar Complex - Development Blog
  • Venya's Blog
  • Wish to the Stars development blog
  • A Writers Paradise
  • Project Aventice
  • Aljara~
  • Extreme edits
  • Concepts & Roughs
  • Hokobishu's Japanese Tea House
  • Yukijin's Storehouse
  • The Pantheon
  • Pixii Stix since 1986
  • The Manic Elf
  • Ramblin' Roccstar
  • Blogging and Things
  • Opal Starlight
  • Game Watch
  • Turt's Blog
  • minefan's development blog
  • Kotori-chan`s Review Adventures~
  • Vectra Productions
  • ~Diary of Wrath~
  • DMTK Stuffs
  • Ailuro's Blog
  • Omni Link's Blog
  • Scoosh's Blog
  • DavidFoxfire's Works in Progress
  • DJBailey on Sound, Life, Development
  • Tools of The Trade
  • Kaiso's Blog of ideas and art
  • ImAGirlUPerv's Blog
  • TimothyWhitcomb's Blog
  • Chaosian's Blog
  • Lex's Blog
  • Spooky Does Blog Stuff
  • @Monkeysnow55's Blog
  • Don't have a project title yet :x
  • TheCaliMack RPG (California Macky's Blog)
  • Point08's Blog
  • Emphasis Log
  • A World On Fire
  • Space game
  • Project Eden Dev Blog
  • Soul Eka
  • The Consensus' RMVX Ace Musings
  • Writer's Resource
  • Spectre's Freebies
  • Karsh's Developer Blog
  • AngelCou's Blog
  • Intelligent Debates/feelings/conversations
  • The scripting life of a big red dog
  • Realm of the Nine Palms
  • D'Art Blog
  • BHR development
  • Personal Blog
  • And A Random Blog Appears From The Shadows
  • [Project Log] Relic Hunter
  • LadyLemonGames' Diary
  • Takeo's Game Updates
  • Visual Novel Progress
  • Absolute Nonsense(The Good Kind XP)
  • My Precious Days
  • Wander Work Blog
  • upsidedownprtl's IGMC Blog
  • IGMC Entry
  • Joseph's Development Chatter
  • The Daily Apple
  • [Project Log] The Keeper of the Wards
  • Local Woman Creates Blog: Users React in a Rampage
  • JaiCrimson's Blog
  • Returning to RMVX
  • Vectra's Speeches
  • Monster's Den Blog
  • Firehawk Labs
  • gunsage's magical death metal unicorn apocalypse
  • LTN Games
  • EpicFILE Leisure Time
  • Personal Blog
  • Random Things
  • My small ideas
  • The Waffle of Gold! Development Blog!
  • Blithe's Bleh
  • Maki's Semi-Transparent Cube
  • thejaxinator's INAW3
  • ~Dia's Rant's, Comments, And Concerns of Today's World~
  • Development of Beyond the Dark
  • You walked into Shin's Room
  • Manga Gothic
  • My year with the dragon
  • Memoirs of a Space Traveler
  • The Bounty Hunters
  • Cookie ninja shares!
  • Balter's blog
  • Veryll Tavern
  • Random Postings
  • Devonair320's Blog
  • Green With It's Freedom-Land Field Guide
  • Thought-crime and Other Misdemeanours
  • Jaluna's Berry Bush
  • Character Showcase and Other Things
  • Khaos' Kavern
  • markA's Blog
  • Equestria
  • PixeLockeT Plays & Plugs
  • Jacklack3's Book Of Stuff
  • Paradox: The Dev Log
  • Scalvose: Demons and Dragons Progress Holder
  • KunLibertad's Blog
  • Development of STA-FDW
  • Decim Blog, and Other Things
  • Tales of the Clumsy Beginner
  • Shiggy's Lab of Randomness
  • Bunbunmaru News
  • Raymi's Blog
  • Shiggy's Blog
  • GameKirby's Blog
  • LewisDruid's Gaming Corner
  • Nirwanda's Corner
  • Jax's Game Log
  • ashm13's Blog
  • A Dog's Guide to Highwick
  • Jacob Mann's IIAW3
  • The Eddsworld Fangame(s?)
  • beh
  • As Time Takes Its Course
  • Tempest of Souls
  • Tochiko Island: Juju Talks to Herself (And Others)
  • Unfortunate Ideas
  • The Woodcutter's Daughter (dev corner)
  • Demon's Gate Progress Blog
  • Cleosetric's Journal
  • Cinder's Stuff
  • Project Iniquitous
  • Milton Monday Plays Something
  • Ac Games
  • Characters And Such
  • Gaming, Writing, and Music
  • GamePad DevBlog
  • CVincent's Blog
  • Cupid's Universe
  • The Lightsworn Devrambles
  • Tarq's Backlog
  • Iron Fortress
  • Chungsie's Dagger Thunder Poop
  • Straydog's Blog
  • DRC's Blog
  • The Book of Love: South Park Fanfiction
  • The Legend of Jerry Quiver: Dev Blog
  • Official Works
  • Cosmo's Development log and Process Anouncments
  • 9 Circles Casino & Hotel
  • The Hurst's Development... Thingy
  • Chibae's Blog
  • JesseO's Blog
  • Party Pals!
  • 'Lucid' Blog Thing I Think
  • Cryptic: Project Journal
  • Neryan's Bloggie >,<
  • Planned All Along
  • Planned All Along
  • Alphys Hedge's Blog
  • Nexus of Naoto
  • FluffexStudios' Blog
  • CAW Series
  • RGSS3 Rumbles
  • Journal of the Phoenix
  • Project Updates
  • Perang Cemen's Devil Boy Quest
  • Fleshport Development Blog
  • Amyrakunejo's Game Cabinet
  • Secret Project
  • "Crystal Crown" Devlog [RPG Maker MV]
  • Memory of the Fallen Leaves Demo 1.8 coming soon-ish
  • Delve into the Digital Embrace
  • Nira, the Experiment
  • Testing Blog
  • Loco's Loose Leaf Odyssey
  • CH2 - Afterword
  • Verdiløs Games
  • An it harm none do what ye will.
  • Eddsworld: Life After The End
  • Final Fantasy (Working Title)
  • Alva (not the skater)-A planet and world much like the one we know, or claim to...
  • The Freeman Gazette
  • Abby Freeman Makes A Game
  • Doin Stuff
  • My pointless thoughts
  • Loco's Odds and Ends

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Skype


Location


Interests

Found 1 result

  1. First I suggest you check out Fomar's tutorial on getting the most out of Custom Formula. This will help you understand how these work and modify them. http://www.rpgmakerv...ormulae-part-1/ For many of the novice and intermediate game developers here, they may not know where to find the script snippets we can call to use in Custom Formula. (They're in Game_BattlerBase) Even if they did know, some would not know how to interpret them and use them to their full extent. Some may also not realize the use or see some uses for these snippets. I want to remedy that and provide a list, with the help of any contributors, of skill ideas we can do with the custom formula. Please contribute freely! First, I'd like to drop off this list. This list is all the .stat values we can use in custom formula. While the tooltip shows atk and def, it does not show pharmacology and evasion. This shows you them: def mhp; param(0); end # MHP Maximum Hit Points def mmp; param(1); end # MMP Maximum Magic Points def atk; param(2); end # ATK ATtacK power def def; param(3); end # DEF DEFense power def mat; param(4); end # MAT Magic ATtack power def mdf; param(5); end # MDF Magic DeFense power def agi; param(6); end # AGI AGIlity def luk; param(7); end # LUK LUcK def hit; xparam(0); end # HIT HIT rate def eva; xparam(1); end # EVA EVAsion rate def cri; xparam(2); end # CRI CRItical rate def cev; xparam(3); end # CEV Critical EVasion rate def mev; xparam(4); end # MEV Magic EVasion rate def mrf; xparam(5); end # MRF Magic ReFlection rate def cnt; xparam(6); end # CNT CouNTer attack rate def hrg; xparam(7); end # HRG Hp ReGeneration rate def mrg; xparam(8); end # MRG Mp ReGeneration rate def trg; xparam(9); end # TRG Tp ReGeneration rate def tgr; sparam(0); end # TGR TarGet Rate def grd; sparam(1); end # GRD GuaRD effect rate def rec; sparam(2); end # REC RECovery effect rate def pha; sparam(3); end # PHA PHArmacology def mcr; sparam(4); end # MCR Mp Cost Rate def tcr; sparam(5); end # TCR Tp Charge Rate def pdr; sparam(6); end # PDR Physical Damage Rate def mdr; sparam(7); end # MDR Magical Damage Rate def fdr; sparam(8); end # FDR Floor Damage Rate def exr; sparam(9); end # EXR EXperience Rate Now we can use a ton of stats for our formulas! 1. How do we change the users stats when we're targeting someone else? a.stat -= \ += \ %= \ *= \ /= n Any time we put a = after a math symbol, we're telling the game to set that number to the value we get after doing that math. What can we do with this? So many things. You can cause backlash or reward for using skills. Specifically I created a skill that deals damage back to the user based on HP. r = a.hp*0.3;a.hp -= (a.hp*0.1).round;r - b.def/2 2. How do we check for a state on a target? .state?(n) Where n is the number of the state we're checking for. What can we do with this? We can do a lot. Boost damage if a state is applied, do increased healing if a state is applied, the list goes on and can be coupled with anything in the list of things we can do. Specifically I created a backstab that deals extra damage if the enemy is Surprised. b.state?(50) ? r = a.atk * 12 : r = a.atk * 4 ; r - b.def * 2 3. How do we check if we're removing a state on a target? .erase_state(n) This saves us a little work. Basically, it both removes the state and checks if there was a state to remove. What can we do with this? We can do anything extra if the state is successfully removed. For example we can do extra healing if we remove poison, or deal extra damage if the target is stunned but remove stun. Specifically I made a skill that heals HP and cures poison, but takes 3 extra mana if it removes poison. if b.erase_state(2) ; a.mp -= 3 ; end ; 50 4. How do we use elemental defense for calculations? .element_rate(n) This is returned as a decimal value. 1 = 100%, 3 = 300%, 0.5 = 50%. What can we do with this? Some really interesting and fun stuff. You can make it so you heal more if you're weaker to fire, or recover more HP if you're strong to ice. You can check if your resistance is below a certain amount and then do something. Specifically I created a fire spell that deals more damage the weaker you are to fire. (a.mat * 2 - b.mdf * 2)*a.element_rate(3) 4a. What about states? .state_rate(n) 5. Can we apply debuffs and buffs? .add_debuff(param, turn) .add_buff(param, turn) Turn is the turn number for the buff to last and param is the parameter number we're debuffing. What can we do with this? We can set a debuff to happen by a random chance when attacking, or buff the user. Here I've put a 50% chance to buff your defense for 2 turns when you attack, and deal 150 damage. rand(100) <= 50 ? a.add_buff(3, 2):0;150 6. Can we stop an enemy from acting without using a stun status? .remove_current_action This can allow you to make a disruption skill that will stop an enemy from taking an action, great for fast characters. You may want a random chance on this though. What can we do with this? I've made a simple one round "stun" with a 35% chance of happening and deals a flat 50 damage. if rand(100) <= 35;b.remove_current_action;end;50 7. Can we hide an ally in battle or make an ally appear? .hide .appear These two will make an enemy or ally hidden from battle or make them reappear. There are certainly some uses for skills like this or even just events in battle. When an enemy is hidden, it doesn't give EXP. When a character is hidden, you do not receive a game over when the battle ends. What can we do with this? We can have summons that hide characters or enemies. We can even create individual escape mechanisms, like a % chance for just the user to escape by hiding them. There's a lot of possibilities for this skill. I'll help you by going through some not-so-obvious set-ups. Make all enemies on the battlefield appear: $game_troop.members.each {|enemy| enemy.appear} Make a specific enemy appear: $game_troop.members[n].appear Make a specific ally in your party appear (if hidden): $game_party.members[n].appear Make all allies in your party appear (if hidden): $game_party.members.each {|ally| ally.appear} 8. Can we get the base value of a stat? . param_base(param_id) Unfortunately I can't tell you all the parameter IDs, but I'm sure once you figure them out this may be of use. We can also check the added or debuffed amount from a parameter. .param_plus(param_id) .param_min(param_id) 9. Can we force an ally or enemy to use a skill (even if they haven't learned it)? Yes! .force_action(n, n) The first n is the skill id. If you randomize or array it, you can probably do some interesting stuff. The second n is the target index, where -2 is the last target selected and -1 is a random target. What can we do with this? Fun stuff! Things like make them heal or use a specific attack. Specifically I used mine to force an ally to use a random spell in the list on a random target. b.force_action(3+rand(15), -1);0 This one unfortunately has some limitations, please keep these in mind when using Force Action. Problems: If used on the user, the user repeats the spell. You must make sure a.id != b.id. If the enemy or actor has used their turn already, they will not act. You must make sure the skill with force action will always go first. I'm not sure how the target indexing works, and cannot guide you to use it. Appendix A: List of Conditions we can check: #-------------------------------------------------------------------------- # * Determine if States Are Addable #-------------------------------------------------------------------------- def state_addable? #-------------------------------------------------------------------------- # * Determine Buff Status #-------------------------------------------------------------------------- def buff?(param_id) #-------------------------------------------------------------------------- # * Determine Debuff Status #-------------------------------------------------------------------------- def debuff?(param_id) #-------------------------------------------------------------------------- # * Determine if Buff Is at Maximum Level #-------------------------------------------------------------------------- def buff_max?(param_id) #-------------------------------------------------------------------------- # * Determine if Debuff Is at Maximum Level #-------------------------------------------------------------------------- def debuff_max?(param_id) #-------------------------------------------------------------------------- # * Determine if Skill/Item Has Any Valid Effects #-------------------------------------------------------------------------- def item_has_any_valid_effects?(user, item) #-------------------------------------------------------------------------- # * Determine Usability of Normal Attack #-------------------------------------------------------------------------- def attack_usable? #-------------------------------------------------------------------------- # * Determine Usability of Guard #-------------------------------------------------------------------------- def guard_usable? #-------------------------------------------------------------------------- # * Determine if Enemy #-------------------------------------------------------------------------- def enemy? #-------------------------------------------------------------------------- # * Determine if Actor or Not #-------------------------------------------------------------------------- def actor? return false end #-------------------------------------------------------------------------- # * Determine if Action is Possible #-------------------------------------------------------------------------- def movable? exist? && restriction < 4 end #-------------------------------------------------------------------------- # * Determine if Character is Confused #-------------------------------------------------------------------------- def confusion? exist? && restriction >= 1 && restriction <= 3 end #-------------------------------------------------------------------------- # * Determine if Guard #-------------------------------------------------------------------------- def guard? special_flag(FLAG_ID_GUARD) && movable? end #-------------------------------------------------------------------------- # * Determine if Substitute #-------------------------------------------------------------------------- def substitute? special_flag(FLAG_ID_SUBSTITUTE) && movable? end #-------------------------------------------------------------------------- # * Determine if Preserve TP #-------------------------------------------------------------------------- def preserve_tp? #-------------------------------------------------------------------------- # * Determine if State Is Resisted #-------------------------------------------------------------------------- def state_resist?(state_id) #-------------------------------------------------------------------------- # * Check K.O. State #-------------------------------------------------------------------------- def death_state? #-------------------------------------------------------------------------- # * Check State #-------------------------------------------------------------------------- def state?(state_id) @states.include?(state_id) end
×
Top ArrowTop Arrow Highlighted