-
-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
172 additions
and
927 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,6 @@ With downloads, support, tutorials, Lua scripts, C++ codes, PHP codes and more . | |
* [Tibiaking](https://tibiaking.com/) - [Português] | ||
* [OTLand](https://otland.net/) - [English] | ||
* [Tibia Face](https://tibiaface.foroactivo.com/) - [Español] | ||
* [Black Tibia](https://tibiaface.foroactivo.com/) - [Español] | ||
|
||
## Special Thanks OTServBR-Global | ||
- our partners OTServBR-Global. | ||
|
@@ -32,11 +31,10 @@ With downloads, support, tutorials, Lua scripts, C++ codes, PHP codes and more . | |
- [slavidodo](https://github.com/slavidodo) | ||
- [mignari and our awesome tools](https://github.com/ottools) | ||
- [saiyansking/optimized_forgottenserver and contributors](https://github.com/SaiyansKing/optimized_forgottenserver) | ||
- [mattyx14/otxserver](https://github.com/mattyx14/otxserver) and contributors. | ||
- [otland/forgottenserver](https://github.com/otland/forgottenserver) and contributors. | ||
- if we forget someone, we apologize by forgot you. but you know, **forgot**tenserver. | ||
|
||
## Contacts: | ||
## Contacts OTX Server 2: | ||
- <b>Matty(English & Spanish):</b><br> | ||
Facebook: https://www.facebook.com/Mattyx14/<br> | ||
E-mail: [email protected]<br> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
local blueberryCupcake = Action() | ||
|
||
function blueberryCupcake.onUse(player, item, fromPosition, target, toPosition, isHotkey) | ||
if player:hasExhaustion("blueberry-cupcake-cooldown") then | ||
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You need to wait before using it again.") | ||
return true | ||
end | ||
|
||
player:addMana(player:getMaxMana()) | ||
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Your mana has been refilled.") | ||
player:say("Mmmm.", TALKTYPE_MONSTER_SAY) | ||
player:setExhaustion("blueberry-cupcake-cooldown", 10 * 60) | ||
item:remove(1) | ||
return true | ||
end | ||
|
||
blueberryCupcake:id(28484) | ||
blueberryCupcake:register() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
local distanceCondition = Condition(CONDITION_ATTRIBUTES) | ||
distanceCondition:setParameter(CONDITION_PARAM_BUFF_SPELL, 1) | ||
distanceCondition:setParameter(CONDITION_PARAM_TICKS, 60 * 60 * 1000) | ||
distanceCondition:setParameter(CONDITION_PARAM_SKILL_DISTANCE, 10) | ||
distanceCondition:setParameter(CONDITION_PARAM_FORCEUPDATE, true) | ||
|
||
local lemonCupcake = Action() | ||
|
||
function lemonCupcake.onUse(player, item, fromPosition, target, toPosition, isHotkey) | ||
if player:hasExhaustion("lemon-cupcake-cooldown") then | ||
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You need to wait before using it again.") | ||
return true | ||
end | ||
|
||
player:addCondition(distanceCondition) | ||
player:sendTextMessage(MESSAGE_FAILURE, "You feel more focused.") | ||
player:say("Mmmm.", TALKTYPE_MONSTER_SAY) | ||
player:setExhaustion("lemon-cupcake-cooldown", 10 * 60) | ||
item:remove(1) | ||
return true | ||
end | ||
|
||
lemonCupcake:id(28486) | ||
lemonCupcake:register() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
local strawberryCupcake = Action() | ||
|
||
function strawberryCupcake.onUse(player, item, fromPosition, target, toPosition, isHotkey) | ||
if player:hasExhaustion("strawberry-cupcake-cooldown") then | ||
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You need to wait before using it again.") | ||
return true | ||
end | ||
|
||
player:addHealth(player:getMaxHealth()) | ||
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Your health has been refilled.") | ||
player:say("Mmmm.", TALKTYPE_MONSTER_SAY) | ||
player:setExhaustion("strawberry-cupcake-cooldown", 10 * 60) | ||
item:remove(1) | ||
return true | ||
end | ||
|
||
strawberryCupcake:id(28485) | ||
strawberryCupcake:register() |
Oops, something went wrong.