Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2015
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. //NOTORIETY
  2.  
  3. if (pm_Source != null && pm_Target != null)
  4. + {
  5. + if (pm_Target.AllFollowers.Count > 0)
  6. + {
  7. + //Any of the Player's Other Followers
  8. + foreach (Mobile follower in pm_Target.AllFollowers)
  9. + {
  10. + int notorietyResult = Notoriety.Compute(source, follower);
  11. +
  12. + //Enemy Tamer Adopts Notoriety of Their Creature (Anything other than Innocent)
  13. + if (notorietyResult != 1)
  14. + return notorietyResult;
  15. + }
  16. + }
  17. + }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement