-
Notifications
You must be signed in to change notification settings - Fork 227
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
Carapace Boss - Code #2171
Carapace Boss - Code #2171
Conversation
This constantly crashes when I try to test it. Maybe a precaching issue? Edit: nevermind, I'm just crashing for some reason. |
… into carapace-boss-code
When I test it, hitting the crystals doesn't seem to increase the damage the boss takes. You should also make the boss bigger, so it's easier to target him and further decrease the turn rate. When increasing his size do also increase the distance of the headbut as well as it's width. |
@l34Um1 it definitely does, its just made so bonus damage is separate infliction |
Then it needs some sort of visual indicator for that. If I couldn't tell, the players won't be able to either. |
i'll attempt to add some particle to it |
Sick. Ready to merge imo. |
|
||
local enemies = self:GetEnemies() | ||
|
||
for k,v in pairs(enemies) do |
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.
avoid using one letter variables and don't name if you are not using, try something more meaningful like:
for _,victim in pair(enemies) do
@@ -0,0 +1,104 @@ | |||
function Spawn( entityKeyValues ) |
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.
try to follow the naming convention with ai_ prefix for AI files
"DOTAUnits" | ||
{ | ||
//================================================================================= | ||
// Boss tier ? |
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.
Tier 2
Should be fine as well |
1000, | ||
DOTA_UNIT_TARGET_TEAM_ENEMY, | ||
DOTA_UNIT_TARGET_HERO, | ||
DOTA_UNIT_TARGET_FLAG_MAGIC_IMMUNE_ENEMIES + DOTA_UNIT_TARGET_FLAG_FOW_VISIBLE, |
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.
the boss should target invisible units right?
No description provided.