Edit: new hack!
Crit chance
D2 66 CA 02 66 D4 13 66 A9 15 2F 34 24 12 62 06 24 02 A2 A0 A3 A2 75 63 0A
24 XX 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 63 0A
Replace XX with the crit chance you want as a hexadecimal. I suggest 28, which is 40 % crit chance.
[id=howto:21jihzy9]Where I found the hacks and what they do[/id:21jihzy9]
Godmode class: Logic.Creature.MonsterStructure.Action.Attack, function: execute
this.tryHitUser();
(nothing)
Can't miss class: Formular.FormularFacade, function: calcAttackDamage
return [0, false];
(nothing)
Always do max damage class: Formular.FormularFacade, function: calcAttackDamage
loc12 = Utility.Random.random(95, 105) * 0.01;
loc12 = Utility.Random.random(105, 105) * 0.01;
Always do critical damage class: Formular.FormularFacade, function: calcAttackDamage
if ((loc9 = Utility.Random.random(0, 100)) < loc6)
if ((loc9 = Utility.Random.random(0, 0)) < loc6)
Damage hack (limited) class: Logic.Function.Creature.HitMonster, function: execute
loc4.setNumber(this.damage[0], this.damage[1]);
loc4.setNumber(XX, this.damage[1]);
this.m_TargetMonster.property.takeDamage(this.damage[0]);
this.m_TargetMonster.property.takeDamage(XX);
Crit chance class: Formular.FormularFacade, function: calcAttackDamage
loc6 = arg2.property.stats.cri * 0.12 / (18 + loc2 * 2);
loc6 = XX;
Speed hack class: Logic.Creature.UserStructure.Action.MoveToTargetPosition
Some of this code (I'm not sure how much):
loc11 = MapSystem.MapFacade.instance.getSameIndexFoothold(loc8.x, loc11, this.m_Creature.position.y);
loc12 = loc8.x;
loc13 = 0;
if (loc11 != null)
{
loc13 = int(loc11.yValueDic[loc12]);
this.m_Creature.setPosition(loc8.x, loc13);
continue;
}
if (true != MapSystem.MapFacade.instance.intersect(loc8.x, loc8.y - MapSystem.MapFacade.instance.kMoveIntersect))
{
continue;
}
this.m_Creature.setPosition(loc8.x, MapSystem.MapFacade.instance.intersectPoint.y);
Into:
this.m_Creature.setPosition(loc9.x, loc9.y);
Auto pick up collection items
Logic.FieldDropCollectionStructure.FieldDropCollection -> Function Update
if (m_ActionManager.action != null)
{
m_ActionManager.action.execute(param1);
if (this.m_isAutoPickup)
{
this.m_AutopickupDelay = this.m_AutopickupDelay - param1;
if (this.m_AutopickupDelay <= 0)
{
this.m_isAutoPickup = false;
if (m_ActionManager != null)
{
m_ActionManager.setAction(FieldDropCollectionActionType.PICKUP);
}
}
}
}
Change if (this.m_isAutoPickup) to if not
Logic.FieldDropCollectionStructure.FieldDropCollection.Action.Pickup -> Function execute
if (_loc_2 < 30 * 30)
{
this.m_Creature.deleted = true;
this.m_Creature.position.x = 0;
this.m_Creature.position.y = 0;
LogicFacade.instance.getCreatureContainer.remove(this.m_Creature);
WebClient.instance.requestItemPickup(this.m_Creature.item.FieldDropIndex);
return;
}
Increase the range pickup from 30 *30 to 127 * 127
Done :mrgreen:
Note: This code can apply to FileDropItemBagStructure, but if you have the pet, you can increase the range get item of pet. I think i work fine and no need to change many AOB like that ^^