Skip to content

Commit

Permalink
adjusts.
Browse files Browse the repository at this point in the history
  • Loading branch information
elsongabriel committed Dec 11, 2023
1 parent dfc8631 commit 5c0ef79
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ monster.strategiesTarget = {

monster.flags = {
summonable = false,
attackable = true,
attackable = false,
hostile = true,
convinceable = false,
pushable = false,
pushable = true,
rewardBoss = false,
illusionable = false,
canPushItems = true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ monster.flags = {
hostile = true,
convinceable = false,
pushable = false,
rewardBoss = true,
rewardBoss = false,
illusionable = false,
canPushItems = true,
canPushCreatures = true,
Expand Down Expand Up @@ -122,18 +122,4 @@ monster.immunities = {
{ type = "bleed", condition = false },
}

mType.onThink = function(monster, interval) end

mType.onAppear = function(monster, creature)
if monster:getType():isRewardBoss() then
monster:setReward(true)
end
end

mType.onDisappear = function(monster, creature) end

mType.onMove = function(monster, creature, fromPosition, toPosition) end

mType.onSay = function(monster, creature, type, message) end

mType:register(monster)
5 changes: 3 additions & 2 deletions data-otservbr-global/world/otservbr-zones.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?xml version="1.0"?>
<zone name="boss.brain-head" zoneid="1" />
<zones />
<zones>
<zone name="boss.brain-head" zoneid="1"/>
</zones>

0 comments on commit 5c0ef79

Please sign in to comment.