-
-
Notifications
You must be signed in to change notification settings - Fork 647
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'opentibiabr:main' into Nyedson-patch-2
- Loading branch information
Showing
21 changed files
with
332 additions
and
639 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 was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
data-otservbr-global/scripts/actions/other/offline_training.lua
This file was deleted.
Oops, something went wrong.
76 changes: 0 additions & 76 deletions
76
data-otservbr-global/scripts/creaturescripts/others/offline_training.lua
This file was deleted.
Oops, something went wrong.
50 changes: 0 additions & 50 deletions
50
data-otservbr-global/scripts/globalevents/customs/rain.lua
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<familiars> | ||
<!-- Familiars sorcerrers --> | ||
<!-- Sorcerer --> | ||
<familiar vocation="1" lookType="994" name="Thundergiant" premium="yes" unlocked="no" enabled="yes" /> | ||
<familiar vocation="5" lookType="994" name="Thundergiant" premium="yes" unlocked="no" enabled="yes" /> | ||
|
||
<familiar vocation="1" lookType="1367" name="Bladespark" premium="yes" unlocked="no" enabled="yes" type="quest" /> | ||
<familiar vocation="5" lookType="1367" name="Bladespark" premium="yes" unlocked="no" enabled="yes" type="quest" /> | ||
<!-- Familiars druids --> | ||
|
||
<!-- Druid --> | ||
<familiar vocation="2" lookType="993" name="Grovebeast" premium="no" unlocked="no" enabled="yes" /> | ||
<familiar vocation="6" lookType="993" name="Grovebeast" premium="no" unlocked="no" enabled="yes" /> | ||
|
||
<familiar vocation="2" lookType="1364" name="Mossmasher" premium="no" unlocked="no" enabled="yes" type="quest" /> | ||
<familiar vocation="6" lookType="1364" name="Mossmasher" premium="no" unlocked="no" enabled="yes" type="quest" /> | ||
<!-- Familiars paladins --> | ||
|
||
<!-- Paladin --> | ||
<familiar vocation="3" lookType="992" name="Emberwing" premium="no" unlocked="no" enabled="yes" /> | ||
<familiar vocation="7" lookType="992" name="Emberwing" premium="yes" unlocked="no" enabled="yes" /> | ||
|
||
<familiar vocation="3" lookType="1366" name="Sandscourge" premium="no" unlocked="no" enabled="yes" type="quest" /> | ||
<familiar vocation="7" lookType="1366" name="Sandscourge" premium="yes" unlocked="no" enabled="yes" type="quest" /> | ||
<!-- Familiars knights --> | ||
|
||
<!-- Knight --> | ||
<familiar vocation="4" lookType="991" name="Skullfrost" premium="yes" unlocked="no" enabled="yes" /> | ||
<familiar vocation="8" lookType="991" name="Skullfrost" premium="yes" unlocked="no" enabled="yes" /> | ||
|
||
<familiar vocation="4" lookType="1365" name="Snowbash" premium="yes" unlocked="no" enabled="yes" type="quest" /> | ||
<familiar vocation="8" lookType="1365" name="Snowbash" premium="yes" unlocked="no" enabled="yes" type="quest" /> | ||
|
||
|
||
</familiars> |
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 |
---|---|---|
@@ -1,19 +0,0 @@ | ||
local function calculateBonus(bonus) | ||
local bonusCount = math.floor(bonus / 100) | ||
local remainder = bonus % 100 | ||
if remainder > 0 then | ||
local probability = math.random(0, 100) | ||
bonusCount = bonusCount + (probability < remainder and 1 or 0) | ||
end | ||
|
||
return bonusCount | ||
end | ||
|
||
local function checkItemType(itemId) | ||
local itemType = ItemType(itemId):getType() | ||
-- Based on enum ItemTypes_t | ||
if (itemType > 0 and itemType < 4) or itemType == 7 or itemType == 8 or itemType == 11 or itemType == 13 or (itemType > 15 and itemType < 22) then | ||
return true | ||
end | ||
return false | ||
end | ||
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
Oops, something went wrong.