-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ignore spawn block monster flag #3601
Conversation
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
other than missing register_monster_type.lua entry, everything alright
This comment has been minimized.
This comment has been minimized.
624fa9a
to
8c58e40
Compare
8c58e40
to
fb40bc5
Compare
otservbr already has this feature, they called the flag Should the rest of the non-blockable creature flags be added in this commit too? A decent list is on tibiawiki https://tibia.fandom.com/wiki/Updates/10.70#Non-Blockable_Creatures |
It's hard to tell what that means. Can't you block it's path? Can't it block yours? Can't you block it's attacks? About marking monster's spawns as non-blockable, I would not add it at all to the repo, as it's a breaking change (your spawns will act differently). Cip, as usual, made the spawns non-blockable by accident. Add one feature, break 5 others 🙄 |
yeah we decided to add only the functionality, but not the monsters |
It seems perfectly reasonable to support it and issue a warning asking the user to rename before TFS 1.next |
I, on the other hand, see no reason to support something just because a downstream project had it implemented. 🤷 |
They can adjust their code to ours. It's just one string. |
I have not tested but I don't think their monster files is compatible with tfs anyway |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see ignoresSpawnBlock
and ignorespawnblock
used interchangeably. Extremely confusing, let's settle on one spelling throughout.
🤔 by the way can you add the delayed spawn feature together with this PR? #2964 |
No. I can do that in next PR. |
It's just in XML, like every other flag. All flags are lowercase in XML. XML <flag ignorespawnblock="0" />
<flag canpushitems="1" />
<flag canpushcreatures="1" />
<flag targetdistance="1" />
<flag staticattack="90" />
<flag runonhealth="0" /> C++ bool ignoresSpawnBlock = false;
bool canPushItems = false;
bool canPushCreatures = false;
int32_t targetDistance = 1;
uint32_t staticAttackChance = 95;
int32_t runAwayHealth = 0; About the spellings it's even more different in other instances
|
The missing |
Contributing to this project is worse than walking on shattered glass. Even when something gets approved, after wave of nonsense/offtopic/useless comments, it gets stalled forever. Truly the most demotivating project I have ever contributed to. |
yeah because trying to correct a typo is the worst thing you can do |
This is not a typo and this is not about this SINGLE PR. |
Yep and your attitude isn't helping either. |
ee3492d
to
f9c0802
Compare
f9c0802
to
441785b
Compare
Pull Request Prelude
Changes Proposed
Issues addressed: #3600 (spawn block, black knight)
Supersedes: #2964