3289| 4
|
[有事请教] 武器类型 技能伤害 |
| ||
点评
用一行表達的條件判斷式,條件?真時:假時
ex. hasWeapon?100:0
百度一下會更清楚
| ||
点评
https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Operators/Conditional_Operator
| ||
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2024-11-30 14:27
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.