[Help] AzureShield Bdamage?

04/18/2014 01:18 KevinCOder#1
How do I show the damage blue in AzureShield?
I've tried several ways but none worked
04/18/2014 08:34 GameHackerPM#2
Look! The code that you posted just for active it, and set the time of it! but not to take a damage!
For damage, you have to go to Calculate.cs in "Game/attacking/Calculate.cs" and Add a code like that (Not this code, i just explain it for you, also this code may work) :
Code:
if (attacked.containsflag(Update.Flags.AzureShield)
   {
       Damage = Damage - (uint)attacked.AzureDamage;
       if (Damage < 0)
          Damage = 0;

   }
Just something like that! :D
04/18/2014 09:04 GameHackerPM#3
Quote:
Originally Posted by ~Crystaline View Post
In your Calculate.cs (which handles the attacks and etc), you should add a checker if the player contains the AzureShield then send the reduceDamage.


In your Calculate.cs (which handles the attacks and etc), you should add a checker if the player contains the AzureShield then send the reduceDamage.

I wonder, what did I say?
04/18/2014 09:34 ~Crystaline#4
Quote:
Originally Posted by GameHacker-PM- View Post
I wonder, what did I say?
Didn't saw your reply tho, damn looks like my internet is messing up again. #PostDeleted.
04/18/2014 11:41 GameHackerPM#5
Quote:
Originally Posted by ~Crystaline View Post
Didn't saw your reply tho, damn looks like my internet is messing up again. #PostDeleted.
No problem brother! Sometimes happen :D.
04/18/2014 12:50 abdoumatrix#6
Quote:
Originally Posted by GameHacker-PM- View Post
Look! The code that you posted just for active it, and set the time of it! but not to take a damage!
For damage, you have to go to Calculate.cs in "Game/attacking/Calculate.cs" and Add a code like that (Not this code, i just explain it for you, also this code may work) :
Code:
if (attacked.containsflag(Update.Flags.AzureShield)
   {
       Damage = Damage - (uint)attacked.AzureDamage;
       if (Damage < 0)
          Damage = 0;

   }
Just something like that! :D

are u sure that the blue damage from calculate?? :rolleyes:

it is only calculating the damage and the blue no wont appear
[Only registered and activated users can see links. Click Here To Register...]
04/18/2014 13:08 ~Crystaline#7
Quote:
Originally Posted by abdoumatrix View Post
are u sure that the blue damage from calculate?? :rolleyes:

it is only calculating the damage and the blue no wont appear
[Only registered and activated users can see links. Click Here To Register...]
I don't think that will show the "blue" damage.

04/18/2014 13:44 Wolfy.#8
Shouldn't it be WorldSend instead of just the player?
04/18/2014 13:54 GameHackerPM#9
Quote:
Originally Posted by abdoumatrix View Post
are u sure that the blue damage from calculate?? :rolleyes:

it is only calculating the damage and the blue no wont appear
[Only registered and activated users can see links. Click Here To Register...]
Haha, I think you just tell me "I did it :p" right? XD he didn't ask for this anyway, so that's off-topic! (B2olk eh, magabtsh el taiha ya3ni, mosh 3shan ana fe amt7nat xD sana was5a xD).
04/18/2014 15:34 abdeen#10
Quote:
Originally Posted by GameHacker-PM- View Post
Haha, I think you just tell me "I did it :p" right? XD he didn't ask for this anyway, so that's off-topic! (B2olk eh, magabtsh el taiha ya3ni, mosh 3shan ana fe amt7nat xD sana was5a xD).
he just showing you your mistake or he just correcting you ... try to be nice with others :)

have a good exams ...
04/18/2014 16:14 abdoumatrix#11
Quote:
Originally Posted by GameHacker-PM- View Post
Haha, I think you just tell me "I did it :p" right? XD he didn't ask for this anyway, so that's off-topic! (B2olk eh, magabtsh el taiha ya3ni, mosh 3shan ana fe amt7nat xD sana was5a xD).
he said blue damage
Quote:
Originally Posted by KevinCOder View Post
How do I show the damage blue in AzureShield?
still my reply is :P




Quote:
Originally Posted by abdeen View Post
he just showing you your mistake or he just correcting you ... try to be nice with others :)

have a good exams ...
ty , he is my friend and he kidding with me :D
04/18/2014 17:41 abdeen#12
Quote:
Originally Posted by abdoumatrix View Post
he said blue damage


still my reply is :P






ty , he is my friend and he kidding with me :D
Okay , i hope all is okay ... can you please check your inbox ?
04/18/2014 18:02 GameHackerPM#13
Quote:
Originally Posted by abdoumatrix View Post
he said blue damage
still my reply is :P
Oh.. SOrry,, "Stupid am i?" XD