feat: expand golem stat abbreviations and add special abilities display
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m31s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m31s
This commit is contained in:
@@ -119,16 +119,16 @@ const GolemCard: React.FC<GolemCardProps> = React.memo(({
|
||||
{/* Stats grid */}
|
||||
<div className="grid grid-cols-2 gap-x-4 gap-y-1 text-xs">
|
||||
<div className="text-gray-400">
|
||||
<span className="text-gray-500">DMG:</span> {golem.damage}
|
||||
<span className="text-gray-500">Damage:</span> {golem.damage}
|
||||
</div>
|
||||
<div className="text-gray-400">
|
||||
<span className="text-gray-500">SPD:</span> {golem.attackSpeed}/h
|
||||
<span className="text-gray-500">Attack Speed:</span> {golem.attackSpeed}/h
|
||||
</div>
|
||||
<div className="text-gray-400">
|
||||
<span className="text-gray-500">HP:</span> {golem.hp}
|
||||
</div>
|
||||
<div className="text-gray-400">
|
||||
<span className="text-gray-500">AP:</span> {Math.round(golem.armorPierce * 100)}%
|
||||
<span className="text-gray-500">Armor Pierce:</span> {Math.round(golem.armorPierce * 100)}%
|
||||
</div>
|
||||
{golem.isAoe && (
|
||||
<div className="col-span-2 text-gray-400">
|
||||
@@ -137,6 +137,18 @@ const GolemCard: React.FC<GolemCardProps> = React.memo(({
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Special Abilities */}
|
||||
{golem.specialAbilities && golem.specialAbilities.length > 0 && (
|
||||
<div className="text-xs space-y-0.5">
|
||||
<span className="text-gray-500">Special:</span>
|
||||
{golem.specialAbilities.map((ability, i) => (
|
||||
<div key={i} className="text-gray-400 pl-2">
|
||||
• {ability.name}: {ability.description}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Costs */}
|
||||
<div className="text-xs space-y-0.5">
|
||||
<div className="text-gray-400">
|
||||
|
||||
Reference in New Issue
Block a user