forked from opentibiabr/canary
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: data-canary errors and warnings (opentibiabr#2844)
- Loading branch information
Majesty
authored
Aug 29, 2024
1 parent
0d924e8
commit a154773
Showing
5 changed files
with
65 additions
and
37 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
local combat = {} | ||
|
||
for i = 65, 80 do | ||
combat[i] = Combat() | ||
combat[i]:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_SOUND_YELLOW) | ||
|
||
local condition = Condition(CONDITION_ATTRIBUTES) | ||
condition:setParameter(CONDITION_PARAM_TICKS, 5000) | ||
condition:setParameter(CONDITION_PARAM_SKILL_DEFENSEPERCENT, i) | ||
|
||
local area = createCombatArea(AREA_CIRCLE3X3) | ||
combat[i]:setArea(area) | ||
combat[i]:addCondition(condition) | ||
end | ||
|
||
local spell = Spell("instant") | ||
|
||
function spell.onCastSpell(creature, var) | ||
return combat[math.random(65, 80)]:execute(creature, var) | ||
end | ||
|
||
spell:name("fury skill reducer") | ||
spell:words("###2") | ||
spell:isAggressive(true) | ||
spell:blockWalls(true) | ||
spell:needLearn(true) | ||
spell: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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?xml version="1.0"?> | ||
<houses> | ||
<house name="NPC" houseid="1" entryx="19977" entryy="19988" entryz="7" rent="0" townid="3" size="15" /> | ||
<house name="NPC" houseid="1" entryx="19977" entryy="19988" entryz="7" rent="0" townid="3" size="17" clientid="0" beds="0" /> | ||
</houses> |
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,2 @@ | ||
<?xml version="1.0"?> | ||
<zones /> |
Binary file not shown.