-
Activity
-
27
-
885
-
27
Fix Target Info System
Where i can find the system target info complete? this is just a fix.. -
885
[40250] Reference Serverfile + Client + Src [15 Available Languages]
You probably downloaded already compiled sources. That's why you can't find it. I'm pretty new in this as well so my apologize if am not right- 1
-
-
-
885
[40250] Reference Serverfile + Client + Src [15 Available Languages]
I try to add a mob target info system on it, but i can't find some files as: service.h, char.cpp,char.h, input_manager.cpp, item_manager, packet_info.cpp i should create new ones or the values are saved in another files? if so explain me please where i can find it. -
885
[40250] Reference Serverfile + Client + Src [15 Available Languages]
Thanks man for sharing this -
9
-
19
Compare Item ToolTIP System
I can take a look at may 2023 little patience...- 2
-
-
-
-
Recently Browsing
- No registered users viewing this page.
Question
csmmrr04 2
Hello Somehow average damage that can enter an item is 80 ? We calculated according item_addon.cpp (unchanged ) Please tell me if I'm right or is damage to the environment can enter. Thank you!
Code:
int iSkillBonus = MINMAX(-30, (int) (gauss_random(0, 5) + 0.5f), 30);
int iNormalHitBonus = 0;
if (abs(iSkillBonus) <= 20)
iNormalHitBonus = -2 * iSkillBonus + abs(number(-8, 8) + number(-8, 8)) + number(1, 4);
else
iNormalHitBonus = -2 * iSkillBonus + number(1, 5);
pItem->RemoveAttributeType(APPLY_SKILL_DAMAGE_BONUS);
pItem->RemoveAttributeType(APPLY_NORMAL_HIT_DAMAGE_BONUS);
pItem->AddAttribute(APPLY_NORMAL_HIT_DAMAGE_BONUS, iNormalHitBonus);
pItem->AddAttribute(APPLY_SKILL_DAMAGE_BONUS, iSkillBonus);
}
Link to comment
Share on other sites
Top Posters For This Question
1
Popular Days
Oct 18
1
Top Posters For This Question
csmmrr04 1 post
Popular Days
Oct 18 2015
1 post
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now