Damage Number
Note:
1.HP/damage number/damage multiplier are all not integer.This mod shows rounded value.For example, 100.8 damage will be showed as 100. 1.20123 multiplier will be showed as 1.20.
2. By default your taken damage is blue,other’s are white.
The three covers shows the effect of normal font(`times.ttf`) / ouline font(`tt1214m_.ttf`) /super bold font(`tt1255m_.ttf`)
Font/size/color are configurable in config file.
3.Damage multipliers will be shown after damage.For example : 120(x 1.2) ,means damage is 120 AFTER multiplied
4.There will be a “!” after damage number over 1200
4.4. Damage less than `ignorecap` won’t be showed.`ignorecap` is -1 by default.Means it will show all damage number.
4.5.Damage number appears in position where the attack hit.
There is also a random offset to reduce overlapping.
5. (If enabled in config file) Will show left hp after taken damage.
Left HP is not completely realtime value.It’s speculated by HP-before-hit minus damage.But it should be the same with real HP in most situation.
6. Config In UI
Press `Insert` key to show/hide reframework UI.
Click the `Script Generated UI`.
Press the button which has same name with this mod.
7.Configurable Settings:
font: name of the font file, this mod contains `times.ttf` `tt1214m_.ttf` `tt1255m_.ttf`.If you want another font ,you need to modify config and put the font file into `reframework/fonts` in game folder
fontsize: size of the font
color1: base color
color11: use this color if damage-taker is a hostile character
color2: use this color if you are the damage-taker
color3: use this color if damage more than bigcao
(check conditions by order,the last wins)
time: how long the damage number lasts.Unit is frame. This also affects how fast the damage number goes to sky and how soon it becomes transparent.
showlefthp: show left hp or not
showmultiplier:show multiplier or not
showenemydamage: show the damage taken by enemies
showfrienddamage: show the damage taken by friends
shownonplayerdealandtakendamage: If false , only show damage that is dealt or taken by the player.
(three above options can work together. For example,if `shownonplayerdealandtakendamage` is false and `showfrienddamage` is false. You will only see the damage that you dealt to enemy.)
bigcap: damage more than this will has a “!”
ignorecap: damage less than this will hide
rndoffset: damage number will have a random offset to reduce overlapping.If set to 0,then numbers always appear in enemy’s head.
Install:
1. Install Reframework
1.5. Install _XYZApi (Optional.Only necessary when you need to modify settings in UI)
2.You can Install by Fluffy Mod Manager or Manually
3.1. Install by Fluffy Mod Manager:
Download this mod and drag into mod manager.Then turn it on in mod manager
3.2.Install Manually:
Dowload this mod and extract.Copy the `reframework` folder to game folder. If `reframework` already exists in game folder,then merge these two folders.
If XXX.ttf already exists,ignore