Version 3.00
Another RPG Engine » Devlog
- Targeting logic has been overhauled. It is now handled through functions rather than widgets, and certain adjustments such as Firefly have been automated.
- A
Hitlistclass has been defined to facilitate this. It is an array that takes a set of targets and tracks the chance of selection for each. Smart targeting effects have been placed in a method function,addFactors. - Added several additional smart targeting clauses.
- Added an additional targeting factor: "Wallflower". This functions as the inverse of Firefly, halving the chance of being targeted.
- Firefly and Wallflower adjustment factors can now be modified through the
setupvariablesFIREFLY_FACTORandWALLFLOWER_FACTOR. - Added support for enemies being affected by loss-of-control effects.
- The functionality of
threatTargetis now automatically provided by theHitlistconstructor. - Default calculation for threat values has been cut by 100, to better sync with other targeting adjustments. This includes
THREAT_DECAY. guardCheckandprotectionCheckare now static methods ofHitlistand are automatically called whenever thereturnTargetmethod ofHitlistis used.- Actors now have getters for their own party and the opposing party, because I got sick of having to write that out manually.
- The getter for
targetModhas been altered to automatically return relevant mods for the action. For example, piercing moves will addpierceand debuff-inflicting moves will addeffect. effectCountnow takes an argument that will exclude sticky effects.- AI logic functions have been moved from
database-enemiesto a new file,logic-functions.js. - The functionality of
dispelTargethas been adapted into the logic functiondispelCheck. - A new logic function,
cureCheck, has been created. This is the ailment version ofdispelCheck, for enemies that use curative moves. - New Effect property:
threat. This is the value checked bydispelCheckandcureCheck, rather than just a straight count. This allows you to weight certain effects more highly. By default, all effects have a threat of 1, except for Blessing and Curse, which have 3. Effects with indefinite durations have their threat doubled, and effects with definite durations have their threat increased by the duration over 4. - The
multihitfunction has been slightly altered to avoid using widgets. It now lacks the potential for spread functionality; usemultihitCustomfor that. immortal,large, andmaskhpare now canonized as officialActorproperties; you can assign them to database entries without needing to go throughspecialInit.- Created setters for
Actionproperties to make them easier to edit. You'll no longer need to preface your properties with underscores. - New
Actorproperty:lastDmg. This tracks the amount of damage the character inflicts with their attacks. It is reset at the start of every battle and every turn. This can be used for additional targeting logic, e.g. prioritizing the most dangerous character. - New
Effectproperty:unique. This prevents multiple instances of the effect from existing in a party. A handler for dealing with this functionality has been added toaddEffect. - I have started cleaning up enemy database entries by defining their actions in the action database, which will make them significantly less messy. These actions are defined in the
enemy-actions.jsfile in thecustomfolder; it is separate from thedatabase-actionsfile to keep that file clean. Currently, only Dipper and Mabel are done. - Existing effects and enemies have been split off into core files, as actions are.
Files
rpgengine source.zip 6.4 MB
May 08, 2021
Get Another RPG Engine
Another RPG Engine
Engine for creating RPGs in Twine 2 and SugarCube.
| Status | In development |
| Author | Another RPG Enthusiast |
| Genre | Role Playing, Interactive Fiction |
| Tags | Game Design, Game engine, Minimalist, Singleplayer, Text based, Turn-based, Turn-Based Combat, Twine |
| Languages | English |
| Accessibility | Color-blind friendly |
More posts
- Version 6.00Jan 04, 2024
- Version 5.01Aug 27, 2022
- Version 5.00.1 hotfixAug 08, 2022
- Version 5.00: Inventory OverhaulAug 07, 2022
- Version 4.03Jul 16, 2022
- Experiment 03: It's About TimeJun 12, 2022
- Version 4.02.1May 26, 2022
- Version 4.02May 22, 2022
- Version 4.01Jan 31, 2022
- Version 4.00Dec 31, 2021
Leave a comment
Log in with itch.io to leave a comment.