fix+feat: button overrun, natural weapon rolls, Wraith Teeth & Claw (v1.6.1)
CSS: morph-shift-btn now flex: 0 0 auto; max-width: 110px
specialty-name gets flex: 1; min-width: 0 so it takes remaining space
flex-wrap on specialty-name-row prevents overflow
Natural weapons:
- template.json: isNaturalWeapon/naturalWeaponDamage/AP/ROF fields on specialty
- Morphic Strike: ROF 2, isNaturalWeapon: true
- Wraith Teeth & Claw added to wraithraider racial abilities (DMG 2, AP 1, ROF 2)
- _ensureRacialAbilities patches existing items with missing natural weapon fields
- _onNaturalWeaponRoll: STR + Melee roll through full weapon chat card pipeline
- STRIKE button appears on any specialty with isNaturalWeapon: true
- All condition/drug/armor/racial mods applied to natural weapon rolls
This commit is contained in:
+15
-1
@@ -971,6 +971,7 @@
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 2px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.zero-engine .specialty-name {
|
||||
@@ -978,6 +979,8 @@
|
||||
font-size: 13px;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.zero-engine .specialty-name:hover {
|
||||
@@ -4278,7 +4281,7 @@ body > .ze-pause-root .ze-sat-inner {
|
||||
padding: 2px 10px; font-size: 10px; font-weight: bold; text-transform: uppercase;
|
||||
letter-spacing: 0.5px; border-radius: 3px; cursor: pointer; transition: all 0.2s;
|
||||
background: rgba(0,180,255,0.1); border: 1px solid #0090cc; color: #44bbff;
|
||||
white-space: nowrap; flex-shrink: 0;
|
||||
white-space: nowrap; flex: 0 0 auto; max-width: 110px;
|
||||
}
|
||||
.zero-engine .morph-shift-btn:hover { background: rgba(0,180,255,0.25); }
|
||||
.zero-engine .morph-shift-btn.morph-shift-active {
|
||||
@@ -4286,6 +4289,17 @@ body > .ze-pause-root .ze-sat-inner {
|
||||
box-shadow: 0 0 8px rgba(0,200,255,0.3);
|
||||
}
|
||||
|
||||
/* Natural weapon STRIKE button */
|
||||
.zero-engine .natural-weapon-roll-btn {
|
||||
padding: 2px 10px; font-size: 10px; font-weight: bold; text-transform: uppercase;
|
||||
letter-spacing: 0.5px; border-radius: 3px; cursor: pointer; transition: all 0.2s;
|
||||
background: rgba(255,80,0,0.15); border: 1px solid #cc4400; color: #ff7733;
|
||||
white-space: nowrap; flex: 0 0 auto;
|
||||
}
|
||||
.zero-engine .natural-weapon-roll-btn:hover {
|
||||
background: rgba(255,80,0,0.3); border-color: #ff6600; color: #ffaa55;
|
||||
}
|
||||
|
||||
/* ══════════════════════════════════════════════════════════════════════════════
|
||||
PLAYER CHARACTER FLAG — Bio Tab
|
||||
══════════════════════════════════════════════════════════════════════════════ */
|
||||
|
||||
Reference in New Issue
Block a user