chamster Posted December 26, 2011 Author Share Posted December 26, 2011 I notice that when i make a bow, and set it's Damage to 10( or W/E value) it can only attack that much every time it hits a target. so i went through the codes and fixed it so that the damage depends on how much Agility u have! I'm not sure if it has any bug or anything, but i haven't seen any…**Pre-requirement: Projectile System.**ALL SERVER-SIDE:In ModGameLogic in Public Sub HandleProjecTile, scroll down and look for>! PlayerAttackNpc Index, i, TempPlayer(Index).ProjecTile(PlayerProjectile).Damageand change it to:>! PlayerAttackNpc Index, i, TempPlayer(Index).ProjecTile(PlayerProjectile).Damage * Round((Player(Index).Level * 1.14)) + Round((GetPlayerStat(Index, Stats.Agility) * 0.6))Compile it and your done!!!!! If you find any bug please report it!Self-Modify:>! You can change to amount of damage by changing the numbers (1.14 and 0.6), or u can change the stats that boosts it's Damage (Agility).THANKS TO:>! Thanks to Ryoku Hasu for creating:[EO] Complex Spell Scaling Equation (SERVER ONLY),http://www.touchofdeathforums.com/smf/index.php/topic,69880.msg751696.html#msg751696, because of the spell scaling it help me create this damage scaling.AND:Captain Wabbit for the projectile system..>! Srry if i missed anybody. Link to comment Share on other sites More sharing options...
erkro1 Posted December 26, 2011 Share Posted December 26, 2011 Why isn't Captain Wabbit in the Thanks section? He made the whole projectiles system. :pNice tutorial btw Link to comment Share on other sites More sharing options...
chamster Posted December 27, 2011 Author Share Posted December 27, 2011 @Erwin:> Why isn't Captain Wabbit in the Thanks section? He made the whole projectiles system. :p> > Nice tutorial btwwill add xP Link to comment Share on other sites More sharing options...
nexusrightsi Posted March 11, 2012 Share Posted March 11, 2012 lovely tut ^^ Very usefull though. Link to comment Share on other sites More sharing options...
evilbunnie Posted March 11, 2012 Share Posted March 11, 2012 It's good to see people still using it. Link to comment Share on other sites More sharing options...
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