diff options
author | xazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-25 18:31:34 +0000 |
---|---|---|
committer | xazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-25 18:31:34 +0000 |
commit | 71693d0f15245dd87b243b0feaa2737f9525b8cb (patch) | |
tree | 967ac6d3ab6b9977e0aae594ab9259e6d9635a48 /src/map/elemental.c | |
parent | 11c2d016d40070f1895d88c0eb7bb88079555cfd (diff) | |
download | hercules-71693d0f15245dd87b243b0feaa2737f9525b8cb.tar.gz hercules-71693d0f15245dd87b243b0feaa2737f9525b8cb.tar.bz2 hercules-71693d0f15245dd87b243b0feaa2737f9525b8cb.tar.xz hercules-71693d0f15245dd87b243b0feaa2737f9525b8cb.zip |
* Replaced rand() calls with rnd().
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15975 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/elemental.c')
-rw-r--r-- | src/map/elemental.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/elemental.c b/src/map/elemental.c index a021e8b26..902c598e3 100644 --- a/src/map/elemental.c +++ b/src/map/elemental.c @@ -611,7 +611,7 @@ static int elemental_ai_sub_timer(struct elemental_data *ed, struct map_session_ return 1; } - if( battle_check_range(&ed->bl,target,ed->db->range2) && rand()%100 < 2 ) { // 2% chance to cast attack skill. + if( battle_check_range(&ed->bl,target,ed->db->range2) && rnd()%100 < 2 ) { // 2% chance to cast attack skill. if( elemental_action(ed,target,tick) ) return 1; } |