User:Lestion: Difference between revisions

From EHWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 17: Line 17:
Base action times are generally 1 unless modified by an [[Abilities|ability]]. Items such as potions, scrolls and gems take 0 time units.
Base action times are generally 1 unless modified by an [[Abilities|ability]]. Items such as potions, scrolls and gems take 0 time units.


=== Equipment Sources ===
=== Character Sources ===
All equipment sources are reflected on the character sheet. It can be used as a factor as <code>(1 - sheet_speed)</code>.
All equipment sources are reflected on the character sheet. It can be used as a factor as <code>(1 - sheet_speed)</code>.
* This includes speed bonuses from any equipment-based source such as Item World proficiencies or the Agile prefix, as well as proficiency-based ability sources.
* Burden above 40 reduces attack speed bonuses by an increasing amount up to 90 burden where they are negated entirely.


=== Effect Sources ===
=== Effect Sources ===
Line 28: Line 31:
[[Spells]] have individual proficiency-based cast speed factors calculated using their 'minimum' and 'maximum' proficiency in the formula <code>1 - 0.25 * ((effective_proficiency / min) / (max / min))</code>.
[[Spells]] have individual proficiency-based cast speed factors calculated using their 'minimum' and 'maximum' proficiency in the formula <code>1 - 0.25 * ((effective_proficiency / min) / (max / min))</code>.


=== Monster-specific Sources ===
Monsters gain action speed through Chaos Upgrades (up to 50%), as well as a 25% permanent bonus on PFUDOR difficulty.


== Example Calculation ==
An example calculation for the Imperil spell:


<code>action_speed = 100 / spell_base_time / (1 - sheet_speed) / (1 - 0.25 * spell_prof_factor) / (1 / haste_mod)</code>


== Leftover Old Data (WIP) ==
<code>action_speed = 100 / 0.6 / (1 - 0.286) / (1 - 0.25) / (1 / 1.5) = 466.8534...</code>
 
===Increasing Action Speed===
*Player can increase Attack Speed via:
**Using the [[Spells#Supportive Magic|Haste spell]] (+25%, +50%) or [[Scroll]] of swiftness (+60%).
**Using certain [[weapons]] such as Wakizashi, which have innate bonuses to attack speed.
**Using Wakizashi or Shortsword with "of Swiftness" [[Equipment_Suffixes|suffix]].
**Using certain [[armor]]s or [[shield]] with "Agile" [[prefix]].
**Getting Swift Strike [[potency]] to their melee weapon.
**Using ability, named [[Abilities#Light_Armor|Light Speed]], which can increase attack speed when player use only light armor. This modification scaling with player's light armor [[proficiency]].
**Players who have [[Character_Stats#Primary_Attributes|AGI]] higher than their current [[level]] receive an attack speed bonus, capping at 10% when agility is twice their level.
[[file:Point.png]] Having [[burden]] above 40 reduces any attack speed bonuses, completely removing them at 90 burden.
 
*Player can increase Casting Speed via:
**Using the [[Spells#Supportive Magic|Haste spell]] (+25%, +50%) or [[Scroll]] of swiftness (+60%).
**Using certain [[armor]]s with "Charged" [[prefix]].
**Getting Spellweaver [[potency]] to their [[staff]].
**Using ability, named [[Abilities#Cloth_Armor|Cloth Castspeed]], which can increase casting speed when player use only cloth armor. This modification scaling with player's cloth armor [[proficiency]].
**Using ability, which decrease casting time of specific spell.
 
*Player can also get the [[Innate Arcana]] [[hath perk]], which improves a player's action economy by maintaining [[Spells#Supportive_Magic|supportive spells]] without using actions.


===Monster Action Speed===
<code>time_units = roundup( minmax( 20, 10000 / 466.8534, 500 ) ) = 22</code>
*All monsters have an initiative for their first attack of 0.1 to 1 times their base action speed (chosen at random).
*Monsters receive a free action after leaving a state of being [[Equipment_Procs|stunned]].
*Monster's Action Speed may be increased by:
**[[Monster Lab|Custom Monsters]] can increase their action speed with the Swiftness [[Monster_Lab#Chaos_Upgrades|Chaos Upgrade]] (+2.5% per rank, +50% max).
**Playing on PFUDOR [[difficulty]] (+25%)
**[[Enemy_Procs|Wailings of the Present]] status effect increases attack speed of any living monster.
*Monster's Action Speed may be decreased by:
**Using [[Spells#Deprecating_Spells|MagNet]] spell (-25%)
**Using [[Spells#Deprecating_Spells|Slow]] spell (-30%, -50%)


{{HVnav}}
Therefore, each Imperil takes 22 time units to complete with a sheet speed of 28.6%, effective proficiency above Imperil's maximum (495) and Haste granting 50%.{{HVnav}}

Revision as of 12:27, 30 July 2022

Action Speed is a collective term for factors that modify the time units taken by game actions. It is used to determine the order in which events occur.

Time Units

Time units are the basic measure of time in the HentaiVerse. A round starts with 0 time units elapsed. Monsters start a round with a randomised 'initiative roll' between 1% and 100% of their attack speed. When a player takes an action, the turn is resolved in this order:

  1. The player's action takes place, and its speed (in time units) is added to the round's time elapsed.
  2. For each monster, the action time taken is added to its previously recorded time units (including its initiative roll). This number is divided by the monster's speed to determine whether it attacks and how many times. The remainder is recorded for the next turn calculation.
  3. Effects are calculated (first for the player, and then for monsters). Effect durations are decremented by 1 each time 100 time units pass.
    • Stunned monsters immediately attack upon stun expiry.

Time units can be calculated with the formula roundup( minmax( 20, 10000 / action_speed, 500 ) ) and as such are capped at a minimum of 20 and a maximum of 500 regardless of speed factors, although few modifiable actions realistically encounter this limit.

Factors

Action speed is calculated as 100 / A1 / A2... where the set A is each factor affecting the action type.

Base Action Time

Base action times are generally 1 unless modified by an ability. Items such as potions, scrolls and gems take 0 time units.

Character Sources

All equipment sources are reflected on the character sheet. It can be used as a factor as (1 - sheet_speed).

  • This includes speed bonuses from any equipment-based source such as Item World proficiencies or the Agile prefix, as well as proficiency-based ability sources.
  • Burden above 40 reduces attack speed bonuses by an increasing amount up to 90 burden where they are negated entirely.

Effect Sources

Players can benefit from the Haste spell, while monsters can be affected by Slow, MagNet and Freezing Limbs. This is calculated as (1 / effect_value).

  • As an example, Haste values range between 1 (for no Haste) up to 1.6 (Haste applied via scroll). In the case of a scroll, it becomes (1 / 1.6) = 0.625.

Proficiency Sources

Spells have individual proficiency-based cast speed factors calculated using their 'minimum' and 'maximum' proficiency in the formula 1 - 0.25 * ((effective_proficiency / min) / (max / min)).

Monster-specific Sources

Monsters gain action speed through Chaos Upgrades (up to 50%), as well as a 25% permanent bonus on PFUDOR difficulty.

Example Calculation

An example calculation for the Imperil spell:

action_speed = 100 / spell_base_time / (1 - sheet_speed) / (1 - 0.25 * spell_prof_factor) / (1 / haste_mod)

action_speed = 100 / 0.6 / (1 - 0.286) / (1 - 0.25) / (1 / 1.5) = 466.8534...

time_units = roundup( minmax( 20, 10000 / 466.8534, 500 ) ) = 22

Therefore, each Imperil takes 22 time units to complete with a sheet speed of 28.6%, effective proficiency above Imperil's maximum (495) and Haste granting 50%.

HentaiVerse Navigation
Character Menu StatsTrainingSettingsPersonaIsekai
Abilities SkillsSpells (Spell Damage‎)Spirit Stance
Levels Experience PointsLeveling UpRanksLevel and Rank Table
Info. Action SpeedOverchargeProficienciesStamina
Services Bazaar Equipment ShopItem ShopMonster Lab (Monster Stats)ShrineMoogleMailThe LotteryThe Market
The Forge RepairUpgradeEnchantSalvageReforgeSoulFuse
Items Drops Loot Drop RollsObsolete Items
Equipment Equipment BasicsDetailed Equip CharacteristicsWeapon ProcsStatsBurdenInterferenceEquipment RangesLevel Scaling
Battles Modes ArenaGrindfestItem WorldRandom EncounterRing of BloodThe Tower
Info. BestiaryDamage TypesDamage (Physical Damage)Enemy ProcsRiddleMaster
Isekai The Tower RankingRewards
Info. SeasonsRewardsRules
Misc. Currency CreditsGallery PointsHathHath Perks
Strategy Play StylesAdviceAdvanced Advice
System Dawn of a New DayBugsTechnical IssuesFAQHotkeysScripts & Tools