Skip to content

Instantly share code, notes, and snippets.

@ygshi
ygshi / stun.py
Last active April 27, 2020 11:52
import numpy as np
import random as rd
#settings-----------
#damage and stun settings---------------
mh_hit_damage_all_types=[341448,2134432] #read from PoB; 2 integers.
mh_hit_damage_physical=[341448,2134432] #read from PoB; 2 integers.
mh_att_per_second=6.12 #read from PoB; decimal number.
stun_threshold_reduction=106 #read from tooltip; integer.
import numpy as np
#settings-----------
#damage settings, read from PoB---------------
base_atk_intv=0.21 # your attack interval w/ 0 rage; in seconds.
rage_50_atk_intv=0.17 # your attack interval w/ 50 rage; in seconds.
base_atk_dmg=1641136.7 # your damage per hit w/ 0 rage; any unit is fine.
rage_50_atk_dmg=1836758.7 # your damage per hit w/ 50 rage; any unit is fine.