BboyChaos
Member
- Joined
- May 20, 2014
- Messages
- 10
- Reaction score
- 7
-- Combat()
combat:execute(creature, variant)
combat:setArea(area)
combat:setCallback(key, function)
combat:setCondition(condition)
combat:setFormula(type, mina, minb, maxa, maxb)
combat:setOrigin(origin)
combat:setParameter(key, value)
-- Condition(conditionType[, conditionId = CONDITIONID_COMBAT])
condition:addDamage(rounds, time, value)
condition:clone()
condition:delete()
condition:getEndTime()
condition:getIcons()
condition:getId()
condition:getSubId()
condition:getTicks()
condition:getType()
condition:setFormula(mina, minb, maxa, maxb)
condition:setOutfit(lookTypeEx, lookType, lookHead, lookBody, lookLegs, lookFeet[, lookAddons[, lookMount]])
condition:setOutfit(outfit)
condition:setParameter(key, value)
condition:setTicks(ticks)
-- Container(uid)
container:addItem(itemId[, count/subType = 1[, index = INDEX_WHEREEVER[, flags = 0]]])
container:addItemEx(item[, index = INDEX_WHEREEVER[, flags = 0]])
container:getCapacity()
container:getEmptySlots([recursive = false])
container:getItem(index)
container:getItemCountById(itemId[, subType = -1])
container:getItemHoldingCount()
container:getSize()
container:hasItem(item)
-- Creature(id or name or userdata)
creature:addCondition(condition[, force = false])
creature:addHealth(healthChange)
creature:addMana(manaChange[, animationOnLoss = false])
creature:canSee(position)
creature:canSeeCreature(creature)
creature:changeSpeed(delta)
creature:getBaseSpeed()
creature:getCondition(conditionType[, conditionId = CONDITIONID_COMBAT[, subId = 0]])
creature:getDamageMap()
creature:getDescription(distance)
creature:getDirection()
creature:getFollowCreature()
creature:getHealth()
creature:getId()
creature:getLight()
creature:getMana()
creature:getMaster()
creature:getMaxHealth()
creature:getMaxMana()
creature:getName()
creature:getOutfit()
creature:getParent()
creature:getPathTo(pos[, minTargetDist = 0[, maxTargetDist = 1[, fullPathSearch = true[, clearSight = true[, maxSearchDist = 0]]]]])
creature:getPosition()
creature:getSkull()
creature:getSpeed()
creature:getSummons()
creature:getTarget()
creature:getTile()
creature:isCreature()
creature:isHealthHidden()
creature:isInGhostMode()
creature:isRemoved()
creature:registerEvent(name)
creature:remove()
creature:removeCondition(conditionType[, conditionId = CONDITIONID_COMBAT[, subId = 0[, force = false]]])
creature:say(text, type[, ghost = false[, target = nullptr[, position]]])
creature:setDirection(direction)
creature:setDropLoot(doDrop)
creature:setFollowCreature(followedCreature)
creature:setHiddenHealth(hide)
creature:setLight(color, level)
creature:setMaster(master)
creature:setMaxHealth(maxHealth)
creature:setOutfit(outfit)
creature:setSkull(skull)
creature:setTarget(target)
creature:teleportTo(position[, pushMovement = false])
creature:unregisterEvent(name)
-- Game
Game.createContainer(itemId, size[, position])
Game.createItem(itemId[, count[, position]])
Game.createMonster(monsterName, position[, extended = false[, force = false]])
Game.createNpc(npcName, position[, extended = false[, force = false]])
Game.createTile(position[, isDynamic = false])
Game.createTile(x, y, z[, isDynamic = false])
Game.getExperienceStage(level)
Game.getGameState()
Game.getHouses()
Game.getMonsterCount()
Game.getNpcCount()
Game.getPlayerCount()
Game.getPlayers()
Game.getReturnMessage(value)
Game.getSpectators(position[, multifloor = false[, onlyPlayer = false[, minRangeX = 0[, maxRangeX = 0[, minRangeY = 0[, maxRangeY = 0]]]]]])
Game.getTowns()
Game.getWorldType()
Game.loadMap(path)
Game.setGameState(state)
Game.setWorldType(type)
Game.startRaid(raidName)
-- Group(id)
group:getAccess()
group:getFlags()
group:getId()
group:getMaxDepotItems()
group:getMaxVipEntries()
group:getName()
-- Guild(id)
guild:addRank(id, name, level)
guild:getId()
guild:getMembersOnline()
guild:getMotd()
guild:getName()
guild:getRankById(id)
guild:getRankByLevel(level)
guild:setMotd(motd)
-- House(id)
house:getAccessList(listId)
house:getBedCount()
house:getBeds()
house:getDoorCount()
house:getDoors()
house:getExitPosition()
house:getId()
house:getName()
house:getOwnerGuid()
house:getRent()
house:getTileCount()
house:getTiles()
house:getTown()
house:setAccessList(listId, list)
house:setOwnerGuid(guid[, updateDatabase = true])
-- Item(uid)
item:clone()
item:decay()
item:getActionId()
item:getArticle()
item:getAttribute(key)
item:getCharges()
item:getCount()
item:getDescription(distance)
item:getFluidType()
item:getId()
item:getName()
item:getParent()
item:getPluralName()
item:getPosition()
item:getSubType()
item:getTile()
item:getTopParent()
item:getUniqueId()
item:getWeight()
item:hasAttribute(key)
item:hasProperty(property)
item:isItem()
item:moveTo(position or cylinder)
item:remove([count = -1])
item:removeAttribute(key)
item:setActionId(actionId)
item:setAttribute(key, value)
item:split([count = 1])
item:transform(itemId[, count/subType = -1])
-- ItemType(id or name)
itemType:getArmor()
itemType:getArticle()
itemType:getAttack()
itemType:getCapacity()
itemType:getCharges()
itemType:getClientId()
itemType:getDecayId()
itemType:getDefense()
itemType:getDescription()
itemType:getDestroyId()
itemType:getElementDamage()
itemType:getElementType()
itemType:getExtraDefense()
itemType:getFluidSource()
itemType:getHitChance()
itemType:getId()
itemType:getName()
itemType:getPluralName()
itemType:getRequiredLevel()
itemType:getShootRange()
itemType:getSlotPosition()
itemType:getTransformDeEquipId()
itemType:getTransformEquipId()
itemType:getType()
itemType:getWeaponType()
itemType:getWeight([count = 1])
itemType:hasSubType()
itemType:isContainer()
itemType:isCorpse()
itemType:isDoor()
itemType:isFluidContainer()
itemType:isMovable()
itemType:isReadable()
itemType:isRune()
itemType:isStackable()
itemType:isWritable()
-- ModalWindow(id, title, message)
modalWindow:addButton(id, text)
modalWindow:addChoice(id, text)
modalWindow:getButtonCount()
modalWindow:getChoiceCount()
modalWindow:getDefaultEnterButton()
modalWindow:getDefaultEscapeButton()
modalWindow:getId()
modalWindow:getMessage()
modalWindow:getTitle()
modalWindow:hasPriority()
modalWindow:sendToPlayer(player)
modalWindow:setDefaultEnterButton(buttonId)
modalWindow:setDefaultEscapeButton(buttonId)
modalWindow:setMessage(text)
modalWindow:setPriority(priority)
modalWindow:setTitle(text)
-- Monster(id or userdata)
monster:addFriend(creature)
monster:addTarget(creature[, pushFront = false])
monster:getFriendCount()
monster:getFriendList()
monster:getSpawnPosition()
monster:getTargetCount()
monster:getTargetList()
monster:getType()
monster:isFriend(creature)
monster:isIdle()
monster:isInSpawnRange([position])
monster:isMonster()
monster:isOpponent(creature)
monster:isTarget(creature)
monster:removeFriend(creature)
monster:removeTarget(creature)
monster:searchTarget([searchType = TARGETSEARCH_DEFAULT])
monster:selectTarget(creature)
monster:setIdle(idle)
combat:execute(creature, variant)
combat:setArea(area)
combat:setCallback(key, function)
combat:setCondition(condition)
combat:setFormula(type, mina, minb, maxa, maxb)
combat:setOrigin(origin)
combat:setParameter(key, value)
-- Condition(conditionType[, conditionId = CONDITIONID_COMBAT])
condition:addDamage(rounds, time, value)
condition:clone()
condition:delete()
condition:getEndTime()
condition:getIcons()
condition:getId()
condition:getSubId()
condition:getTicks()
condition:getType()
condition:setFormula(mina, minb, maxa, maxb)
condition:setOutfit(lookTypeEx, lookType, lookHead, lookBody, lookLegs, lookFeet[, lookAddons[, lookMount]])
condition:setOutfit(outfit)
condition:setParameter(key, value)
condition:setTicks(ticks)
-- Container(uid)
container:addItem(itemId[, count/subType = 1[, index = INDEX_WHEREEVER[, flags = 0]]])
container:addItemEx(item[, index = INDEX_WHEREEVER[, flags = 0]])
container:getCapacity()
container:getEmptySlots([recursive = false])
container:getItem(index)
container:getItemCountById(itemId[, subType = -1])
container:getItemHoldingCount()
container:getSize()
container:hasItem(item)
-- Creature(id or name or userdata)
creature:addCondition(condition[, force = false])
creature:addHealth(healthChange)
creature:addMana(manaChange[, animationOnLoss = false])
creature:canSee(position)
creature:canSeeCreature(creature)
creature:changeSpeed(delta)
creature:getBaseSpeed()
creature:getCondition(conditionType[, conditionId = CONDITIONID_COMBAT[, subId = 0]])
creature:getDamageMap()
creature:getDescription(distance)
creature:getDirection()
creature:getFollowCreature()
creature:getHealth()
creature:getId()
creature:getLight()
creature:getMana()
creature:getMaster()
creature:getMaxHealth()
creature:getMaxMana()
creature:getName()
creature:getOutfit()
creature:getParent()
creature:getPathTo(pos[, minTargetDist = 0[, maxTargetDist = 1[, fullPathSearch = true[, clearSight = true[, maxSearchDist = 0]]]]])
creature:getPosition()
creature:getSkull()
creature:getSpeed()
creature:getSummons()
creature:getTarget()
creature:getTile()
creature:isCreature()
creature:isHealthHidden()
creature:isInGhostMode()
creature:isRemoved()
creature:registerEvent(name)
creature:remove()
creature:removeCondition(conditionType[, conditionId = CONDITIONID_COMBAT[, subId = 0[, force = false]]])
creature:say(text, type[, ghost = false[, target = nullptr[, position]]])
creature:setDirection(direction)
creature:setDropLoot(doDrop)
creature:setFollowCreature(followedCreature)
creature:setHiddenHealth(hide)
creature:setLight(color, level)
creature:setMaster(master)
creature:setMaxHealth(maxHealth)
creature:setOutfit(outfit)
creature:setSkull(skull)
creature:setTarget(target)
creature:teleportTo(position[, pushMovement = false])
creature:unregisterEvent(name)
-- Game
Game.createContainer(itemId, size[, position])
Game.createItem(itemId[, count[, position]])
Game.createMonster(monsterName, position[, extended = false[, force = false]])
Game.createNpc(npcName, position[, extended = false[, force = false]])
Game.createTile(position[, isDynamic = false])
Game.createTile(x, y, z[, isDynamic = false])
Game.getExperienceStage(level)
Game.getGameState()
Game.getHouses()
Game.getMonsterCount()
Game.getNpcCount()
Game.getPlayerCount()
Game.getPlayers()
Game.getReturnMessage(value)
Game.getSpectators(position[, multifloor = false[, onlyPlayer = false[, minRangeX = 0[, maxRangeX = 0[, minRangeY = 0[, maxRangeY = 0]]]]]])
Game.getTowns()
Game.getWorldType()
Game.loadMap(path)
Game.setGameState(state)
Game.setWorldType(type)
Game.startRaid(raidName)
-- Group(id)
group:getAccess()
group:getFlags()
group:getId()
group:getMaxDepotItems()
group:getMaxVipEntries()
group:getName()
-- Guild(id)
guild:addRank(id, name, level)
guild:getId()
guild:getMembersOnline()
guild:getMotd()
guild:getName()
guild:getRankById(id)
guild:getRankByLevel(level)
guild:setMotd(motd)
-- House(id)
house:getAccessList(listId)
house:getBedCount()
house:getBeds()
house:getDoorCount()
house:getDoors()
house:getExitPosition()
house:getId()
house:getName()
house:getOwnerGuid()
house:getRent()
house:getTileCount()
house:getTiles()
house:getTown()
house:setAccessList(listId, list)
house:setOwnerGuid(guid[, updateDatabase = true])
-- Item(uid)
item:clone()
item:decay()
item:getActionId()
item:getArticle()
item:getAttribute(key)
item:getCharges()
item:getCount()
item:getDescription(distance)
item:getFluidType()
item:getId()
item:getName()
item:getParent()
item:getPluralName()
item:getPosition()
item:getSubType()
item:getTile()
item:getTopParent()
item:getUniqueId()
item:getWeight()
item:hasAttribute(key)
item:hasProperty(property)
item:isItem()
item:moveTo(position or cylinder)
item:remove([count = -1])
item:removeAttribute(key)
item:setActionId(actionId)
item:setAttribute(key, value)
item:split([count = 1])
item:transform(itemId[, count/subType = -1])
-- ItemType(id or name)
itemType:getArmor()
itemType:getArticle()
itemType:getAttack()
itemType:getCapacity()
itemType:getCharges()
itemType:getClientId()
itemType:getDecayId()
itemType:getDefense()
itemType:getDescription()
itemType:getDestroyId()
itemType:getElementDamage()
itemType:getElementType()
itemType:getExtraDefense()
itemType:getFluidSource()
itemType:getHitChance()
itemType:getId()
itemType:getName()
itemType:getPluralName()
itemType:getRequiredLevel()
itemType:getShootRange()
itemType:getSlotPosition()
itemType:getTransformDeEquipId()
itemType:getTransformEquipId()
itemType:getType()
itemType:getWeaponType()
itemType:getWeight([count = 1])
itemType:hasSubType()
itemType:isContainer()
itemType:isCorpse()
itemType:isDoor()
itemType:isFluidContainer()
itemType:isMovable()
itemType:isReadable()
itemType:isRune()
itemType:isStackable()
itemType:isWritable()
-- ModalWindow(id, title, message)
modalWindow:addButton(id, text)
modalWindow:addChoice(id, text)
modalWindow:getButtonCount()
modalWindow:getChoiceCount()
modalWindow:getDefaultEnterButton()
modalWindow:getDefaultEscapeButton()
modalWindow:getId()
modalWindow:getMessage()
modalWindow:getTitle()
modalWindow:hasPriority()
modalWindow:sendToPlayer(player)
modalWindow:setDefaultEnterButton(buttonId)
modalWindow:setDefaultEscapeButton(buttonId)
modalWindow:setMessage(text)
modalWindow:setPriority(priority)
modalWindow:setTitle(text)
-- Monster(id or userdata)
monster:addFriend(creature)
monster:addTarget(creature[, pushFront = false])
monster:getFriendCount()
monster:getFriendList()
monster:getSpawnPosition()
monster:getTargetCount()
monster:getTargetList()
monster:getType()
monster:isFriend(creature)
monster:isIdle()
monster:isInSpawnRange([position])
monster:isMonster()
monster:isOpponent(creature)
monster:isTarget(creature)
monster:removeFriend(creature)
monster:removeTarget(creature)
monster:searchTarget([searchType = TARGETSEARCH_DEFAULT])
monster:selectTarget(creature)
monster:setIdle(idle)
Last edited: