mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-10-13 08:24:24 -05:00
item parsing not yet working fully
This commit is contained in:
@@ -43,7 +43,7 @@ foreach ($ISCData as $k => $v) {
|
||||
//$filePath = "D:\Diablo II\MODS\MedianXL2012\save\Test.d2s";
|
||||
|
||||
|
||||
$filePath = "Pest.d2s";
|
||||
$filePath = "Sorc.d2s";
|
||||
$char = new D2Char($filePath);
|
||||
|
||||
//$char->setChar("CharacterStatus", "Died", 0);
|
||||
@@ -51,8 +51,8 @@ $char = new D2Char($filePath);
|
||||
//$char->setChar("CharacterStatus", "Expansion", 1);
|
||||
//$char->setChar("LeftmousebuttonskillID", 223);
|
||||
|
||||
//$char->setAllSkills(1);
|
||||
$char->setSkill(4, 99);
|
||||
$char->setAllSkills(1);
|
||||
//$char->setSkill(3, 20);
|
||||
//$char->setChar("CharacterClass", "Necromancer"); // 127
|
||||
//$char->setChar("CharacterProgression", 1); // 0 in normal, 1 finished normal, 2 finished nm, 3 finished hell
|
||||
|
||||
@@ -88,5 +88,5 @@ unset($char); // destroy $char so we can read it again after writing to it to ge
|
||||
|
||||
$char = new D2Char($filePath);
|
||||
|
||||
var_dump($char->cData);
|
||||
var_dump($char->cData['items']);
|
||||
//var_dump($char->cData['stats']);
|
||||
|
Reference in New Issue
Block a user