12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- extends Object
- class_name CellCommons
- enum Type
- {
- ITEM = 0,
- EMOTE,
- SKILL,
- COUNT
- }
- static func CompareCell(cell : BaseCell, id : int, customfield : String) -> bool:
- return cell and \
- cell.id == id and \
- (
- cell is not ItemCell or \
- cell.customfield == customfield \
- )
- static func IsSameItem(cell : BaseCell, item : Item) -> bool:
- return item and CompareCell(cell, item.cellID, item.cellCustomfield)
- static func IsSameCell(cellA : BaseCell, cellB : BaseCell) -> bool:
- return cellB and CompareCell(cellA, cellB.id, cellB.customfield if cellB is ItemCell else "")
- enum Modifier {
- None = 0,
- Health,
- Mana,
- Stamina,
- MaxMana,
- RegenMana,
- CritRate,
- MAttack,
- MDefense,
- MaxStamina,
- RegenStamina,
- CooldownDelay,
- MaxHealth,
- RegenHealth,
- Defense,
- CastDelay,
- DodgeRate,
- AttackRange,
- WalkSpeed,
- WeightCapacity,
- Attack,
- Count
- }
|