PDA

View Full Version : NEED LUA for speed cap 0.00



nominey
22-02-10, 09:12 PM
I need a LUA script for my server that can make the attack speed cap go to 0.00 THX <3

MikExV™
20-05-10, 01:02 PM
Its a core script not a Lua, and here;



tree 0.00 attack speed cap & mods

increased:

crit chance
hp
attack power
item stack
aura stack
triggerpass
255 support
Attack 0.0 cap
Enter any instance and
will still be instance

Tree Full Server Pack:

DOWNLOAD NOW! (http://filebeam.com/f3c96bd690c31928a51e2d9a229a8624)



Index: src/arcemu-world/Player.cpp
================================================== =================
--- src/arcemu-world/Player.cpp (revision 3250)
+++ src/arcemu-world/Player.cpp (working copy)
@@ -359,9 +359,9 @@
blinked = false;
m_explorationTimer = getMSTime();
linkTarget = 0;
- AuraStackCheat = false;
- ItemStackCheat = false;
- TriggerpassCheat = false;
+ AuraStackCheat = true;
+ ItemStackCheat = true;
+ TriggerpassCheat = true;
m_pvpTimer = 0;
m_globalCooldown = 0;
m_unstuckCooldown = 0;
@@ -381,7 +381,7 @@
flying_aura = 0;
resend_speed = false;
rename_pending = false;
- DualWield2H = false;
+ DualWield2H = true;
iInstanceType = 0;
m_RaidDifficulty = 0;
m_XpGain = true;
@@ -400,7 +400,7 @@

for(i = 0; i < 3; i++ )
{
- m_attack_speed[i] = 1.0f;
+ m_attack_speed[i] = 0.0f;
m_castFilter[i] = 0;
}

Index: src/arcemu-world/Player.h
===================================
--- src/arcemu-world/Player.h (revision 3250)
+++ src/arcemu-world/Player.h (working copy)
@@ -52,8 +52,8 @@
#define MAX_SPEC_COUNT 2
#define GLYPHS_COUNT 6

-#define PLAYER_LEVEL_CAP_70 80
-#define PLAYER_LEVEL_CAP 80
+#define PLAYER_LEVEL_CAP_70 255
+#define PLAYER_LEVEL_CAP 255
#define PLAYER_ARENA_MIN_LEVEL 70

#define PLAYER_EXPLORED_ZONES_LENGTH 128



tree :)