-
Notifications
You must be signed in to change notification settings - Fork 1
/
weaponblock.html
40 lines (40 loc) · 2.17 KB
/
weaponblock.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<div class="block left">
<label>Name:</label>
<input type="text" class="tb" ng-model="weaponStats.name">
<br/>
<label>Damage:</label>
<input type="text" class="tb" ng-model="weaponStats.dmg" size="15">X<input type="text" class="tb"ng-model="weaponStats.dmgrnds" size="2">
<br/>
<label>Accuracy:</label>
<input type="text" class="tb" ng-model="weaponStats.acc" size="5">
<br/>
<label>Fire Rate:</label>
<input type="text" class="tb" ng-model="weaponStats.rate" size="5">
<br/>
<label>Reload Speed:</label>
<input type="text" class="tb" ng-model="weaponStats.reload" size="5">
<br/>
<label>Magazine Size:</label>
<input type="text" class="tb" ng-model="weaponStats.mag" size="5">
<hr>
<label>Fire Type:</label>
<select ng-model="weaponStats.fire" class="tb" ng-options="f for f in fireType"></select>
<br/>
<label>Consumes <input type="text" class="tb" ng-model="weaponStats.rounds" size="2"> ammo per shot</label>
<br/>
<label>Element:</label>
<select ng-model="weaponStats.ele" class="tb" ng-options="e as e.type for e in elementType"></select>
<br/>
<label>{{weaponStats.ele.name}} dmg/sec:</label>
<input type="text" class="tb" ng-model="weaponStats.eledmg" size="10">
<br/>
<label>Chance to {{weaponStats.ele.verb}}:</label>
<input type="text" class="tb" ng-model="weaponStats.eleper" size="4">
<hr>
<div class="stats">
<p>SPM: {{spm(weaponStats) | number:2}}</p>
<p>Sustained DPS: {{dps(weaponStats) | number:2}}</p>
<p>{{weaponStats.eleType.name}} DPS: {{eledmg(weaponStats) | number:2}}</p>
<p>Total DPS: {{totaldps(weaponStats) | number:2}}</p>
</div>
</div>