[ARCEMU] how can i reduce spell costs? menu

Shout-Out

User Tag List

Results 1 to 8 of 8
  1. #1
    controlsx2's Avatar Member
    Reputation
    16
    Join Date
    Jun 2007
    Posts
    223
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [ARCEMU] how can i reduce spell costs?

    I compiled my source yesterday from the latest rev off arcemu, but mage seem to have mana costs much higher than they should

    Cone of Cold costing 11k mana, Fireblast costing 8k

    Seen as i have the source i can make edits but i dont know where to start. Could anyone explain how i could reduce the mage mana costs?

    [ARCEMU] how can i reduce spell costs?
  2. #2
    Kirth's Avatar Active Member
    Reputation
    58
    Join Date
    Nov 2007
    Posts
    274
    Thanks G/R
    2/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This would be edited in the DBC files. You could (with C++ knowledge) edit the core to decrease the amount of mana required to cast. But, beware that this will affect ALL spells!

  3. #3
    controlsx2's Avatar Member
    Reputation
    16
    Join Date
    Jun 2007
    Posts
    223
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How can i edit the DBC files?

  4. #4
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

  5. #5
    controlsx2's Avatar Member
    Reputation
    16
    Join Date
    Jun 2007
    Posts
    223
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks stone, also how would i do it in the core? To reduce all spells, i want to reduce all by around 40%
    Last edited by controlsx2; 05-23-2009 at 12:24 PM.

  6. #6
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Controlsx2 here's a patch for it:

    Code:
    Index: src/arcemu-world/Player.cpp
    ===================================================================
    --- src/arcemu-world/Player.cpp	(revision 2640)
    +++ src/arcemu-world/Player.cpp	(working copy)
    @@ -816,6 +816,10 @@
     	SetUInt32Value(PLAYER_CHARACTER_POINTS2,2);
     	SetFloatValue(UNIT_MOD_CAST_SPEED, 1.0f);
     	SetUInt32Value(PLAYER_FIELD_MAX_LEVEL, sWorld.m_levelCap);
    +	
    +	if( class_ != WARRIOR && class_ != ROGUE && class_ != DEATHKNIGHT )
    +		for(uint32 x=0; x<7; x++)
    +			ModFloatValue(UNIT_FIELD_POWER_COST_MULTIPLIER+x, -0.4f);//40%
     
     	// Gold Starting Amount
     	SetUInt32Value(PLAYER_FIELD_COINAGE, sWorld.GoldStartAmount);
    Reduces spell cost by 40% for all mana using classes.

    edit:
    Patch is for latest arcemu, btw

  7. #7
    controlsx2's Avatar Member
    Reputation
    16
    Join Date
    Jun 2007
    Posts
    223
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How do i do that? just paste it into notepad and save it as .patch then rune it using the tortoise SVN thing?

    as for 40% is that

    ModFloatValue(UNIT_FIELD_POWER_COST_MULTIPLIER+x, -0.4f);//40%
    would -0.3f be 30% and so fourth?

  8. #8
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes 0.3f would be 30%.

    And yeah save it as a .patch and apply it w/ tortoise svn

Similar Threads

  1. [ArcEmu] How can i change the XP for level?
    By Orgtar in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 03-08-2012, 02:38 PM
  2. [ArcEmu] how can i add Jeeves to DB?
    By beasterinc in forum WoW EMU Questions & Requests
    Replies: 7
    Last Post: 03-14-2010, 06:00 PM
  3. How can i fix some spells?
    By damar in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 09-16-2009, 12:45 PM
  4. How can I change the cast animation of a spell?
    By miLl3niUm in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 06-07-2009, 01:52 PM
  5. [Question] How can I get the spectral realm spells working?
    By dude891 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 05-24-2008, 01:18 AM
All times are GMT -5. The time now is 11:27 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search