|
|
Line 602: |
Line 602: |
| </tr> | | </tr> |
| </table> | | </table> |
|
| |
|
| |
| <hr>
| |
|
| |
| == Attack Speed Notes ==
| |
|
| |
| In the game's code, a weapon's displayed "attack speed" is determined by both two of its stats: <code>cooldown</code> and <code>recoil_duration</code>, via ''weapon_stats.gd'' (see <code>get_cooldown_text</code> in ''ranged_weapon_stats.gd'' and ''melee_weapon_stats.gd'')
| |
|
| |
| Recoil Duration is almost always 0.1, except for 11 ranged weapons: Crossbow (0.15), Flamethrower (0.02), Laser Gun (0.2), Minigun (0.02), Nuclear Launcher (0.142), Obliterator (0.2), Rocket Launcher (0.142), Shredder (0.15), Slingshot (0.15), SMG (0.05), and Sniper Gun (0.2).
| |
|
| |
| For ranged weapons, the displayed attack speed is calculated as:
| |
|
| |
| <code>(cooldown / 60) + (recoil_duration * 2)</code>
| |
|
| |
| For melee weapons, the displayed attack speed is calculated as:
| |
|
| |
| <code>(cooldown / 60) + recoil_duration + (atk_duration / 2) + back_duration</code>
| |
|
| |
| Here's what those melee variables mean:
| |
|
| |
| * back_duration = <code>0.2 / (1 + (stat_attack_speed * 3))</code>
| |
| ** At 0 attack speed, this would be: 0.2
| |
| ** At 10 attack speed (0.1), this would be: 0.15
| |
| ** At 50 attack speed (0.5), this would be: 0.08
| |
| ** At 100 attack speed (1), this would be: 0.05
| |
| * atk_duration = <code>max(0.01, 0.2 - (stat_attack_speed / 10.0)) + range_factor * 0.15</code>
| |
| * range_factor = <code>max(0.0, (WPN.max_range + (stat_range / 2)) / clamp(70.0 * (1 + (stat_attack_speed / 3)), 70.0, 120.0))</code>
| |
| ** <code>max</code> gets the highest value, so here it can't be lower than 0
| |
| ** <code>clamp</code> makes sure the value isn't higher/lower than the specified numbers, so here it can't be lower than 70 or higher than 120
| |
Itembox
Testing a new template, intended for use on mod pages.
PLEASE USE CTRL+F5 TO SEE THE NEW STYLES
Characters
- +20% Attack Speed
- -30% Damage
- Start with 1 D6
- Start with 6 Bomb
|
- +8% chance to double the value of picked up materials
- -250 Range
- You start with 1 Lucky Foot
- +15% Speed
- -70% Range modifications
- +15% Ranged Damage modifications
- -20% Attack Speed modifications
|
- +15% Damage
- You start with 1 The Book of Belial
- +10% Crit Chance
- -10 Armor
- +25% Crit Chance modifications
- -15% Max HP modifications
|
- +5 Max HP
- +2% Damage for every -1% Speed you have [+24]
- You start with 1 Yum Heart
- You start with 3 Maggy's Faith
- -10 HP Regeneration
|
- +10 Max HP
- Your Max HP is capped at its current value [20]
- +20% chance to heal 1 HP when picking up a material
- -100 HP Regeneration
- -100% Life Steal
- -5% Items Price
|
- Random Perk Item
- Random Stat Item
|
Items
-
+2 free reroll in the shop
-
-5 Luck
-
+5% Items Price
|
The Book of Belial
Unique
-
+1 temporary damage per crit kill
-
-10 Max HP
-
-10% Damage
|
-
A landmine spawns every -1 seconds dealing 56 (200% ) damage in an area
|
-
+1% chance to get +1 Luck when picking up a material
-
-5% Speed
|
Maggy's Faith
Limited (3)
-
+1 Max HP at the end of a wave
-
-4% Speed
|
-
+7 HP recovered from consumables
-
-20% Life Steal
|
-
Flies with you
-
A landmine spawns every 20 seconds dealing 65 (200% ) damage in an area
|
Bloodshot Eye
Limited (6)
-
Spawns a companion that flies around you and shoots enemies for 8 damage (50% 50% )
|
-
Damage modifications are increased by 10%
|
Weapons
Works with weapons too. Might be a bit excessive to show all tiers so I'm only showing the initial one here.
-
Damage: 14 (50%)
-
Critical: x2 (10% chance)
-
Cooldown: 0.5s
-
Knockback: 10
-
Range: 350 (Melee)
-
Piercing: 2 (-20% damage)
-
Life Steal: 5%
|