Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- checkBreakDefense(mob/user, mob/target, damage=0, attack=NULL){
- if(damage >= (target.currpl * 0.25)){
- if(attack != NULL){
- send("{B*{x Your [attack] smashes through [target.raceColor(target.name)]'s defense!",user)
- send("{R*{x [user.raceColor(user.name)]'s [attack] smashes through your defense!",target)
- send("{W*{x [user.raceColor(user.name)]'s [attack] smashes through [target.raceColor(target.name)]'s defense!",a_oview_extra(0,user,target))
- }
- return TRUE;
- }
- return FALSE;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement